List of server commands: Difference between revisions

From Vintage Story Wiki
(Marked this version for translation)
m (reformat header, typos, and waypoint command info.)
(12 intermediate revisions by 3 users not shown)
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__
== Multiplayer Commands for Players == <!--T:2-->
== Multiplayer Commands for Players == <!--T:2-->


=== Land claiming === <!--T:3-->
=== Land claiming === <!--T:3-->
* <code>/land[claim|free|info|list]</code><br />Claim an area of the world where only you can build or use blocks in.
[[List of server commands/land]]
* <code>/land list</code><br />Displays a list of the claims that you made so far, you can use displayed index number to modify it, see below.
* <code>/land info</code><br />Display information on the claimant of the current position, if there is any.
* <code>/land free [index]</code><br />Deletes a claim of yours.
* <code>/land claim [load|new|grant|revoke|gn|ge|gs|gw|gu|gd|start|end|add|plevel|fullheight|save|cancel]</code><br />Create or modify an existing claim.
** <code>/land claim load [0..999]</code><br />Load an existing claim for modifying. Use index number as shown in /land list to select which claim.
** <code>/land claim new</code><br />Create a new claim, also marks the start position.
** <code>/land claim grant [playername] [use|all]</code><br />Grant given player access to your claim. 'use' for only use/interact rights, 'all' for use and place/break block rights.
** <code>/land claim revoke [playername]</code><br />Revoke a previously granted privilege to given player on your claim.
** <code>/land claim grantgroup [groupname] [use|all]</code><br />Grant given player group access to your claim. 'use' for only use/interact rights, 'all' for use and place/break block rights.
** <code>/land claim revokegroup [groupname]</code><br />Revoke a previously granted privilege to given player group on your claim.
** <code>/land claim allowuseeveryone [true|false]</code><br />Grant or Revoke use access to all players
** <code>/land claim start</code><br />Mark a start position for a cuboidal area to be claimed.
** <code>/land claim end</code><br />Mark an end position for a cuboidal area to be claimed.
** <code>/land claim [gn|ge|gs|gw|gu|gd]</code> <code>[-99..99]</code><br />Grow the currently selected cuboid towards north/east/south/west/up/down by given length. If no length is supplied then the selection is grown by 1 block.
** <code>/land claim [sn|se|ss|sw|su|sd]</code> <code>[-99..99]</code><br />Shrink the currently selected cuboid towards north/east/south/west/up/down by given length. If no length is supplied then the selection is shrunk by 1 block.
** <code>/land claim add</code><br />Adds the currently selected cuboid to the currently edited claim. A claim may exist of multiple cuboids, as long as they are adjacent to eachother.
** <code>/land claim fullheight</code><br />Vertically grow the currently selected cuboid to encompass the full height from world bottom to world top. Note that with default settings this is not possible because players cannot claim that many chunks.
** <code>/land claim save [description]</code><br />Save current claim modifications and stop editing the current claim.
** <code>/land claim cancel</code><br />Discard all modifications to this claim.


=== Groups === <!--T:4-->
=== Groups === <!--T:4-->
* <code>/group [create|disband|rename|invite|acceptinvite|leave|list|kick|op|deop]</code><br />Create/manage or destrory a player group. Player groups currently only serve the function of offering a seperate channel to chat in in addition to granting access to claimed areas.
[[List of server commands/group]]
** <code>/group create [groupname]</code><br/>Creates a new player group, own chat channel. While in the this group's chat channel:
 
** <code>/group invite [playername]</code><br/>Invites a player to this group
=== Worldmap === <!--T:5-->
** <code>/group acceptinvite [groupname]</code><br />Accept an invite to join the group
These commands affect the players [[Worldmap]] and waypoints.
** <code>/group leave</code>Leaves this player group.
* <code>/waypoint [add|addat|list|remove]</code><br />Add and edit your list of waypoints.
** <code>/group list</code><br />Lists all groups you are currently in.
** <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>/group rename newgroupname</code><br />Renames the group.
** <code>/waypoint addat [coords] [pinned] [color] [title]</code><br />Add a waypoint at the given [[coordinates]].
** <code>/group kick [playername]</code><br />Removes a player from the group.
** <code>/waypoint list</code><br />Shows a list of all player waypoints by id number.
** <code>/group op [playername]</code><br />Grants operator status to this player, which allows them to invite other players.
** <code>/waypoint remove [id]</code><br />Removes the waypoint id as shown in <code>/waypoint list</code>.
** <code>/group deop [playername]</code><br />Revokes operator status from this player.
** <code>/group disband</code><br />Destroy a player group. Must be owner to perform this command.


