Commands

SMP Server commands may be used by Players and Operators while in Survival Multiplayer (SMP) mode and connected to a Minecraft server. They may be entered from a Minecraft client while in the game or on the host computer's server console.

Commands being entered into the Minecraft client itself must be prefixed by a slash (example: ). Commands being executed via the console are not preceded by a slash.

Player Commands
These commands are usable via the chat window by any player who is allowed to connect to the server.

Operator-only commands
These commands are usable by ops (operators) from the server console as well as through the chat window when prefixed by the command character (a forward slash). For example: "/help" instead of "help". Required arguments appear in ; optional arguments appear in [square brackets].

Note: Players do not normally see op commands being entered, but they are broadcast to the other ops on the server at the time.

{|
 * width="300pt" align="center" style="background:#f0f0f0;"|Command
 * width="600pt" align="center" style="background:#f0f0f0;"|Description
 * ban ||Blacklists the name playername from the server so that they can no longer connect. Note: Bans supersede any whitelisting in place.
 * ban-ip ||Blacklists an IP address so that all subsequent connections from it are rejected.
 * banlist [ips]||Displays the banlist. To display banned IP addresses, use the command banlist ips
 * deop ||Revokes a player's operator status.
 * gamemode  <0 | 1>||Changes the game mode for playername to Survival (0) mode or Creative (1) mode. Remember, this will only affect playername and no one else; it may confuse others. Note: Player must currently be online for the command to work.
 * give   [amount] [damage-value]||Spawns amount (defaults to 1) of the item defined by data-value with the specified damage value (defaults to 0) at playername 's location. For example typing /give John 4 30 will give a player called John 30 blocks of cobblestone.
 * help OR ?OR h||Shows a list of available server commands. Note: banlist, whitelist, toggledownfall, xp, tell, me, and kill commands are not listed.
 * kick ||Forcibly disconnects playername from the server.
 * list||Shows the names of all currently-connected players
 * op ||Grants playername operator status on the server.
 * pardon ||Removes playername from the blacklist, allowing them to connect again.
 * pardon-ip ||Removes ip-address from the IP blacklist, allowing players from that IP address to connect to the server.
 * save-all||Forces the server to write all pending changes to the world to disk.
 * save-off||Disables the server writing to the world files. All changes will temporarily be queued.
 * save-on||Enables the server writing to the world files. This is the default behaviour.
 * say ||Broadcasts message to all players on the server (in bright pink letters)
 * stop||Gracefully shuts down the server.
 * time  ||Set or increment (add to) the world time. number is an integer between 0 and 24000, inclusive, where 0 is dawn, 6000 midday, 12000 dusk and 18000 midnight (i.e. the clock is bisected; left side is night, right side is day). Note: You can also subtract from the current time by using the 'add X' modifier, by using a negative value (i.e. 'time add -6000' would change midnight to dusk)
 * toggledownfall||Toggles rain and snow.
 * tp  ||Teleports player playername to targetplayer 's location
 * whitelist  <playername>||Adds or removes playername from the whitelist.
 * whitelist <on | off>||Enables/disables the server's use of a whitelist. Note: Server ops will always be able to connect when the whitelist is active, even if their names do not appear in the whitelist.
 * whitelist <reload>||Reloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of Minecraft).
 * xp <playername> <amount>||Gives the specified user the given number of orbs. Maximum is 5000 per command. Negative amounts may be used to remove experience progress, but not actual levels.
 * save-all||Forces the server to write all pending changes to the world to disk.
 * save-off||Disables the server writing to the world files. All changes will temporarily be queued.
 * save-on||Enables the server writing to the world files. This is the default behaviour.
 * say <message>||Broadcasts message to all players on the server (in bright pink letters)
 * stop||Gracefully shuts down the server.
 * time <set | add> <number>||Set or increment (add to) the world time. number is an integer between 0 and 24000, inclusive, where 0 is dawn, 6000 midday, 12000 dusk and 18000 midnight (i.e. the clock is bisected; left side is night, right side is day). Note: You can also subtract from the current time by using the 'add X' modifier, by using a negative value (i.e. 'time add -6000' would change midnight to dusk)
 * toggledownfall||Toggles rain and snow.
 * tp <playername> <targetplayer>||Teleports player playername to targetplayer 's location
 * whitelist <add | remove> <playername>||Adds or removes playername from the whitelist.
 * whitelist <on | off>||Enables/disables the server's use of a whitelist. Note: Server ops will always be able to connect when the whitelist is active, even if their names do not appear in the whitelist.
 * whitelist <reload>||Reloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of Minecraft).
 * xp <playername> <amount>||Gives the specified user the given number of orbs. Maximum is 5000 per command. Negative amounts may be used to remove experience progress, but not actual levels.
 * toggledownfall||Toggles rain and snow.
 * tp <playername> <targetplayer>||Teleports player playername to targetplayer 's location
 * whitelist <add | remove> <playername>||Adds or removes playername from the whitelist.
 * whitelist <on | off>||Enables/disables the server's use of a whitelist. Note: Server ops will always be able to connect when the whitelist is active, even if their names do not appear in the whitelist.
 * whitelist <reload>||Reloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of Minecraft).
 * xp <playername> <amount>||Gives the specified user the given number of orbs. Maximum is 5000 per command. Negative amounts may be used to remove experience progress, but not actual levels.
 * whitelist <on | off>||Enables/disables the server's use of a whitelist. Note: Server ops will always be able to connect when the whitelist is active, even if their names do not appear in the whitelist.
 * whitelist <reload>||Reloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of Minecraft).
 * xp <playername> <amount>||Gives the specified user the given number of orbs. Maximum is 5000 per command. Negative amounts may be used to remove experience progress, but not actual levels.
 * whitelist <reload>||Reloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of Minecraft).
 * xp <playername> <amount>||Gives the specified user the given number of orbs. Maximum is 5000 per command. Negative amounts may be used to remove experience progress, but not actual levels.
 * xp <playername> <amount>||Gives the specified user the given number of orbs. Maximum is 5000 per command. Negative amounts may be used to remove experience progress, but not actual levels.

SMP Server commands Commandes de serveur Szerverparancsok