List of server commands/en: Difference between revisions

From Vintage Story Wiki
Updating to match new version of source page
(Updating to match new version of source page)
Tags: Mobile edit Mobile web edit
(Updating to match new version of source page)
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
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.
This is a list of commands that are executed on the server and therefore list/change things that may affect all players. Some of these commands may need {{ll|coordinates|coordinates}}, so make sure you use the right notation.


See also: [[List of client commands]]
{{GameVersion|1.15}}


{{Protip
{{Protip
|Server commands all start with a /
|1. Server commands all start with /
2. Do not type the [ and ] in the command syntax e.g. the correct command is  /time set 12  not  /time set [12]
3. After a change of server settings, the world needs to be restarted for the changes to take effect.
}}
}}


__TOC__
__TOC__
== Multiplayer Commands for Players ==  
== Multiplayer Commands for Players ==  
=== /land ===  
=== /land ===  
{{:List of server commands/land}}
Commands for {{ll|Land_claiming|Land Claiming}}
{{:List of server commands/land{{#translation:}}}}


=== /groups ===   
=== /group ===   
{{:List of server commands/group}}
{{:List of server commands/group{{#translation:}}}}


=== /waypoint ===   
=== /waypoint ===   
These commands affect the players [[Worldmap]] and waypoints.
These commands affect the players {{ll|Worldmap|Worldmap}} and waypoints.
* <code>/waypoint [add|addat|list|remove]</code><br /> Add and edit your list of waypoints.
* <code>/waypoint [add|addat|addati|list|remove]</code><br /> Add and edit your list of waypoints.
** <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 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].<br /> Example: <code>/waypoint add red copper</code> 
** <code>/waypoint addat [coords] [pinned] [color] [title]</code><br /> Add a waypoint at the given [[coordinates]].
** <code>/waypoint addat [coords] [pinned] [color] [title]</code><br /> Add a waypoint at the given {{ll|coordinates|coordinates}}.
** <code>/waypoint addati [icon] ~0 ~0 ~0 [pinned] [colour] [title]</code><br /> Add a waypoint at your current location, including colour and icon info.
** <code>/waypoint addati [icon] [x] [y] [z] [pinned] [color] [title]</code><br /> Add a waypoint at your current location, including colour and {{ll|VTML|icon}} info.
** <code>/waypoint list</code><br /> Shows a list of all player waypoints by id number.
** <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>.
** <code>/waypoint remove [id]</code><br /> Removes the waypoint id as shown in <code>/waypoint list</code>.
Line 28: Line 30:
=== /kill ===
=== /kill ===
* <code>/kill</code><br /> Kills the player.
* <code>/kill</code><br /> Kills the player.
=== /emote ===
* <code>/emote [wave|cheer|shrug|cry|nod|facepalm|bow|laugh|rage] </code><br />Character does an emote animation.
=== /pm ===
* <code>/pm [playername] [message] </code><br />Send a private message to a user (creates a temporary group)


== Commands for Moderators and Admins ==
== Commands for Moderators and Admins ==
Line 34: Line 43:


=== /giveblock ===
=== /giveblock ===
* <code>/giveblock [blockcode] [quantity] [toplayername]</code><br /> 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.
* <code>/giveblock [blockcode][{attributes}] [quantity] [toplayername]</code><br /> Creates an itemstack of the specified block in the specified quantity, and gives it to the specified player. The player must have an empty inventory slot to receive the itemstack. Quantity, toplayername and attributes are optional. The default quantity is 1. If player name is not set, the command user's own player is targeted. Attributes may optionally be supplied in curly braces after the blockcode without a space between the block name and the braces. The attributes should be given in JSON format. Example: <code>/giveblock clutter{type: "barrel-metal1"}</code>


=== /giveitem ===  
=== /giveitem ===  
* <code>/giveitem [itemcode] [quantity] [toplayername]</code><br /> Same as above but for items.
* <code>/giveitem [itemcode] [quantity] [toplayername] [attributes]</code><br /> Same as above but for items.


=== /gamemode ===
=== /gamemode ===
{{:List of server commands/gamemode}}
{{:List of server commands/gamemode{{#translation:}}}}
=== /gm ===
Shorthand of <code>/gamemode</code>


=== /tp ===
=== /tp ===
{{:List of server commands/tp}}
{{:List of server commands/tp{{#translation:}}}}


=== /ban ===
=== /ban ===
* <code>/ban [reason]</code><br /> Ban a player.
* <code>/ban [playername] [reason]</code><br /> Ban a player.


=== /unban ===
=== /unban ===
Line 52: Line 63:


=== /kick ===
=== /kick ===
* <code>/kick [reason]</code><br /> Kick a player.
* <code>/kick [playername] [reason]</code><br /> Kick a player.


=== /clear ===
=== /clear ===
* <code>/clear</code><br /> Removes all items from your inventory.
* <code>/clearinv</code><br /> Removes all items from your inventory.
 
=== /nexttempstorm ===
* <code>/nexttempstorm </code><br /> Tells you the amount of days left until the next temporal storm.
* <code>/nexttempstorm now</code><br /> Fast forwards the time so that a temporal storm starts right away.


== Privilege Control ==
== Privilege Control ==
Line 62: Line 77:


=== /role ===  
=== /role ===  
{{:List of server commands/role}}
{{:List of server commands/role{{#translation:}}}}


=== /player ===  
=== /player ===  
{{:List of server commands/player}}
{{:List of server commands/player{{#translation:}}}}


== World Control ==
== World Control ==
=== /seed ===
=== /worldconfig ===
* <code>/seed</code><br /> Shows the world seed
Protip: Do not actually type the [ ] shown in this command syntax, that is intended only to show which values can be changed!


=== /worldconfig ===
See dedicated page on {{ll|World Configuration|World Configuration}}
{{:List of server commands/worldconfig}}


=== /entity ===
=== /entity ===
{{:List of server commands/entity}}
{{:List of server commands/entity{{#translation:}}}}


=== /time ===  
=== /time ===  
{{:List of server commands/time}}
 
{{Messagebox
|title= Warning
|text= Using commands to modify time frequently has unwanted side effects.  To avoid losing a world, test time commands in a ''separate'' world, and/or create a ''backup''.
}}
 
{{:List of server commands/time{{#translation:}}}}


=== /weather ===
=== /weather ===
{{:List of server commands/weather}}
{{:List of server commands/weather{{#translation:}}}}


== Server control and configuration ==
== Server control and configuration ==
=== /serverconfig ===
=== /serverconfig ===
{{:List of server commands/serverconfig}}
{{:List of server commands/serverconfig{{#translation:}}}}


=== /stats ===
=== /stats ===
Line 91: Line 111:


=== /announce ===
=== /announce ===
* <code>/announce</code><br /> Announce a server wide message in all chat groups.
* <code>/announce [message]</code><br /> Announce a server wide message in all chat groups.
 
=== /welcome ===
* <code>/welcome</code><br /> Sets the server's welcome message.


=== /stop ===
=== /stop ===
* <code>/stop</code><br /> Stops the server.
* <code>/stop</code><br /> Stops the server.
=== /autosavenow===
* <code>/autosavenow</code><br />  Autosaves the server.


=== /list ===  
=== /list ===  
Line 105: Line 125:
**<code>/list role</code><br /> Show list of all configured privilege roles.
**<code>/list role</code><br /> Show list of all configured privilege roles.
**<code>/list privileges</code><br /> Show list of all configured privileges.
**<code>/list privileges</code><br /> Show list of all configured privileges.
=== /allowlan ===
* <code>/allowlan [on|off]</code><br /> Whether or not to allow external lan connections to the server (temporary runtime setting for non dedicated servers)


== Utility and Debug Tools ==
== Utility and Debug Tools ==
=== /moddb ===
{{GameVersion|1.18.0-pre.7}}
*<code>/moddb [install|remove|list|search|searchcompatible|searchfor|searchforc]</code><br /> ModDB utility. To install and remove mods.
**<code>/moddb install [modid] [gameVersion]</code> : Install the specified mod.
**<code>/moddb remove [modid]</code> : Uninstall the specified mod.
**<code>/moddb list</code> : List all installed mods.
**<code>/moddb search [query]</code> : Full-text search on ModDB.
**<code>/moddb searchcompatible [modid]</code> : Search for a mod, filtered for game versions compatible with the current version.
**<code>/moddb searchfor [gameVersion] [modid]</code> : Search for a mod, filtered for the specified game version only.
**<code>/moddb searchforc [gameVersion] [modid]</code> : Search for a mod, filtered for game versions compatible with the specified version.
=== /fixmapping ===
=== /fixmapping ===
* <code>/fixmapping applyall</code><br /> Applies block and item remapping in order to upgrade to a new version of the game
* <code>/fixmapping applyall</code><br /> Applies block and item remapping in order to upgrade to a new version of the game


=== /genbackup ===
=== /genbackup ===
* <code>/genbackup</code><br /> Creates a full copy of the current save game and stores it in the backups folder. Can be run without pausing the server.
* <code>/genbackup [filename]</code><br /> Creates a full copy of the current save game and stores it in the backups folder. Can be run without pausing the server. If no filename is supplied, it will generate one based on the current date and time


=== /bir ===  
=== /bir ===  
* <code>/bir [getid|getcode|remap]</code><br /> Block id remapper tools. Useful to fix broken blocks after removing/updating custom blocks.
* <code>/bir [getid|getcode|remap]</code><br /> Block id remapper tools. Useful to fix broken blocks after removing/updating custom blocks.


=== /forceloadchunks ===  
=== /chunk ===  
* <code>/forceloadchunks x1 z1 x2 z2 [sendtoclient]</code><br /> Tells the server to load given area and prevents unloading. If the Boolean <code>sendtoclient</code> is added it will also forcefully send all these chunks to the client.
* <code>/chunk [cit|printmap|unload|forceload]</code><br /> Chunk commands.
* <code>/chunk cit</code><br /> Current chunk generation info.
* <code>/chunk printmap</code><br /> Export a png file of a map of loaded chunks. Marks call location with a yellow pixel.
* <code>/chunk unload [0|1]</code><br />  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.
* <code>/chunk forceload x1 z1 x2 z2</code><br /> Tells the server to load given area and prevents unloading.


=== /sendchunks ===  
=== /whenwillitstopraining ===
* <code>/sendchunks [0|1]</code><br /> Toggles whether to send any new chunks to the client. Forced chunks are still loaded.
* <code>/whenwillitstopraining</code><br /> Tells when the rain should stop.


=== /chunkunload ===
=== /roomregdebug ===
* <code>/chunkunload [0|1]</code><br /> 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.
Removed and replaced with <code>/debug room</code> as of version 1.19. These commands are kept for archival purposes.


=== /reloadmods ===
* <code>/roomregdebug [list|hi|unhi]</code><br /> Room registration debug tools.
* <code>/reloadmods</code><br /> Reloads all server mods that support reloading.
** <code>/roomregdebug list</code><br /> Lists all rooms the player is in.
** <code>/roomregdebug hi </code><br />  Highlights the space of rooms with color. Unsuitable rooms are in red, eligible rooms are in green.
** <code>/roomregdebug unhi </code><br />  Removes room highlighting.


=== /cit ===
=== /info ===
* <code>/cit</code><br /> Current chunk generation info.
{{:List of server commands/info{{#translation:}}}}


=== /debug ===
=== /debug ===
{{:List of server commands/debug}}
{{:List of server commands/debug{{#translation:}}}}


=== /wgen ===  
=== /wgen ===  
{{:List of server commands/wgen}}
{{:List of server commands/wgen{{#translation:}}}}


=== /we ===
See {{ll|How_to_use_WorldEdit|How to use WorldEdit}}
=== /macro ===  
=== /macro ===  
{{:List of server commands/macro}}
{{:List of server commands/macro{{#translation:}}}}
 
== See also ==
 
 
* {{ll|List of client commands|List of client commands}}
* {{ll|World Configuration|World Configuration}}
{{Navbox/modding}}
43,146

edits