=== Other === <!--T:5-->
=== Other === <!--T:6-->
* <code>/kill</code><br />Kills the player.
* <code>/kill</code><br />Kills the player.


== Commands for Moderators and Admins== <!--T:6-->
== Commands for Moderators and Admins== <!--T:6-->
=== General ===
* <code>/help</code><br />List all commands.
* <code>/help</code><br />List all commands.
=== Player Control ===
=== Player Control ===
* <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] [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>/giveitem [itemcode] [quantity] [toplayername]</code><br />Same as above but for items
* <code>/giveitem [itemcode] [quantity] [toplayername]</code><br />Same as above but for items
* <code>/gamemode [0..4|guest|survival|creative|spectator]</code><br />Mode names can be shortened to any length. Sets your game mode:
 
** <code>0|guest</code> Guest mode - Cannot place/remove any blocks but can interact with them
[[List of server commands/gamemode]]
** <code>1|survival</code> Survival mode - Can slowly break/place blocks. Can die. Cannot fly. Survival inventory.
 
** <code>2|creative</code> Creative mode - Access to all blocks through the creative inventory. Instant block breaking. Cannot die. Can fly.
[[List of server commands/tp]]
** <code>3|spectator</code> Spectator mode - Cannot place/remove blocks and cannot interact with anything, but can fly.
 
* <code>/gamemode [playername] [0..4]</code><br />Sets the gamemode for given player.
* <code>/tp [coordinates]</code><br />Teleport yourself to a different position.
** <code>/tp x y z</code><br />Teleports the player to given pretty coordinate visible from the pretty coordinate box.
** <code>/tp =x =y =z</code><br />Teleports the player to given absolute coordinate visible from the debug screen on ALT + F3.
** <code>/tp ~x ~y ~z</code><br />Teleports player by a given relative distance, i.e. teleport ~1 ~0 ~0 will teleport the player one block in x direction.
*<code>/tp [playername] [coordinates]</code><br />Teleport given player to a different position.
* <code>/tp [playername]</code><br/ >Teleport yourself to given player.
* <code>/ban [reason]</code><br />Ban a player.
* <code>/ban [reason]</code><br />Ban a player.
* <code>/unban [playername]</code><br />Unban a player.
* <code>/unban [playername]</code><br />Unban a player.
* <code>/kick [reason]</code><br />Kick a player.
* <code>/kick [reason]</code><br />Kick a player.
* <code>/clear</code><br />Removes all items from your inventory.
* <code>/clear</code><br />Removes all items from your inventory.
<li><strong>Privilege Control</strong></li>
 
<ul>
==Privilege Control==
<li><code>/op [playername]</code>&nbsp;Shorthand for&nbsp;/player [playername] role admin<br /><br /></li>
*<code>/op [playername]</code> Alias of <code>/player [playername] role admin</code>
<li><code>/role (rolename) spawnpoint [x] [y?] [z]</code> <br />Configure a role specific spawn point. Any player that has this role will spawn at this location.<br /><br/></li>
 
<li><code>/role (rolename) privilege [grant|revoke] [privelegename]</code>&nbsp;<br />Grant or revoke privileges from given role<br /><br/></li>
[[List of server commands/role]]
<li><code>/role (rolename) [landclaimallowance|landclaimmaxareas|landclaimminsize] [value]</code><br />Shows or sets the role specific land claiming values.&nbsp;</li>
 
<ul>
[[List of server commands/player]]
<li><code>landclaimallowance</code> is the max allowed claimable area in cubic meters for every player that has this role&nbsp;<span>(default: 4 chunks = 4*32*32*32 cubic meters = 131072)</span></li>
<li><code>landclaimmaxareas</code> the max quantity of non adjacent-areasa a player may claim (default: 3)</li>
<li><code>landclaimminsize [x y z]</code> the smallest cuboid a player may claim (default 6x6x6)<br /><br /></li>
</ul>
<li><code>/player [playername]&nbsp;[whitelist|privilege|role|entity|stats|gamemode|landclaimallowance|landclaimmaxareas]</code><br />See/Modify player related data</li>
<ul>
<li><code>/player [playername] whitelist</code><br>See current whitelist mode of given player. </li> <li><code>/player [playername] whitelist on</code> <br /> Adds a player to a server whitelist </li>
<li><code>/player [playername] privilege</code><br />Lists the players current privileges</li>
<li><code>/player [playername] privilege [grant|revoke] [privilegename]</code><br />Grants or revokes given privilege for this player</li>
<li><code>/player [playername] role</code><br />Shows the players current privilege role (default: suplayer)</li>
<li><code>/player [playername] role [rolename]</code><br />Sets the players current privilege role (default: suplayer)</li>
<li><code>/player&nbsp;[playername] stats</code><br />Shows a summary of the players current privileges<br></li>
<li><code>/player&nbsp;[playername] gamemode [0..4 or partially/fully written game mode name]</code><br />Shows or sets the players current game mode</li>
<li><code>/player&nbsp;[playername]&nbsp;landclaimallowance [0..9999]</code><br />Shows or sets a player specific extra land claim allowance, independent of the allowance set by the role (default: 0)</li>
<li><code>/player&nbsp;[playername]&nbsp;landclaimmaxareas&nbsp;[0..9999]</code><br /><span>Shows or sets a player specific extra land claim areas allowance<span>, independent of the allowance set by the role (default: 0)</span></span><br /><br /><br /></li>
</ul>
</ul>
</ul>


==World Control== <!--T:7-->
==World Control== <!--T:7-->
<ul>
*<code>/seed</code><br />Shows the world seed
<li><code>/seed</code>&nbsp;Shows the world seed<br /><br /></li>
 
<li><code>/worldconfig</code> Modify current play style. Most of these settings require a restart of the server to take effect.
=== World Config ===
<ul>
[[List of server commands/worldconfig]]
<li><code>/worldconfig worldEdge [blocked|traversable]</code> Wether you can fall off the world edge (default: traversable)</li>
 
<li><code>/worldconfig globalTemperature [0-5]</code> Sets the global temperature multiplier for world generation. Does not affect already generated chunks. Useful values are between 0.1 and 5, where 0.1 is super cold, and 5 is super hot. (default: 1)</li>
=== Entities ===
<li><code>/worldconfig globalPrecipitation [0-5]</code> Sets the global rainfall multiplier for world generation. Does not affect already generated chunks. Useful values are between 0.1 and 5, where 0.1 is super dry and 5 is super wet (default: 1)</li>
<!--T:11-->
<li><code>/worldconfig microblockChiseling [true|false]</code> Whether to allow microblock chiseling (default: false)</li>
[[List of server commands/entity]]
 
=== Time ===
[[List of server commands/time]]
 
=== Weather ===
[[List of server commands/weather]]
 
==Server control and configuration== <!--T:12-->
*<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>/welcome</code><br />Sets the server's welcome message.
 
*<code>/stop</code><br />Stops the server.
 
*<code>/list [clients|banned|role|privileges]</code><br />Show various lists of infos.
**<code>/list clients</code><br /> Show current connected clients.
**<code>/list banned</code><br /> Show current list of banned players.
**<code>/list role</code><br /> Show list of all configured privilege roles.
**<code>/list privileges</code><br /> Show list of all configured privileges.
 
[[List of server commands/serverconfig]]


<!--T:8-->
==Utility and Debug Tools== <!--T:13-->
<li><code>/worldconfig temporalStorms [off|veryrare|rare|somtimes|often|veryoften]</code> How frequent temporal storms should be (default: sometimes)</li>
*<code>/bir [getid|getcode|remap]</code><br />Block id remapper tools. Useful to fix broken blocks after removing/updating custom blocks.
<li><code>/worldconfig temporalStability [false|true]</code> Whether or not the temporal stability mechanic should apply (default: true)</li>
<li><code>/worldconfig deathPunishment [drop|keep]</code> Whether to drop your inventory upon death (default: drop)</li>
<li><code>/worldconfig graceTimer [0-9999]</code> How many days it takes for monster to appear (default: 5)</li>
<li><code>/worldconfig creatureHostility [aggressive|passive|off]</code> Set default creature hostility (default: aggressive)</li>
<li><code>/worldconfig creatureStrength [0-99]</code> Sets the creature damage multiplier (default: 1)</li>
<li><code>/worldconfig playerHealthPoints [1-999]</code> Set the players base health points (default: 15)</li>
<li><code>/worldconfig playerHungerSpeed [0-10]</code> Set the players hunger rate multiplier (default: 1)</li>
<li><code>/worldconfig playerMoveSpeed [0-10]</code> Set the players move speed multiplier (default: 1.5)</li>
<li><code>/worldconfig blockGravity [sandgravel|sandgravelsoil]</code> Set the block gravity behavior for either just sand and gravel or additionally also soil (default: sandgravel)</li>
<li><code>/worldconfig foodSpoilSpeed [0-10]</code> Set the spoilage rate multiplier of all perishable foods, e.g. 0.5 means all food lasts twice as long (default: 1)</li>
<li><code>/worldconfig saplingGrowthDays [0-999]</code> Set the amount of days a tree takes to grow on average (default: 8)</li>
<li><code>/worldconfig toolDurability [0-99]</code> Set the tool durability multiplier, e.g. 2 means all tools have double durability. (default: 1)</li>
<li><code>/worldconfig toolMiningSpeed [0-99]</code> Set the tool mining speed multiplier, e.g. 2 means all tools have break blocks twice as fast. (default: 1)</li>
<li><code>/worldconfig allowCoordinateHud [true|false]</code> Whether or not players are allowed to used the coordinate hud. (default: true)</li>
<li><code>/worldconfig allowMap [true|false]</code> Whether or not players are allowed to used the world map. (default: true)</li>
<li><code>/worldconfig allowLandClaiming [true|false]</code> Whether or not players are allowed to use the land claiming system. (default: true)</li>


<!--T:9-->
*<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.
<li><code>/worldconfig surfaceCopperDeposits [0-5]</code> Set chance of surface copper spawning for each chunk column (default: 0.1)</li>
<li><code>/worldconfig surfaceTinDeposits [0-5]</code> Set chance of surface tin spawning for each chunk column (default: 0.07)<br><br></li>


<!--T:10-->
*<code>/sendchunks [0|1]</code><br />Toggles whether to send any new chunks to the client. Forced chunks are still loaded.
</ul>
</li>


<!--T:11-->
*<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.
<li><code>/entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest|debug]</code><br />Add, remove, and count entities (item drops, creatures, etc).<br />
 
