/help
< Commands
/help| Aliases |
|
|---|---|
| Permission level required |
0 |
| Restrictions |
None |
{
"title": "<code>/help</code>",
"rows": [
{
"field": "<!-- Command --><code ><span>/?</span></code><!-- /Command -->โ<sup class=\"noprint nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Bedrock Edition\">(link to Bedrock Edition article, displayed as Bedrock Edition) only</span></i>]</sup>",
"label": "Aliases"
},
{
"field": "0",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Provides help/lists of commands.
Usage
Commands that the executor cannot use (due to permission level or other restrictions) are not displayed.
In Java Edition, some complicated commands may show only the basic usage; additional information can be supplied by entering more specific parameters of that command.
Syntax
- Java Edition
help- Lists all commands.
help <command>- Shows usages for one command.
- Bedrock Edition
help <command: CommandName>- Shows usages for one command.
help [page: int]- Lists all commands.
Arguments
JE: <command>: string
BE: command: CommandName: enum
- Specifies the command name to provide help for.
- In Java Edition:
- Must be a string. And it is a greedy phrase (taking the rest of the command as the string argument). Entering more specific parameters of that command is allowed.
- In Bedrock Edition:
- Must be a valid command name.
- Specifies the page number of the command list. Numbers less than 1 or greater than the total number of pages are treated as 1 or the last page respectively.
- Must be a [Int]32-bit integer number (from -2147483648 (-231) to 2147483647 (231-1) ). And it must be between -2147483648 and 2147483647 (inclusive).
Result
| Command | Trigger | Java Edition | Bedrock Edition |
|---|---|---|---|
/help <command: CommandName> | The command is incomplete, or any argument is not specified correctly. | N/A | Unparseable |
/help <command> | <command> is invalid. | Failed | N/A |
| Any | Otherwise | Successful | |
Output
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| Any | Java Edition | On fail | 0 | 0 | 0 |
| On success | 1 | 1 | the number of listed command usages | ||
| Bedrock Edition | On fail | 0 | N/A | N/A | |
| On success | 1 | N/A | N/A |
Examples
- To display (the first page ofโ) the command list:
/help. - To display the usage for the
/givecommand:/help give. - To display the usage for the
addsection of the/scoreboardcommand:/help scoreboard add.
History
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.3.1 | 12w17a | Added /help and alias /?. | |||||
| 1.9 | 16w02a | Running /help in a command block now randomly uses a humorous phrase as the output. | |||||
| 1.13 | 17w45a | Running /help in a command block no longer shows a humorous phrase as the output.[1]
| |||||
/help is no longer split into pages.
| |||||||
Removed alias /? | |||||||
| Pocket Edition Alpha | |||||||
| v0.16.0 | build 1 | Added /help. | |||||