Commands

Commands may be used by players, operators and the Command Block while in multiplayer connected to a Minecraft server, and in singleplayer when the user has cheats enabled for the world. 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: ). The command window is identical to the chat window and can be accessed by pressing or starting directly by entering a slash. Commands being executed via the console are not preceded by a slash.

Pressing cycles through possible commands or arguments.

Player commands
These commands can be used in 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]. Arguments in italics should be replaced by an appropriate value; arguments in plain text must be entered exactly as shown.

These commands are also available in SSP with enabled cheats or for players hosting a world.

Note: Players can see op commands being entered and are broadcasted to the other ops online on the server as well.

Multplayer only commands
{|
 * width="300pt" align="center" style="background:#f0f0f0;"|Command
 * width="600pt" align="center" style="background:#f0f0f0;"|Description
 * ban  [reason]||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"
 * 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"
 * banlist [ips]||Displays the banlist. To display banned IP addresses, use the command "banlist ips"


 * deop ||Revokes a player's operator status.
 * kick  [reason]||Forcibly disconnects playername from the server.
 * list||Shows the names of all currently-connected players (the same can be achieved when pressing tab)
 * 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 behavior.
 * stop||Gracefully shuts down the server.
 * whitelist  ||Adds or removes playername from the whitelist.
 * whitelist list||Displays all players in the whitelist.
 * whitelist ||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).
 * ""fly"" ||Allows player not in creative to enable flying for them on that server
 * save-on||Enables the server writing to the world files. This is the default behavior.
 * stop||Gracefully shuts down the server.
 * whitelist  ||Adds or removes playername from the whitelist.
 * whitelist list||Displays all players in the whitelist.
 * whitelist ||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).
 * ""fly"" ||Allows player not in creative to enable flying for them on that server
 * whitelist list||Displays all players in the whitelist.
 * whitelist ||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).
 * ""fly"" ||Allows player not in creative to enable flying for them on that server
 * whitelist reload ||Reloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of Minecraft).
 * ""fly"" ||Allows player not in creative to enable flying for them on that server
 * ""fly"" ||Allows player not in creative to enable flying for them on that server