<ul>
*<code>/reloadmods</code><br />Reloads all server mods that support reloading.
<li><code>/entity spawn (entitytype)</code><br />Spawn an entity by type.<br />The valid type names (as of 1.5.0.3) are:<br /><code>wolf-male</code>,&nbsp;<code>wolf-female</code>,&nbsp;<code>sheep-bighorn-male</code>,&nbsp;<code>sheep-bighorn-female</code>,&nbsp;<code>sheep-bighorn-lamb</code>,&nbsp;<code>pig-wild-piglet</code>,&nbsp;<code>pig-wild-male</code>,&nbsp;<code>pig-wild-female</code>,&nbsp;<code>drifter</code>,&nbsp;<code>strawdummy</code>,&nbsp;<code>chicken-hen</code>,&nbsp;<code>chicken-baby</code>,&nbsp;<code>chicken-rooster</code></li>
 
<li><code>/entity spawn (entitytype) 100</code>Spawns 100 entities of given type</li>
*<code>/cit</code><br /> Current chunk generation info.
<li><code>/entity countbytype (entitytype)</code><br />Count how many entities of a given type exist.</li>
 
<li><code>/entity removebytype (entitytype)</code><br />Remove all entities of a given type.</li>
[[List of server commands/debug]]
<li><code>/entity countbyclass (entityclass)</code><br />Count how many entities of a given class (such as&nbsp;<code>entityitem</code>&nbsp;or&nbsp;<code>entityagent</code>) exist.</li>
<li><code>/entity removebyclass (entityclass)</code><br />Remove all entities of a given class.</li>
<li><code>/entity listnearest [x y z] (ver-range) (hor-range)</code><br />Show a summary of all nearby entities at given range. If x/y/z coords are not supplied, the current player position is taken</li>
<li><code>/entity debug [0 or 1]</code><br />Enable entity debug mode, this will send continous debug information to all connected clients, which are displayed above the entity if the client used the command <em>.clientConfig showEntitydebuginfo 1</em><br /><br/></li>
</ul>
</li>
<li><code>/time [set|get|speed]</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Time related functions</span>
<ul style="font-size: 11pt;">
<li><code>/time</code>&nbsp;<br />Shows current time</li>
<li><code>/time set [lunch|day|night|latenight|morning|latemorning|sunrise|sunset|afternoon|midnight|witchinghour]</code><br />Sets the internal clock to the given time of day</li>
<li><code>/time set [time]</code><br />Sets the internal calendar to given time. Examples: /time set 12:00</li>
<li><code>/time add [hours:minutes]</code><br />Adds given hours and minutes to the internal calendar</li>
<li><code>/time speed</code>&nbsp;<code>[0-9999]</code><br />Shows or sets current game time speed (default 60)</li>
<li><code>/time hoursperday [0-9999]</code><br />Shows or sets the current hours per day (default 24)</li>
</ul>
<br />&nbsp;</li>
</ul>


