Commands/help

Provides help/list of commands.


 * Syntax


 * Java Edition


 * Bedrock Edition


 * Arguments


 * page|command name (BE: page: int or command: CommandName) (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 page is not a valid page number, or if command name 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 will not be 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 help command: