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: Op commands are broadcasted to the other ops online.

Command-Block only commands
These commands can be used only in a command block and cannot be used in other ways.