Commands/help

Provides help for and lists of commands.

Syntax

 * Java Edition


 * Bedrock Edition

Arguments

 * (BE:  or  ) (optional)
 * Specifies the page number of the command list or the command to provide help for. If not specified, defaults to  (the first page of the command list).

Result
Fails if is not a valid page number, or if  is not a valid command name. Technically fails even if a valid command name is specified, although it displays the usage of the command.

On success, displays a page of the command list. Multiplayer commands are not displayed while in singleplayer, even when open to LAN players.

If a valid command name was specified, displays the usage for that command. For some complicated commands may show only the basic usage — additional information can sometimes be gained by attempting to type the command and using the auto-complete control (defaults to key) to explore available options for each argument.

Examples

 * To display the first page of the command list:
 * To display the third page of the command list:
 * To display the usage for the command:

History
Befehl/help 命令/help