List of server commands: Difference between revisions

From Vintage Story Wiki
No edit summary
m (reformat header, typos, and waypoint command info.)
Line 1: Line 1:
<translate>
<translate>
<!--T:1-->
This is a list of commands that are executed on the server and therefor list/change things that may affect all players. Some of these commands may need [[coordinates]], so make sure you use the right notation.
{{Protip
|Server commands all start with a /
}}
__TOC__
__TOC__
= Overview =
This is a list of commands that are executed on the server and therefor list/change things that may affect all players. Some of these commands may need [[coordinates]], so make sure you use the right notation.
== Multiplayer Commands for Players == <!--T:2-->
== Multiplayer Commands for Players == <!--T:2-->


Line 15: Line 15:
=== Worldmap === <!--T:5-->
=== Worldmap === <!--T:5-->
These commands affect the players [[Worldmap]] and waypoints.
These commands affect the players [[Worldmap]] and waypoints.
 
* <code>/waypoint [add|addat|list|remove]</code><br />Add and edit your list of waypoints.
* <code>/waypoint add [waypointcolor] [title]</code> Adds a waypoint with given color and text at your current position. The color may be any named [http://www.99colors.net/dot-net-colors .NET Color or a Hex Code]
** <code>/waypoint add [color] [title]</code><br />Adds a waypoint with given color and text at your current position. The color may be any named [http://www.99colors.net/dot-net-colors .NET Color or a Hex Code].
* <code>/waypoint list</code> Shows a list of all player waypoints
** <code>/waypoint addat [coords] [pinned] [color] [title]</code><br />Add a waypoint at the given [[coordinates]].
* <code>/waypoint remove [num]</code> Removes a waypoint num as shown in /waypoint list
** <code>/waypoint list</code><br />Shows a list of all player waypoints by id number.
** <code>/waypoint remove [id]</code><br />Removes the waypoint id as shown in <code>/waypoint list</code>.


=== Other === <!--T:6-->
=== Other === <!--T:6-->
Line 44: Line 45:


==Privilege Control==
==Privilege Control==
*<code>/op [playername]</code> Alias <code>/player [playername] role admin</code>
*<code>/op [playername]</code> Alias of <code>/player [playername] role admin</code>


[[List of server commands/role]]
[[List of server commands/role]]
Line 67: Line 68:


==Server control and configuration== <!--T:12-->
==Server control and configuration== <!--T:12-->
*<code>/stats</code><br /> Show current server statistics ,tick rate, memory usage, etc..
*<code>/stats</code><br /> Show current server statistics, tick rate, memory usage, etc..


*<code>/announce</code><br /> Announce a server wide message in all chat groups.
*<code>/announce</code><br /> Announce a server wide message in all chat groups.


*<code>/welcome</code><br />Sets the server's welcome message
*<code>/welcome</code><br />Sets the server's welcome message.


*<code>/stop</code><br />Stops the server
*<code>/stop</code><br />Stops the server.


*<code>/list [clients|banned|role|privileges]</code><br />Show various lists of infos
*<code>/list [clients|banned|role|privileges]</code><br />Show various lists of infos.
**<code>/list clients</code><br /> Show current connected clients</li>
**<code>/list clients</code><br /> Show current connected clients.
**<code>/list banned</code><br /> Show current list of banned blayers</li>
**<code>/list banned</code><br /> Show current list of banned players.
**<code>/list role</code><br /> Show list of all configured privilege roles</li>
**<code>/list role</code><br /> Show list of all configured privilege roles.
**<code>/list privileges</code><br /> Show list of all configured privileges</li>
**<code>/list privileges</code><br /> Show list of all configured privileges.


[[List of server commands/serverconfig]]
[[List of server commands/serverconfig]]
Line 94: Line 95:
*<code>/reloadmods</code><br />Reloads all server mods that support reloading.
*<code>/reloadmods</code><br />Reloads all server mods that support reloading.


*<code>/cit</code><br /> Current chunk generation info
*<code>/cit</code><br /> Current chunk generation info.


[[List of server commands/debug]]
[[List of server commands/debug]]

Revision as of 14:56, 7 May 2020

This is a list of commands that are executed on the server and therefor list/change things that may affect all players. Some of these commands may need coordinates, so make sure you use the right notation.

Protip:
Server commands all start with a /

Multiplayer Commands for Players

Land claiming

List of server commands/land

Groups

List of server commands/group

Worldmap

These commands affect the players Worldmap and waypoints.

  • /waypoint [add|addat|list|remove]
    Add and edit your list of waypoints.
    • /waypoint add [color] [title]
      Adds a waypoint with given color and text at your current position. The color may be any named .NET Color or a Hex Code.
    • /waypoint addat [coords] [pinned] [color] [title]
      Add a waypoint at the given coordinates.
    • /waypoint list
      Shows a list of all player waypoints by id number.
    • /waypoint remove [id]
      Removes the waypoint id as shown in /waypoint list.

Other

  • /kill
    Kills the player.

Commands for Moderators and Admins

  • /help
    List all commands.

Player Control

  • /giveblock [blockcode] [quantity] [toplayername]
    Creates an itemstack of given block with given stack size to given player name. If player name is not set, the own player is targeted.
  • /giveitem [itemcode] [quantity] [toplayername]
    Same as above but for items

List of server commands/gamemode

List of server commands/tp

  • /ban [reason]
    Ban a player.
  • /unban [playername]
    Unban a player.
  • /kick [reason]
    Kick a player.
  • /clear
    Removes all items from your inventory.

Privilege Control

  • /op [playername] Alias of /player [playername] role admin

List of server commands/role

List of server commands/player

World Control

  • /seed
    Shows the world seed

World Config

List of server commands/worldconfig

Entities

List of server commands/entity

Time

List of server commands/time

Weather

List of server commands/weather

Server control and configuration

  • /stats
    Show current server statistics, tick rate, memory usage, etc..
  • /announce
    Announce a server wide message in all chat groups.
  • /welcome
    Sets the server's welcome message.
  • /stop
    Stops the server.
  • /list [clients|banned|role|privileges]
    Show various lists of infos.
    • /list clients
      Show current connected clients.
    • /list banned
      Show current list of banned players.
    • /list role
      Show list of all configured privilege roles.
    • /list privileges
      Show list of all configured privileges.

List of server commands/serverconfig

Utility and Debug Tools

  • /bir [getid|getcode|remap]
    Block id remapper tools. Useful to fix broken blocks after removing/updating custom blocks.
  • /forceloadchunks x1 z1 x2 z2 [sendtoclient]
    Tells the server to load given area and prevents unloading. If the boolean sendtoclient is added it will also forcefully send all these chunks to the client.
  • /sendchunks [0|1]
    Toggles whether to send any new chunks to the client. Forced chunks are still loaded.
  • /chunkunload [0|1]
    Toggles whether the server should automatically unload chunks that are no longer in range of any players and also send chunk unload commands to the clients.
  • /reloadmods
    Reloads all server mods that support reloading.
  • /cit
    Current chunk generation info.

List of server commands/debug

List of server commands/wgen

List of server commands/macro