List of server commands: Difference between revisions

From Vintage Story Wiki
added the new map info
No edit summary
(added the new map info)
 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate><!--T:48--> 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 [[coordinates]], so make sure you use the right notation.</translate>
<translate><!--T:48--> 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.</translate>


{{GameVersion|1.15}}
{{GameVersion|1.15}}


{{tnt|Protip
{{Protip
|<translate><!--T:50-->
|<translate><!--T:50-->
1. Server commands all start with /
1. Server commands all start with /
Line 16: Line 16:
</translate>
</translate>
=== /land ===  
=== /land ===  
Commands for [[Land_claiming|Land Claiming]]
<translate><!--T:117--> Commands for {{ll|Land_claiming|Land Claiming}}</translate>
{{:List of server commands/land{{#translation:}}}}
{{:List of server commands/land{{#translation:}}}}


Line 23: Line 23:


=== /waypoint ===   
=== /waypoint ===   
<translate><!--T:51--> These commands affect the players [[Worldmap]] and waypoints.</translate>
<translate><!--T:51--> These commands affect the players {{ll|Worldmap|Worldmap}} and waypoints.</translate>
* <code>/waypoint [add|addat|addati|list|remove]</code><br /> <translate><!--T:52--> Add and edit your list of waypoints.</translate>
* <code>/waypoint [add|addat|addati|list|remove]</code><br /> <translate><!--T:52--> Add and edit your list of waypoints.</translate>
** <code>/waypoint add [color] [title]</code><br /> <translate><!--T:53--> 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></translate>   
** <code>/waypoint add [color] [title]</code><br /> <translate><!--T:53--> 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></translate>   
** <code>/waypoint addat [coords] [pinned] [color] [title]</code><br /> <translate><!--T:54--> Add a waypoint at the given [[coordinates]].</translate>
** <code>/waypoint addat [coords] [pinned] [color] [title]</code><br /> <translate><!--T:54--> Add a waypoint at the given {{ll|coordinates|coordinates}}.</translate>
** <code>/waypoint addati [icon] [x] [y] [z] [pinned] [color] [title]</code><br /> <translate><!--T:55--> Add a waypoint at your current location, including colour and [[VTML|icon]] info.</translate>
** <code>/waypoint addati [icon] [x] [y] [z] [pinned] [color] [title]</code><br /> <translate><!--T:55--> Add a waypoint at your current location, including colour and {{ll|VTML|icon}} info.</translate>
** <code>/waypoint list</code><br /> <translate><!--T:56--> Shows a list of all player waypoints by id number.</translate>
** <code>/waypoint list</code><br /> <translate><!--T:56--> Shows a list of all player waypoints by id number.</translate>
** <code>/waypoint remove [id]</code><br /> <translate><!--T:57--> Removes the waypoint id as shown in <code>/waypoint list</code>.</translate>
** <code>/waypoint remove [id]</code><br /> <translate><!--T:57--> Removes the waypoint id as shown in <code>/waypoint list</code>.</translate>
Line 46: Line 46:


=== /giveblock ===
=== /giveblock ===
* <code>/giveblock [blockcode] [quantity] [toplayername] [attributes]</code><br /> <translate><!--T:61--> 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. If attributes are specified, they must be written in the same format as in a JSON file (note: spacing is optional in JSONs and it will be easier to omit spaces here)</translate>
* <code>/giveblock [blockcode][{attributes}] [quantity] [toplayername]</code><br /> <translate><!--T:61--> 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></translate>


=== /giveitem ===  
=== /giveitem ===  
Line 52: Line 52:


=== /gamemode ===
=== /gamemode ===
{{:List of server commands/gamemode}}
{{:List of server commands/gamemode{{#translation:}}}}
=== /gm ===
=== /gm ===
<translate><!--T:106--> Shorthand of <code>/gamemode</code></translate>
<translate><!--T:106--> Shorthand of <code>/gamemode</code></translate>


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


=== /ban ===
=== /ban ===
Line 80: Line 80:


=== /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:}}}}


<translate>== World Control == <!--T:105--></translate>
<translate>== World Control == <!--T:105--></translate>
=== /worldconfig ===
=== /worldconfig ===
<translate>Protip: Do not actually type the [ ] shown in this command syntax, that is intended only to show which values can be changed!
<translate><!--T:107-->
Protip: Do not actually type the [ ] shown in this command syntax, that is intended only to show which values can be changed!


See dedicated page on [[World Configuration]]</translate>
<!--T:108-->
See dedicated page on {{ll|World Configuration|World Configuration}}</translate>
 
==== World map ====
 
All of the following work<ref>Tested 15 Mar 2024 in version 1.19.4</ref> in a singleplayer world to restore the parchment-style map to the classic colorful map:
* <code>/worldconfig colorAccurateWorldmap true</code>
* <code>/worldconfigcreate bool colorAccurateWorldmap true</code>
* <code>/player [playername] privilege grant colorAccurateWorldmap</code>
 
In a multiplayer world, the following restores the classic map for an individual:
* <code>/player [playername] privilege grant colorAccurateWorldmap</code>
while the following restores the classic map for all players:
* <code>/worldconfig colorAccurateWorldmap true</code>
* <code>/worldconfigcreate bool colorAccurateWorldmap true</code>
(needs confirmation)


=== /entity ===
=== /entity ===
Line 95: Line 111:


=== /time ===  
=== /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:}}}}
{{:List of server commands/time{{#translation:}}}}


Line 112: Line 134:
=== /stop ===
=== /stop ===
* <code>/stop</code><br /> <translate><!--T:73--> Stops the server.</translate>
* <code>/stop</code><br /> <translate><!--T:73--> Stops the server.</translate>
=== /autosavenow===
* <code>/autosavenow</code><br /> <translate> <!--T:118--> Autosaves the server.</translate>


=== /list ===  
=== /list ===  
Line 126: Line 151:
=== /moddb ===
=== /moddb ===
{{GameVersion|1.18.0-pre.7}}
{{GameVersion|1.18.0-pre.7}}
*<code>/moddb [install|remove|list|search|searchcompatible|searchfor|searchforc]</code><br /> <translate>ModDB utility. To install and remove mods.</translate>
*<code>/moddb [install|remove|list|search|searchcompatible|searchfor|searchforc]</code><br /> <translate><!--T:109--> ModDB utility. To install and remove mods.</translate>
**<code>/moddb install [modid] [gameVersion]</code> : <translate>Install the specified mod.</translate>
**<code>/moddb install [modid] [gameVersion]</code> : <translate><!--T:110--> Install the specified mod.</translate>
**<code>/moddb remove [modid]</code> : <translate>Uninstall the specified mod.</translate>
**<code>/moddb remove [modid]</code> : <translate><!--T:111--> Uninstall the specified mod.</translate>
**<code>/moddb list</code> : <translate>List all installed mods.</translate>
**<code>/moddb list</code> : <translate><!--T:112--> List all installed mods.</translate>
**<code>/moddb search [query]</code> : <translate>Full-text search on ModDB.</translate>
**<code>/moddb search [query]</code> : <translate><!--T:113--> Full-text search on ModDB.</translate>
**<code>/moddb searchcompatible [modid]</code> : <translate>Search for a mod, filtered for game versions compatible with the current version.</translate>
**<code>/moddb searchcompatible [modid]</code> : <translate><!--T:114--> Search for a mod, filtered for game versions compatible with the current version.</translate>
**<code>/moddb searchfor [gameVersion] [modid]</code> : <translate>Search for a mod, filtered for the specified game version only.</translate>
**<code>/moddb searchfor [gameVersion] [modid]</code> : <translate><!--T:115--> Search for a mod, filtered for the specified game version only.</translate>
**<code>/moddb searchforc [gameVersion] [modid]</code> : <translate>Search for a mod, filtered for game versions compatible with the specified version.</translate>
**<code>/moddb searchforc [gameVersion] [modid]</code> : <translate><!--T:116--> Search for a mod, filtered for game versions compatible with the specified version.</translate>


=== /fixmapping ===
=== /fixmapping ===
Line 155: Line 180:


=== /roomregdebug ===
=== /roomregdebug ===
Removed and replaced with <code>/debug room</code> as of version 1.19. These commands are kept for archival purposes.
* <code>/roomregdebug [list|hi|unhi]</code><br /> <translate><!--T:96--> Room registration debug tools.</translate>
* <code>/roomregdebug [list|hi|unhi]</code><br /> <translate><!--T:96--> Room registration debug tools.</translate>
** <code>/roomregdebug list</code><br /> <translate> <!--T:97--> Lists all rooms the player is in.</translate>
** <code>/roomregdebug list</code><br /> <translate> <!--T:97--> Lists all rooms the player is in.</translate>
Line 172: Line 199:
<translate>
<translate>
<!--T:100-->
<!--T:100-->
See [[How_to_use_WorldEdit|How to use WorldEdit]]
See {{ll|How_to_use_WorldEdit|How to use WorldEdit}}
</translate>
</translate>
=== /macro ===  
=== /macro ===  
Line 182: Line 209:


<!--T:103-->
<!--T:103-->
* [[List of client commands]]
* {{ll|List of client commands|List of client commands}}
* [[World Configuration]]
* {{ll|World Configuration|World Configuration}}
</translate>
</translate>
{{Game navbox}}
{{Navbox/modding}}
{{Navbox/modding}}
Confirmedusers, editor
1,052

edits