List of server commands: Difference between revisions

From Vintage Story Wiki
improved readability, hopefully
(improved readability, hopefully)
Line 2: Line 2:
<div>
<div>
<ul>
<ul>
<li><strong>/kill&nbsp;</strong>Kill yourself</li>
<li><code>/kill</code>&nbsp;Kill yourself</li>
<li><strong>/land&nbsp;[claim|free|info|list]<br /></strong>Claim an area of the world where only you can build or use blocks in</li>
<li><code>/land&nbsp;[claim|free|info|list]</code><br />Claim an area of the world where only you can build or use blocks in</li>
<ul>
<ul>
<li><strong><strong>/land list<br /></strong></strong>Displays a list of the claims that you made so far, you can use displayed index number to modify it, see below</li>
<li><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</li>
<li><strong>/land info</strong><br />Display information on the claimant of the current position, if there is any</li>
<li><code>/land info</code><br />Display information on the claimant of the current position, if there is any</li>
<li><strong>/land free</strong><br />Deletes a claim of yours</li>
<li><code>/land free</code><br />Deletes a claim of yours</li>
<li><strong>/land claim</strong> <strong>[load|new|grant|revoke|gn|ge|gs|gw|gu|gd|start|end|add|plevel|fullheight|save|cancel]</strong><br />Create or modify an existing claim</li>
<li><code>/land claim</code> <code>[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</li>
<ul>
<ul>
<li><strong>/land claim load [0..999]</strong><br />Load an existing claim for modifying. Use index number as shown in /land list to select which claim</li>
<li><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</li>
<li><strong>/land claim new<br /></strong>Create a new claim, also marks the start position</li>
<li><code>/land claim new</code><br />Create a new claim, also marks the start position</li>
<li><strong>/land claim grant [playername]</strong> <strong>[use|all]</strong><br />Grant given player access to your claim. 'use' for only use/interact rights, 'all' for use and place/break block rights</li>
<li><code>/land claim grant [playername]</code> <code>[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</li>
<li><strong>/land claim revoke [playername]</strong><br />Revoke a previously granted privilege to given player on your claim.&nbsp;</li>
<li><code>/land claim revoke [playername]</code><br />Revoke a previously granted privilege to given player on your claim.&nbsp;</li>
<li><strong>/land claim start<br /></strong>Mark a start position for a cuboidal area to be claimed</li>
<li><code>/land claim start</code><br />Mark a start position for a cuboidal area to be claimed</li>
<li><strong>/land claim end</strong><br />Mark an end position for a cuboidal area to be claimed</li>
<li><code>/land claim end</code><br />Mark an end position for a cuboidal area to be claimed</li>
<li><strong>/land claim [gn|ge|gs|gw|gu|gd]</strong> <strong>[-99..99]</strong><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</li>
<li><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</li>
<li><strong>/land claim add</strong><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</li>
<li><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</li>
<li><strong>/land claim fullheight</strong><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</li>
<li><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</li>
<li><strong>/land claim save</strong><br />Save current claim modifications and stop editing the current claim</li>
<li><code>/land claim save</code><br />Save current claim modifications and stop editing the current claim</li>
<li><strong>/land claim cancel</strong><br />Discard all modifications to this claim<br /><br /></li>
<li><code>/land claim cancel</code><br />Discard all modifications to this claim<br /><br /></li>
</ul>
</ul>
<li><strong>/group&nbsp;[create|disband|rename|invite|acceptinvite|leave|list|kick|op|deop]&nbsp;</strong><br /><span>Create/manage or destrory a player group. Player groups currently only serve the function of offering a seperate channel to chat in.</span>
<ul>
<li><strong>/group create [groupname]</strong>&nbsp;Creates a new player group (=own chat channel)<br />While in the this groups chat channel:</li>
<li><strong style="font-size: 11pt;">/group invite [playername]&nbsp;</strong><span style="font-size: 11pt;">Invites a player to this group</span></li>
<li><strong style="font-size: 11pt;">/group acceptinvite [groupname]&nbsp;</strong><span style="font-size: 11pt;">Accept an invite to join the group</span></li>
<li><strong style="font-size: 11pt;">/group leave</strong><span style="font-size: 11pt;">&nbsp;Leaves this player group</span></li>
<li><strong style="font-size: 11pt;">/group list</strong><span style="font-size: 11pt;">&nbsp;Lists all groups you are currently in</span></li>
<li><strong style="font-size: 11pt;">/group rename newgroupname</strong><span style="font-size: 11pt;">&nbsp;Renames the group</span></li>
<li><strong style="font-size: 11pt;">/group kick [playername]</strong><span style="font-size: 11pt;">&nbsp;Removes a player from the group</span></li>
<li><strong style="font-size: 11pt;">/group op [playername]</strong><span style="font-size: 11pt;">&nbsp;Grants operator status to this player, which allows him to invite other players.</span></li>
<li><strong style="font-size: 11pt;">/group deop [playername]&nbsp;</strong><span style="font-size: 11pt;">Revokes operator status from this player.</span></li>
<li><strong style="font-size: 11pt;">/group disband&nbsp;</strong><span style="font-size: 11pt;">Destroy a player group. Must be owner to perform this command</span></li>
</ul>
</ul>
<li>
    <code>/group&nbsp;[create|disband|rename|invite|acceptinvite|leave|list|kick|op|deop]</code>&nbsp;<br /><span>Create/manage or destrory a player group. Player groups currently only serve the function of offering a seperate channel to chat in.</span>
<ul>
<li><code>/group create [groupname]</code>&nbsp;Creates a new player group (=own chat channel)<br />While in the this groups chat channel:</li>
<li><code>/group invite [playername]</code>&nbsp;<span style="font-size: 11pt;">Invites a player to this group</span></li>
<li><code>/group acceptinvite [groupname]</code>&nbsp;<span style="font-size: 11pt;">Accept an invite to join the group</span></li>
<li><code>/group leave</code><span style="font-size: 11pt;">&nbsp;Leaves this player group</span></li>
<li><code>/group list</code><span style="font-size: 11pt;">&nbsp;Lists all groups you are currently in</span></li>
<li><code>/group rename newgroupname</code><span style="font-size: 11pt;">&nbsp;Renames the group</span></li>
<li><code>/group kick [playername]</code><span style="font-size: 11pt;">&nbsp;Removes a player from the group</span></li>
<li><code>/group op [playername]</code><span style="font-size: 11pt;">&nbsp;Grants operator status to this player, which allows him to invite other players.</span></li>
<li><code>/group deop [playername]</code>&nbsp;<span style="font-size: 11pt;">Revokes operator status from this player.</span></li>
<li><code>/group disband</code>&nbsp;<span style="font-size: 11pt;">Destroy a player group. Must be owner to perform this command</span></li>
</ul>
</li>
</li>
</ul>
</ul>
</div>
<div><br/></div>
<div><strong><br /></strong></div>


== Multiplayer Commands&nbsp;for Moderators and Admins==
== Multiplayer Commands&nbsp;for Moderators and Admins==
Line 45: Line 44:
<li><strong>General</strong></li>
<li><strong>General</strong></li>
<ul>
<ul>
<li><strong>/help</strong> - List all commands<br /><br /></li>
<li><code>/help</code> - List all commands<br /><br /></li>
</ul>
</ul>
<li><strong>Player Control</strong></li>
<li><strong>Player Control</strong></li>
<ul>
<ul>
<li><strong>/giveblock [blockcode] [quantity] [toplayername]<br /></strong>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</li>
<li><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</li>
<li><strong>/giveitem [itemcode] [quantity] [toplayername]</strong><br />Same as above but for items</li>
<li><code>/giveitem [itemcode] [quantity] [toplayername]</code><br />Same as above but for items</li>
<li><strong>/gamemode [0..4]&nbsp;</strong><br />Sets your game mode:
<li><code>/gamemode [0..4]</code>&nbsp;<br />Sets your game mode:
<ul>
<ul>
<li><strong>0 =&nbsp;Guest mode.</strong>&nbsp;Cannot place/remove any blocks but can interact with them</li>
<li><code>0</code> Guest mode - Cannot place/remove any blocks but can interact with them</li>
<li><strong>1 = Survival mode.&nbsp;</strong>Can slowly break/place blocks. Can die. Cannot fly. Survival inventory.</li>
<li><code>1</code> Survival mode - Can slowly break/place blocks. Can die. Cannot fly. Survival inventory.</li>
<li><strong>2 = Creative mode.&nbsp;</strong>Access to all blocks through the creative inventory. Instant block breaking. Cannot die. Can fly.</li>
<li><code>2</code> Creative mode - Access to all blocks through the creative inventory. Instant block breaking. Cannot die. Can fly.</li>
<li><strong>3 =&nbsp;Spectator&nbsp;mode.</strong>&nbsp;Cannot place/remove blocks and cannot interact with anything. But can fly.<br />&nbsp;</li>
<li><code>3</code> Spectator mode - Cannot place/remove blocks and cannot interact with anything. But can fly.<br />&nbsp;</li>
</ul>
</ul>
</li>
</li>
<li><strong>/gamemode [playername] [0..4]</strong><br />Sets the gamemode for given player<br />&nbsp;</li>
<li><code>/gamemode [playername] [0..4]</code><br />Sets the gamemode for given player<br />&nbsp;</li>
<li><strong style="font-size: 11pt;">/tp [coordinates]</strong><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Teleport yourself to a different position</span>
<li><code>/tp [coordinates]</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Teleport yourself to a different position</span>
<ul style="font-size: 11pt;">
<ul style="font-size: 11pt;">
<li><strong>/tp x y z</strong><br />Teleports<strong>&nbsp;</strong>player to given pretty coordinate (visible from the pretty coordinate box when pressing 'C')</li>
<li><code>/tp x y z</code><br />Teleports&nbsp;player to given pretty coordinate (visible from the pretty coordinate box when pressing 'C')</li>
<li><strong>/tp =x =y =z</strong><br />Teleports<strong>&nbsp;</strong>player to given absolute coordinate (visible from the debug screen on ALT + F3)</li>
<li><code>/tp =x =y =z</code><br />Teleports&nbsp;player to given absolute coordinate (visible from the debug screen on ALT + F3)</li>
<li><strong>/tp ~x ~y ~z</strong><br />Teleports player by a given relative distance (i.e. teleport ~1 ~0 ~0 will teleport the player one block in x direction)<br />&nbsp;</li>
<li><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)<br />&nbsp;</li>
</ul>
</ul>
</li>
</li>
<li><strong style="font-size: 11pt;">/tp [playername] [coordinates]</strong><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Teleport given player to a different position<br /><br /></span></li>
<li><code>/tp [playername] [coordinates]</code><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Teleport given player to a different position<br /><br /></span></li>
<li><strong style="font-size: 11pt;">/ban [reason]</strong><span style="font-size: 11pt;">&nbsp;Ban a player<br /></span></li>
<li><code>/ban [reason]</code><span style="font-size: 11pt;">&nbsp;Ban a player<br /></span></li>
<li><strong style="font-size: 11pt;">/unban [playername]</strong><span style="font-size: 11pt;">&nbsp;Unban&nbsp;a player<br /></span></li>
<li><code>/unban [playername]</code><span style="font-size: 11pt;">&nbsp;Unban&nbsp;a player<br /></span></li>
<li><strong style="font-size: 11pt;">/kick [reason]</strong><span style="font-size: 11pt;">&nbsp;Kick a player</span></li>
<li><code>/kick [reason]</code><span style="font-size: 11pt;">&nbsp;Kick a player</span></li>
<li><strong>/clear&nbsp;</strong>Removes all items from your inventory<br /><br /></li>
<li><code>/clear</code>&nbsp;Removes all items from your inventory<br /><br /></li>
</ul>
</ul>
<li><strong>Privilege Control</strong></li>
<li><strong>Privilege Control</strong></li>
<ul>
<ul>
<li><strong><strong>/op [playername]</strong><span>&nbsp;</span></strong>Shorthand for&nbsp;/player [playername] role admin<br /><br /></li>
<li><code>/op [playername]</code>&nbsp;Shorthand for&nbsp;/player [playername] role admin<br /><br /></li>
<li><strong>/role (rolename) spawnpoint [x] [y?] [z] <br /></strong>Configure a role specific spawn point. Any player that has this role will spawn at this location.<br /><strong><br /></strong></li>
<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><strong>/role (rolename) privilege [grant|revoke] [privelegename]&nbsp;<br /></strong>Grant or revoke privileges from given role<br /><strong><br /></strong></li>
<li><code>/role (rolename) privilege [grant|revoke] [privelegename]</code>&nbsp;<br />Grant or revoke privileges from given role<br /><br/></li>
<li><strong>/role (rolename) [landclaimallowance|landclaimmaxareas|landclaimminsize] [value]<br /></strong>Shows or sets the role specific land claiming values.&nbsp;</li>
<li><code>/role (rolename) [landclaimallowance|landclaimmaxareas|landclaimminsize] [value]</code><br />Shows or sets the role specific land claiming values.&nbsp;</li>
<ul>
<ul>
<li><strong>landclaimallowance</strong> 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>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><strong>landclaimmaxareas </strong>the max quantity of non adjacent-areasa a player may claim (default: 3)</li>
<li><code>landclaimmaxareas</code> the max quantity of non adjacent-areasa a player may claim (default: 3)</li>
<li><strong>landclaimminsize [x y z]</strong> the smallest cuboid a player may claim (default 6x6x6)<br /><br /></li>
<li><code>landclaimminsize [x y z]</code> the smallest cuboid a player may claim (default 6x6x6)<br /><br /></li>
</ul>
</ul>
<li><strong>/player [playername]&nbsp;[whitelist|privilege|role|entity|stats|<strong>gamemode</strong>|landclaimallowance|landclaimmaxareas]<br /></strong>See/Modify player related data</li>
<li><code>/player [playername]&nbsp;[whitelist|privilege|role|entity|stats|gamemode|landclaimallowance|landclaimmaxareas]</code><br />See/Modify player related data</li>
<ul>
<ul>
<li><strong>/player [playername] whitelist</strong> Whitelists given player, so he is allowed to join the server is only whitelisted mode is on</li>
<li><code>/player [playername] whitelist</code><br>Whitelists given player, so he is allowed to join the server is only whitelisted mode is on</li>
<li><strong>/player [playername] privilege<br /></strong>Lists the players current privileges</li>
<li><code>/player [playername] privilege</code><br />Lists the players current privileges</li>
<li><strong>/player [playername] privilege [grant|revoke] [privilegename]<br /></strong>Granks or revokes given privilege for this player</li>
<li><code>/player [playername] privilege [grant|revoke] [privilegename]</code><br />Granks or revokes given privilege for this player</li>
<li><strong>/player [playername] [role]<br /></strong>Shows or sets the players current privilege role (default: suplayer)</li>
<li><code>/player [playername] [role]</code><br />Shows or sets the players current privilege role (default: suplayer)</li>
<li><strong>/player&nbsp;[playername] stats<br /></strong>Shows a summary of the players current privileges<strong><br /></strong></li>
<li><code>/player&nbsp;[playername] stats</code><br />Shows a summary of the players current privileges<br></li>
<li><strong>/player&nbsp;[playername] gamemode [0..4 or partially/fully written game mode name]<br /></strong>Shows or sets the players current game mode</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><strong><strong>/player&nbsp;[playername]&nbsp;</strong>landclaimallowance [0..9999]<br /></strong>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;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><strong><strong>/player&nbsp;[playername]&nbsp;<strong>landclaimmaxareas&nbsp;</strong></strong>[0..9999]<br /></strong><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>
<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>
</ul>
<li><strong>World Control</strong></li>
<li><strong>World Control</strong></li>
<ul>
<ul>
<li><strong><span><strong><strong>/seed&nbsp;</strong></strong></span></strong>Shows the world seed<br /><br /></li>
<li><code><span><code>/seed</code>&nbsp;</code></span></code>Shows the world seed<br /><br /></li>
<li><strong>/entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest|debug]</strong><br />Add, remove, and count entities (item drops, creatures, etc).<br />
<li><code>/entity [spawn|countbytype|removebytype|countbyclass|removebyclass|listnearest|debug]</code><br />Add, remove, and count entities (item drops, creatures, etc).<br />
<ul>
<ul>
<li><strong>/entity spawn (entitytype)</strong><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)</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><strong>/entity countbytype (entitytype)</strong><br />Count how many entities of a given type exist.</li>
<li><code>/entity countbytype (entitytype)</code><br />Count how many entities of a given type exist.</li>
<li><strong>/entity removebytype (entitytype)</strong><br />Remove all entities of a given type.</li>
<li><code>/entity removebytype (entitytype)</code><br />Remove all entities of a given type.</li>
<li><strong>/entity countbyclass (entityclass)</strong><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 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><strong>/entity removebyclass (entityclass)</strong><br />Remove all entities of a given class.</li>
<li><code>/entity removebyclass (entityclass)</code><br />Remove all entities of a given class.</li>
<li><strong>/entity listnearest [x y z] (ver-range) (hor-range)</strong><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 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><strong>/entity debug [0 or 1]</strong><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 /><strong><br /></strong></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>
</ul>
</li>
</li>
<li><strong style="font-size: 11pt;">/time [set|get|speed]</strong><br style="font-size: 11pt;" /><span style="font-size: 11pt;">Time related functions</span>
<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;">
<ul style="font-size: 11pt;">
<li><strong>/time&nbsp;</strong><br />Shows current time</li>
<li><code>/time</code>&nbsp;<br />Shows current time</li>
<li><strong>/time set [lunch|day|night|latenight|morning|latemorning|sunrise|sunset|afternoon|midnight|witchinghour]</strong><br />Sets the internal clock to the given time of day</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><strong>/time set [time]</strong><br />Sets the internal calendar to given time. Examples: /time set 12:00</li>
<li><code>/time set [time]</code><br />Sets the internal calendar to given time. Examples: /time set 12:00</li>
<li><strong>/time add [hours:minutes]<br /></strong>Adds given hours and minutes to the internal calendar</li>
<li><code>/time add [hours:minutes]</code><br />Adds given hours and minutes to the internal calendar</li>
<li><strong>/time speed</strong>&nbsp;<strong>[0-9999]</strong><br />Shows or sets current game time speed (default 60)</li>
<li><code>/time speed</code>&nbsp;<code>[0-9999]</code><br />Shows or sets current game time speed (default 60)</li>
<li><strong>/time hoursperday [0-9999]</strong><br />Shows or sets the current hours per day (default 24)</li>
<li><code>/time hoursperday [0-9999]</code><br />Shows or sets the current hours per day (default 24)</li>
</ul>
</ul>
<br />&nbsp;</li>
<br />&nbsp;</li>
Line 123: Line 122:
<li><strong>Server control/configuration</strong></li>
<li><strong>Server control/configuration</strong></li>
<ul>
<ul>
<li><strong>/stats </strong>Show current server statistics (tickrate, memory usage, etc.)</li>
<li><code>/stats</code> Show current server statistics (tickrate, memory usage, etc.)</li>
<li><strong>/announce</strong>&nbsp;Announce a server wide message in all chat groups</li>
<li><code>/announce</code>&nbsp;Announce a server wide message in all chat groups</li>
<li><strong style="font-size: 11pt;">/welcome</strong><span style="font-size: 11pt;">&nbsp;Sets the servers welcome message</span></li>
<li><code>/welcome</code><span style="font-size: 11pt;">&nbsp;Sets the servers welcome message</span></li>
<li><strong style="font-size: 11pt;">/stop</strong><span style="font-size: 11pt;">&nbsp;Shuts down the server</span></li>
<li><code>/stop</code><span style="font-size: 11pt;">&nbsp;Shuts down the server</span></li>
<li><strong>/list [clients|banned|role|privileges]&nbsp;<br /></strong>Show&nbsp;various lists of infos</li>
<li><code>/list [clients|banned|role|privileges]</code>&nbsp;<br />Show&nbsp;various lists of infos</li>
<ul>
<ul>
<li><strong>/list clients</strong> Show current connected clients</li>
<li><code>/list clients</code> Show current connected clients</li>
<li><strong>/list banned&nbsp;</strong>Show current list of banned blayers</li>
<li><code>/list banned</code>&nbsp;Show current list of banned blayers</li>
<li><strong>/list role</strong> Show list of all configured privilege roles</li>
<li><code>/list role</code> Show list of all configured privilege roles</li>
<li><strong>/list privileges</strong> Show list of all configured privileges</li>
<li><code>/list privileges</code> Show list of all configured privileges</li>
</ul>
</ul>
<li><strong>/serverconfig</strong><br />Modify the server config<br />
<li><code>/serverconfig</code><br />Modify the server config<br />
<ul>
<ul>
<li><strong style="font-size: 11pt;">/serverconfig maxchunkradius (integer)</strong><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 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><strong style="font-size: 11pt;">/serverconfig maxclients (integer)</strong><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 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><strong style="font-size: 11pt;">/serverconfig password</strong><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>/serverconfig password</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><strong><span style="font-size: 11pt;">/serverconfig nopassword</span></strong><span style="font-size: 11pt;"><br />Removes the password protection<br /></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><strong style="font-size: 11pt;">/serverconfig antiabuse (Off|Basic|Pedantic)</strong><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 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><strong style="font-size: 11pt;">/serverconfig onlywhitelist (bool)</strong><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 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><strong style="font-size: 11pt;">/serverconfig entityspawning (bool)</strong><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>/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><strong><span style="font-size: 11pt;">/serverconfig tickrate [10-100]<br /></span></strong><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><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;"><strong>/serverconfig&nbsp;blockTickSamplesPerChunk</strong><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&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;"><strong>/serverconfig defaultSpawn [x y? z]</strong><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.<br /><br /><br /></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.<br /><br /><br /></span></li>
</ul>
</ul>
</li>
</li>
Line 151: Line 150:
<li><strong>Utility / Debug Tools</strong>
<li><strong>Utility / Debug Tools</strong>
<ul>
<ul>
<li><strong>/bir&nbsp;[getid|getcode|remap]</strong>&nbsp;Block id remapper tools. Useful to fix broken blocks after removing/updating custom blocks</li>
<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><strong>/forceloadchunks x1 z1 x2 z1 [sendtoclient]&nbsp;</strong>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>/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><strong>/sendchunks [0 or 1]</strong>&nbsp;Toggles whether to send any new chunks to the client (force sending chunks are sent anyway)</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><strong>/chunkunload [0 or 1] </strong>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>/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><strong>/reloadmods</strong>&nbsp;Reloads all server mods that support reloading</li>
<li><code>/reloadmods</code>&nbsp;Reloads all server mods that support reloading</li>
<li><strong>/ci&nbsp;</strong><span>Current chunk info</span></li>
<li><code>/ci</code>&nbsp;<span>Current chunk info</span></li>
<li><strong>/cit</strong> Current chunk generation info</li>
<li><code>/cit</code> Current chunk generation info</li>
<li><strong>/wgen</strong> World generation tools. Some examples</li>
<li><code>/wgen</code> World generation tools. Some examples</li>
<ul>
<ul>
<li><strong>/wgen pos climate</strong> Shows climate info at the current position</li>
<li><code>/wgen pos climate</code> Shows climate info at the current position</li>
<li><strong>/wgen testmap climate</strong> Generates a 512x512 example <span>climate&nbsp;</span>map as png, dropped where the game executables resides</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>
Line 168: Line 167:
<ul>
<ul>
<ul>
<ul>
<li><strong>/macro [addcmd|setcmd|syntax|desc|priv|save|delete|show|list]</strong><br />Create a server side macro that can execute one ore multiple commands
<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>
<ul>
<li><strong>/macro addcmd [command without /]</strong>&nbsp; Add a command to a temporary macro</li>
<li><code>/macro addcmd [command without /]</code>&nbsp; Add a command to a temporary macro</li>
<li><strong>/macro setcmd[command without /]</strong>&nbsp; Set a command to a temporary macro (removes previously added ones)</li>
<li><code>/macro setcmd[command without /]</code>&nbsp; Set a command to a temporary macro (removes previously added ones)</li>
<li><strong>/macro syntax</strong>&nbsp;Sets the syntax help info displayed when using /help</li>
<li><code>/macro syntax</code>&nbsp;Sets the syntax help info displayed when using /help</li>
<li><strong>/macro desc</strong>&nbsp;Sets the description text displayed when using /help</li>
<li><code>/macro desc</code>&nbsp;Sets the description text displayed when using /help</li>
<li><strong>/macro priv</strong>&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 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><strong>/macro show</strong>&nbsp;Shows the contents temporary macro currently being defined by above commands</li>
<li><code>/macro show</code>&nbsp;Shows the contents temporary macro currently being defined by above commands</li>
<li><strong>/macro save [name]</strong>&nbsp;Saves the temporary macro defined by above command to given command name</li>
<li><code>/macro save [name]</code>&nbsp;Saves the temporary macro defined by above command to given command name</li>
<li><strong>/macro list</strong>&nbsp;Shows a list of all saved macros</li>
<li><code>/macro list</code>&nbsp;Shows a list of all saved macros</li>
<li><strong>/macro show [name]&nbsp;</strong>Shows the contents of a saved macro</li>
<li><code>/macro show [name]</code>&nbsp;Shows the contents of a saved macro</li>
<li><strong>/macro delete [name]</strong>&nbsp;Deletes a previously saved macro</li>
<li><code>/macro delete [name]</code>&nbsp;Deletes a previously saved macro</li>
<li><strong>/macro discard [name]</strong>&nbsp;Discards the temporary macro</li>
<li><code>/macro discard [name]</code>&nbsp;Discards the temporary macro</li>
</ul>
</ul>
</li>
</li>
Confirmedusers, Bureaucrats, editor, Administrators
1,779

edits