Minecraft:Commands/help: Difference between revisions
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{Redirect|Help|help with editing the Minecraft Wiki|Help:Contents}} | ||
{{ | {{Redirect|?}} | ||
{{Infobox command | {{Infobox command | ||
|name=help | |name=help | ||
|alias={{ | |alias={{cmd|?|link=none}}{{only|bedrock}} | ||
|oplevel=0 | |oplevel=0 | ||
}} | }} | ||
| Line 13: | Line 12: | ||
Commands that the executor cannot use (due to permission level or other restrictions) are not displayed. | Commands that the executor cannot use (due to permission level or other restrictions) are not displayed. | ||
{{ | {{IN|java}}, some complicated commands may show only the basic usage; additional information can be supplied by entering more specific parameters of that command. | ||
==Syntax== | ==Syntax== | ||
| Line 31: | Line 30: | ||
==Arguments== | ==Arguments== | ||
{{ | {{argument|command|string|command: CommandName|enum}} | ||
: Specifies the command name to provide help for. | : Specifies the command name to provide help for. | ||
: {{ | : {{IN|java}}: | ||
:: {{ | :: {{arg desc|je=string|type=greedy}} Entering more specific parameters of that command is allowed. | ||
: {{ | : {{IN|bedrock}}: | ||
:: Must be a valid command name. | :: Must be a valid command name. | ||
{{ | {{el|be|short=1}}: {{argument|be=1|page: int|int}} | ||
: 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. | : 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. | ||
: {{ | : {{arg desc|be=int}} And it must be between -2147483648 and 2147483647 (inclusive). | ||
==Result== | ==Result== | ||
| Line 52: | Line 51: | ||
== Output == | == Output == | ||
{{ | {{Output table}} | ||
{{ | {{Output table|edition=je|On fail|0|0|0}} | ||
{{ | {{Output table|On success|1|1|the number of listed command usages}} | ||
{{ | {{Output table|edition=be|On fail|0}} | ||
{{ | {{Output table|On success|1}} | ||
{{ | {{Output table}} | ||
==Examples== | ==Examples== | ||
* To display (the first page of{{only|bedrock}}) the command list: <code>/help</code>. | * To display (the first page of{{only|bedrock}}) the command list: <code>/help</code>. | ||
* To display the usage for the {{ | * To display the usage for the {{cmd|give}} command: <code>/help give</code>. | ||
* To display the usage for the {{ | * To display the usage for the {{cd|add}} section of the {{cmd|scoreboard}} command: <code>/help scoreboard add</code>. | ||
== History == | == History == | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.3.1|dev=12w17a|Added {{ | |{{HistoryLine||1.3.1|dev=12w17a|Added {{cd|/help}} and alias {{cd|/?}}.}} | ||
|{{HistoryLine||1.9|dev=16w02a|Running {{ | |{{HistoryLine||1.9|dev=16w02a|Running {{cd|/help}} in a command block now randomly uses a humorous phrase as the output.}} | ||
|{{HistoryLine||1.13|dev=17w45a|Running {{ | |{{HistoryLine||1.13|dev=17w45a|Running {{cd|/help}} in a command block no longer shows a humorous phrase as the output.<ref>{{bug|MC-124295}}</ref> | ||
|{{ | |{{cd|/help}} is no longer split into pages. | ||
|Removed alias {{ | |Removed alias {{cd|/?}}}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|pocket alpha}} | ||
|{{HistoryLine||v0.16.0|dev=build 1|Added {{ | |{{HistoryLine||v0.16.0|dev=build 1|Added {{cd|/help}} and its alias {{cd|/?}}.}} | ||
}} | }} | ||
== References == | == References == | ||
{{ | {{reflist}} | ||
== External links == | == External links == | ||
| Line 90: | Line 89: | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
de:Befehl/help | [[Minecraft:de:Befehl/help]] | ||
es:Comandos/help | [[Minecraft:es:Comandos/help]] | ||
ja:コマンド/help | [[Minecraft:fr:Commandes/help]] | ||
ko:명령어/help | [[Minecraft:ja:コマンド/help]] | ||
lzh:令/help | [[Minecraft:ko:명령어/help]] | ||
nl:Opdrachten/help | [[Minecraft:lzh:令/help]] | ||
pt:Comandos/help | [[Minecraft:nl:Opdrachten/help]] | ||
ru:Команды консоли/help | [[Minecraft:pt:Comandos/help]] | ||
uk:Команди консолі/help | [[Minecraft:ru:Команды консоли/help]] | ||
zh:命令/help | [[Minecraft:uk:Команди консолі/help]] | ||
[[Minecraft:zh:命令/help]] | |||
Latest revision as of 11:03, 17 May 2026
Template:Redirect Template:Redirect Template:Infobox command
Provides help/lists of Minecraft:commands.
Usage
Commands that the executor cannot use (due to permission level or other restrictions) are not displayed.
Template:IN, 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
- Specifies the command name to provide help for.
- Template:IN:
- Template:Arg desc Entering more specific parameters of that command is allowed.
- Template:IN:
- Must be a valid command name.
Template:El: Template:Argument
- 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.
- Template:Arg desc And it must be between -2147483648 and 2147483647 (inclusive).
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table Template:Output table
Examples
- To display (the first page ofTemplate:Only) the command list:
/help. - To display the usage for the Template:Cmd command:
/help give. - To display the usage for the Template:Cd section of the Template:Cmd command:
/help scoreboard add.
History
Java Edition
Bedrock Edition
References
External links
Minecraft:de:Befehl/help Minecraft:es:Comandos/help Minecraft:fr:Commandes/help Minecraft:ja:コマンド/help Minecraft:ko:명령어/help Minecraft:lzh:令/help Minecraft:nl:Opdrachten/help Minecraft:pt:Comandos/help Minecraft:ru:Команды консоли/help Minecraft:uk:Команди консолі/help Minecraft:zh:命令/help