==Server control/configuration== <!--T:12-->
[[List of server commands/wgen]]
<ul>
<li><code>/stats</code> Show current server statistics (tickrate, memory usage, etc.)</li>
<li><code>/announce</code>&nbsp;Announce a server wide message in all chat groups</li>
<li><code>/welcome</code><span style="font-size: 11pt;">&nbsp;Sets the servers welcome message</span></li>
<li><code>/stop</code><span style="font-size: 11pt;">&nbsp;Shuts down the server</span></li>
<li><code>/list [clients|banned|role|privileges]</code>&nbsp;<br />Show&nbsp;various lists of infos</li>
<ul>
<li><code>/list clients</code> Show current connected clients</li>
<li><code>/list banned</code>&nbsp;Show current list of banned blayers</li>
<li><code>/list role</code> Show list of all configured privilege roles</li>
<li><code>/list privileges</code> Show list of all configured privileges</li>
</ul>
<li><code>/serverconfig</code><br />Modify the server config<br />
<ul>
<li><code>/serverconfig maxchunkradius (integer)</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Displays the max chunk radius. If an integer value is passed it will set the max chunk radius, which is the highest view distance a player may have. Higher values require more RAM</span></li>
<li><code>/serverconfig maxclients (integer)</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Displays the maxclients. If an integer value is passed it will set the maxclients, which is the max concurrent players the server may have. Higher values requires more RAM and CPU</span></li>
<li><code>/serverconfig password (password without spaces)</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Sets the server password that is required to connect to the server</span></li>
<li><code><span style="font-size: 11pt;">/serverconfig nopassword</span></code><span style="font-size: 11pt;"><br />Removes the password protection<br /></span></li>
<li><code>/serverconfig antiabuse (Off|Basic|Pedantic)</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Sets antiabuse level, this protects against a range of malicious player operations, but is currently pretty glitchy in the current state (v1.7)</span></li>
<li><code>/serverconfig onlywhitelist (bool)</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Wether or not to only allow whitelisted players to connect to the server</span></li>
<li><code>/serverconfig entityspawning (bool)</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Toggle on/off global entity spawning. Disabling it will cause no creatures to spawn (default: on)</span></li>
<li><code><span style="font-size: 11pt;">/serverconfig tickrate [10-100]<br /></span></code><span style="font-size: 11pt;">Shows or sets the server tickrate. A higher tickrate makes the server more responsive, but also costs more CPU. A lower tickrate has the opposite effect. (default: 30)</span></li>
<li><span style="font-size: 11pt;"><code>/serverconfig&nbsp;blockTickSamplesPerChunk</code><br /></span><span style="font-size: 11pt;">Shows or sets many random ticks per chunk should be executed. Simply said, a higher value makes grass grow back faster. (default: 16)</span></li>
<li><span style="font-size: 11pt;"><code>/serverconfig defaultSpawn [x y? z]</code><br />Shows or sets the default spawn point. <em>y</em> can be omitted to automatically use the surface position at given x/z location. Can supply a non numeric position to clear the default spawn point.</span></li>
<li><span style="font-size: 11pt;"><code>/serverconfig setspawnhere</code><br />Sets the default spawn point to where the player is currently standing<br /><br /><br /></span></li>
</ul>
</li>
</ul>


