|
|
Line 122: |
Line 122: |
| == Server Commands == | | == Server Commands == |
|
| |
|
| <ul>
| | See [[List of multiplayer commands]] |
| <li>
| |
| <strong>/ci</strong><br/>
| |
| Current chunk info<br/>
| |
|
| |
| </li>
| |
| <li>
| |
| <strong>/seed</strong><br>
| |
| Shows the world seed<br>
| |
|
| |
| </li>
| |
| <li>
| |
| <strong>/gamemode [0..4] </strong><br>
| |
| Sets your game mode:
| |
| <ul>
| |
| <li>
| |
| <strong>0 = Guest mode.</strong> Cannot place/remove any blocks but can interact with them
| |
| </li>
| |
| <li>
| |
| <strong>1 = Survival mode. </strong>Can slowly break/place blocks. Can die. Cannot fly. Survival inventory.
| |
| </li>
| |
| <li>
| |
| <strong>2 = Creative mode. </strong>Access to all blocks through the creative inventory. Instant block breaking. Cannot die. Can fly.
| |
| </li>
| |
| <li>
| |
| <strong>3 = Spectator mode.</strong> Cannot place/remove blocks and cannot interact with anything. But can fly.<br>
| |
|
| |
| </li>
| |
| </ul>
| |
| </li>
| |
| <li>
| |
| <strong>/gamemode [playername] [0..4]</strong><br>
| |
| Sets the gamemode for given player<br>
| |
|
| |
| </li>
| |
| <li>
| |
| <strong>/clear</strong><br>
| |
| Removes all items from your inventory<br>
| |
|
| |
| </li>
| |
| <li>
| |
| <strong>/kill</strong><br>
| |
| Kills yourself<br>
| |
|
| |
| </li>
| |
| <li>
| |
| <strong>/welcome (message)</strong><br/>
| |
| Set the servers welcome message<br/>
| |
|
| |
| </li>
| |
| | |
| <li>
| |
| <strong>/clearentities</strong><br/>
| |
| Kills all entities in the loaded chunks (except for players)<br/>
| |
|
| |
| </li>
| |
| | |
| <li>
| |
| <strong>/entity</strong><br/>
| |
| Add, remove, and count entities (item drops, creatures, etc).<br/>
| |
| <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>, <code>wolf-female</code>, <code>sheep-bighorn-male</code>, <code>sheep-bighorn-female</code>, <code>sheep-bighorn-lamb</code>, <code>pig-wild-piglet</code>, <code>pig-wild-male</code>, <code>pig-wild-female</code>, <code>drifter</code>, <code>strawdummy</code>, <code>chicken-hen</code>, <code>chicken-baby</code>, <code>chicken-rooster</code>
| |
| </li>
| |
| <li>
| |
| <strong>/entity countbytype (entitytype)</strong><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>
| |
| <strong>/entity countbyclass (entityclass)</strong><br/>
| |
| Count how many entities of a given class (such as <code>entityitem</code> or <code>entityagent</code>) exist.
| |
| </li>
| |
| <li>
| |
| <strong>/entity removebyclass (entityclass)</strong><br/>
| |
| Remove all entities of a given class.
| |
| </li>
| |
| <li>
| |
| <strong>/entity listnearest [x y z] (ver-range) (hor-range)</strong><br/>
| |
| This command exists, but is not completely implemented as of 1.5.0.3
| |
| </li>
| |
| </ul>
| |
| </li>
| |
| | |
| <li>
| |
| <strong>/serverconfig</strong><br>
| |
| Modify the server config<br/>
| |
| <ul>
| |
| <li>
| |
| <strong>/serverconfig maxchunkradius (integer)</strong><br/>
| |
| Displays the max chunk radius. If an integer value is passed it will set the max chunk radius.
| |
| </li>
| |
| <li>
| |
| <strong>/serverconfig maxclients (integer)</strong><br/>
| |
| Displays the maxclients. If an integer value is passed it will set the maxclients.
| |
| </li>
| |
| <li>
| |
| <strong>/serverconfig password</strong><br/>
| |
| Sets the server password
| |
| </li>
| |
| <li>
| |
| <strong>/serverconfig antiabuse (Off|Basic|Pedantic)</strong><br/>
| |
| Sets antiabuse level
| |
| </li>
| |
| <li>
| |
| <strong>/serverconfig onlywhitelist (bool)</strong><br/>
| |
| Sets or shows the onlywhitelist value
| |
| </li>
| |
| <li>
| |
| <strong>/serverconfig entityspawning (bool)</strong><br/>
| |
| Toggle on/off global entity spawning
| |
| </li>
| |
| | |
| | |
| </ul>
| |
| | |
| </li>
| |
| | |
| <li>
| |
| <strong>/time [set|get|speed]</strong><br>
| |
| Time related functions
| |
| <ul>
| |
| <li>
| |
| <strong>/time </strong><br>
| |
| Shows current time
| |
| </li>
| |
| <li>
| |
| <strong>/time set day</strong> <br>
| |
| Sets the internal clock to 9 am
| |
| </li>
| |
| <li>
| |
| <strong>/time set night</strong> <br>
| |
| Sets the internal clock to 7 pm
| |
| </li>
| |
| <li>
| |
| <strong>/time set [time]</strong><br>
| |
| Sets the internal calendar to given time. Examples: /time set 12:00
| |
| </li>
| |
| <li>
| |
| <strong>/time speed</strong> <br>
| |
| Shows current game time speed
| |
| </li>
| |
| <li>
| |
| <strong>/time speed 0-99999</strong> <br>
| |
| Sets the game time speed (default 60)<br>
| |
|
| |
| </li>
| |
| </ul>
| |
| </li>
| |
| <li>
| |
| <strong>/tp [coordinates]</strong><br>
| |
| Teleport yourself to a different position
| |
| <ul>
| |
| <li>
| |
| <strong>/tp x y z</strong><br>
| |
| Teleports<strong> </strong>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> </strong>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>
| |
|
| |
| </li>
| |
| </ul>
| |
| </li>
| |
| <li>
| |
| <strong>/tp [playername] [coordinates]</strong><br>
| |
| Teleport given player to a different position<br>
| |
|
| |
| </li>
| |
| <li>
| |
| <strong>/group [create|disband|rename|invite|acceptinvite|leave|list|kick|op|deop] </strong><br>
| |
| Create/manage or destrory a player group
| |
| <ul>
| |
| <li>
| |
| <strong>/group create [groupname]</strong> Creates a new player group (=own chat channel)<br>
| |
| While in the this groups chat channel:
| |
| <ul>
| |
| <li>
| |
| <strong>/group invite [playername] </strong>Invites a player to this group
| |
| </li>
| |
| <li>
| |
| <strong>/group acceptinvite [groupname] </strong>Accept an invite to join the group
| |
| </li>
| |
| <li>
| |
| <strong>/group leave</strong> Leaves this player group
| |
| </li>
| |
| <li>
| |
| <strong>/group list</strong> Lists all groups you are currently in
| |
| </li>
| |
| <li>
| |
| <strong>/group rename newgroupname</strong> Renames the group
| |
| </li>
| |
| <li>
| |
| <strong>/group kick [playername]</strong> Removes a player from the group
| |
| </li>
| |
| <li>
| |
| <strong>/group op [playername]</strong> Grants operator status to this player, which allows him to invite other players.
| |
| </li>
| |
| <li>
| |
| <strong>/group deop [playername] </strong>Revokes operator status from this player.
| |
| </li>
| |
| <li>
| |
| <strong>/group disband </strong>Destroy a player group. Must be owner to perform this command<br>
| |
|
| |
| </li>
| |
| </ul>
| |
| </li>
| |
| </ul>
| |
| </li>
| |
| <li>
| |
| <strong>Server Specific Tools</strong>
| |
| <ul>
| |
| <li>
| |
| <strong>/bir [getid|getcode|remap]</strong> Block id remapper tools. Useful to fix broken blocks after removing/updating custom blocks
| |
| </li>
| |
| <li>
| |
| <strong>/forceloadchunks x1 z1 x2 z1 [sendtoclient] </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>
| |
| <strong>/sendchunks [0 or 1]</strong> Toggles whether to send any new chunks to the client (force sending chunks are sent anyway)
| |
| </li>
| |
| <li>
| |
| <strong>/reloadmods</strong> Reloads all server mods that support reloading<br>
| |
|
| |
| </li>
| |
| </ul>
| |
| </li>
| |
| <li>
| |
| <strong>Multiplayer Specific Tools</strong>
| |
| <ul>
| |
| <li>
| |
| <strong>/welcome</strong> Sets the servers welcome message
| |
| </li>
| |
| <li>
| |
| <strong>/stop</strong> Shuts down the server
| |
| </li>
| |
| <li>
| |
| <strong>/privgrp [playername] [groupname]</strong> Puts a player into a privilege group
| |
| </li>
| |
| <li>
| |
| <strong>/serverconfig defaultspawn [x] [y] [z]</strong> Moves default world spawn
| |
| </li>
| |
| <li>
| |
| <strong>/op [playername]</strong> Shorthand for <strong>/privgrp Admin [playername]</strong>
| |
| </li>
| |
| <li>
| |
| <strong>/addarea</strong> Add a build permission area
| |
| </li>
| |
| <li>
| |
| <strong>/delarea </strong>Remove a build permission area
| |
| </li>
| |
| <li>
| |
| <strong>/addpriv </strong>Add a privilege to a permission group
| |
| </li>
| |
| <li>
| |
| <strong>/removepriv </strong>Remove a privilge from a permission group
| |
| </li>
| |
| <li>
| |
| <strong>/ban [reason]</strong> Ban a player
| |
| </li>
| |
| <li>
| |
| <strong>/unband [playername]</strong> Unban a player
| |
| </li>
| |
| <li>
| |
| <strong>/kick[reason]</strong> Kick a player
| |
| </li>
| |
| </ul>
| |
| </li>
| |
| </ul>
| |
| <p>
| |
|
| |
| </p>
| |
| | |
| <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
| |
| <ul>
| |
| <li>
| |
| <strong>/macro addcmd [command without /]</strong> Add a command to a temporary macro
| |
| </li>
| |
| <li>
| |
| <strong>/macro setcmd[command without /]</strong> Set a command to a temporary macro (removes previously added ones)
| |
| </li>
| |
| <li>
| |
| <strong>/macro syntax</strong> Sets the syntax help info displayed when using /help
| |
| </li>
| |
| <li>
| |
| <strong>/macro desc</strong> Sets the description text displayed when using /help
| |
| </li>
| |
| <li>
| |
| <strong>/macro priv</strong> Sets the privilege required to execute this command, e.g. <em>controlserver</em> if only for admins or <em>build</em> for any player with build rights
| |
| </li>
| |
| <li>
| |
| <strong>/macro show</strong> Shows the contents temporary macro currently being defined by above commands
| |
| </li>
| |
| <li>
| |
| <strong>/macro save [name]</strong> Saves the temporary macro defined by above command to given command name
| |
| </li>
| |
| <li>
| |
| <strong>/macro list</strong> Shows a list of all saved macros
| |
| </li>
| |
| <li>
| |
| <strong>/macro show [name] </strong>Shows the contents of a saved macro
| |
| </li>
| |
| <li>
| |
| <strong>/macro delete [name]</strong> Deletes a previously saved macro
| |
| </li>
| |
| <li>
| |
| <strong>/macro discard [name]</strong> Discards the temporary macro
| |
| </li>
| |
| </ul>
| |
| </li>
| |
| </ul>
| |
| <p>
| |
|
| |
| </p>
| |
|
| |
|
| == Full command list from 1.5.1.4 == | | == Full command list from 1.5.1.4 == |
Line 494: |
Line 168: |
| .we - World edit toolbar<br> | | .we - World edit toolbar<br> |
| .zfar - Sets the zfar clipping plane. Useful when up the limit of 1km view distance.<br> | | .zfar - Sets the zfar clipping plane. Useful when up the limit of 1km view distance.<br> |
| <br>
| |
| Type .help [commandname] to see this commands arguments<br>
| |
| <br>
| |
| /addarea - Add a build permission to a world area<br>
| |
| /announce - Announce a server wide message in all groupIds<br>
| |
| /ban - Ban a player (will also kick him if online)<br>
| |
| /bir - Block id remapper info and fixing tool<br>
| |
| /chunkunload - Toggle on/off whether the server (and thus in turn the client) should unload chunks<br>
| |
| /cit - Chunk information from the supply chunks thread<br>
| |
| /clear - Clear a players inventory<br>
| |
| /clearentities - Removes all entities (except playerentities and blockentities) from all loaded chunks<br>
| |
| /debug - Debug utilities<br>
| |
| /delarea - Remove a build permission to a world area<br>
| |
| /entity - Entity control<br>
| |
| /expclang - Export a list of block and item translations and add placeholders for missing translations<br>
| |
| /forceloadchunks - Forces the server to preload all chunks columns in given area and won't unload them until restarted. If 'sendtoclient' is supplied these chunks are also sent to client once loaded<br>
| |
| /gamemode - Get or Set a players gamemode. Short hand for /player (playername) gamemode<br>
| |
| /genbackup - Create a hardcopy of the current save game<br>
| |
| /gencaves - Cave generator test tool. Deletes all chunks in the area and generates inverse caves around the world middle<br>
| |
| /giveblock - Give blocks to a player<br>
| |
| /giveitem - Give items to a player<br>
| |
| /group - Manage a player group<br>
| |
| /groupinvite [on|off] - Enables or disables group invites to be sent to you<br>
| |
| /help - Display list of available server commands<br>
| |
| /iir - Item id remapper info and fixing tool<br>
| |
| /kick - Kick a player<br>
| |
| /kill - Kill yourself<br>
| |
| /list - Show global lists (clients, areas, areasatpos, banned, roles or privileges)<br>
| |
| /macro - Create or delete a macro<br>
| |
| /moderrors - Lists the error messages from loading mods<br>
| |
| /op - Give a player admin status. Shorthand for /player (playername) role admin<br>
| |
| /player - Modify/See player related data<br>
| |
| /pm - Send a private message to a user (creates a temporary group)<br>
| |
| /reloadmods - Reloads all server mods<br>
| |
| /role - Modify/See player role related data<br>
| |
| /seed - Shows the current world seed<br>
| |
| /sendchunks - Allows toggling of the normal chunk generation/sending operations to all clients. Force loaded chunks are not affected by this switch<br>
| |
| /serverconfig - Modify the server config<br>
| |
| /setambient - Sets the server controlled ambient for everyone. Json format.<br>
| |
| /stats - Server stats<br>
| |
| /stop - Shut down the server<br>
| |
| /time - Get or set game world time<br>
| |
| /tp - Teleport to player or position<br>
| |
| /unban - Unban a player<br>
| |
| /we - World edit tools<br>
| |
| /welcome - Set the servers welcome message<br>
| |
| /wgen - World generator tools<br>
| |
| <br>
| |
| Type /help [commandname] to see this commands arguments<br>
| |