==Utility / Debug Tools== <!--T:13-->
[[List of server commands/macro]]
<ul>
<li><code>/bir&nbsp;[getid|getcode|remap]</code>&nbsp;Block id remapper tools. Useful to fix broken blocks after removing/updating custom blocks</li>
<li><code>/forceloadchunks x1 z1 x2 z1 [sendtoclient]</code>&nbsp;Tells the server to load given area and prevents unloading. If "sendtoclient" is added it will also forcefully send all these chunks to the client.</li>
<li><code>/sendchunks [0 or 1]</code>&nbsp;Toggles whether to send any new chunks to the client (force sending chunks are sent anyway)</li>
<li><code>/chunkunload [0 or 1]</code> Toggels whether the server should automatically unload chunks that are no longer in range of any players (and thus also send chunk unload commands to the clients)</li>
<li><code>/reloadmods</code>&nbsp;Reloads all server mods that support reloading</li>
<li><code>/cit</code> Current chunk generation info</li>
<li><code>/debug [logticks|tickhandlers|ci|cs|cr]</code>&nbsp;<span>Various debug commands</span>
<ul>
<li><code>/debug logticks [milliseconds]</code>&nbsp;If a server tick required more then supplied milliseconds to process, a breakup of that tick will be logged to the server-main.txt</li>
<li><code>/debug tickhandlers</code>&nbsp;Displays a summary of many ticking blocks and entities are currently registered</li>
<li><code>/debug tickhandlers dump [gtblock|gtentity|dcblock|sdcblock|dcentity]</code>&nbsp;Dumps a complete list of all tick/callback listeners to the server-debug.txt. (gt = gametick, dc = delayed callback)</li>
<li><code>/debug ci</code>&nbsp;Display some information on the current chunk the player resides in</li>
<li><code>/debug cs</code>&nbsp;Forcefully resends the current chunk the player resides in</li>
<li><code>/debug cr</code>&nbsp;Forcefully completely relights the current chunk the player resides in</li>
</li>
</ul>
</li>
<li><code>/wgen</code> World generation tools. Some examples</li>
<ul>
<li><code>/wgen pos climate</code> Shows climate info at the current position</li>
<li><code>/wgen testmap climate</code> Generates a 512x512 example <span>climate&nbsp;</span>map as png, dropped where the game executables resides</li>
</ul>
</ul>
</ul>
<ul>
<li><code>/macro [addcmd|setcmd|syntax|desc|priv|save|delete|show|list]</code><br />Create a server side macro that can execute one ore multiple commands
<ul>
<li><code>/macro addcmd [command without /]</code>&nbsp; Add a command to a temporary macro</li>
<li><code>/macro setcmd[command without /]</code>&nbsp; Set a command to a temporary macro (removes previously added ones)</li>
<li><code>/macro syntax</code>&nbsp;Sets the syntax help info displayed when using /help</li>
<li><code>/macro desc</code>&nbsp;Sets the description text displayed when using /help</li>
<li><code>/macro priv</code>&nbsp;Sets the privilege required to execute this command, e.g.&nbsp;<em>controlserver</em>&nbsp;if only for admins or&nbsp;<em>build</em>&nbsp;for any player with build rights</li>
<li><code>/macro show</code>&nbsp;Shows the contents temporary macro currently being defined by above commands</li>
<li><code>/macro save [name]</code>&nbsp;Saves the temporary macro defined by above command to given command name</li>
<li><code>/macro list</code>&nbsp;Shows a list of all saved macros</li>
<li><code>/macro show [name]</code>&nbsp;Shows the contents of a saved macro</li>
<li><code>/macro delete [name]</code>&nbsp;Deletes a previously saved macro</li>
<li><code>/macro discard [name]</code>&nbsp;Discards the temporary macro</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>


</translate>
</translate>

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