Minecraft:Commands/help: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{Redirect|Help|help with editing the Minecraft Wiki|Help:Contents}} | {{MC/Redirect|Help|help with editing the Minecraft Wiki|Help:Contents}} | ||
{{Redirect|?}} | {{MC/Redirect|?}} | ||
{{Distinguish|Kelp}} | {{MC/Distinguish|Kelp}} | ||
{{Infobox command | {{Infobox command | ||
|name=help | |name=help | ||
|alias={{ | |alias={{MC/Cmd|?|link=none}}{{only|bedrock}} | ||
|oplevel=0 | |oplevel=0 | ||
}} | }} | ||
| Line 13: | Line 13: | ||
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. | ||
{{ | {{MC/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 31: | ||
==Arguments== | ==Arguments== | ||
{{ | {{MC/Argument|command|string|command: CommandName|enum}} | ||
: Specifies the command name to provide help for. | : Specifies the command name to provide help for. | ||
: {{ | : {{MC/In|java}}: | ||
:: {{ | :: {{MC/Arg desc|je=string|type=greedy}} Entering more specific parameters of that command is allowed. | ||
: {{ | : {{MC/In|bedrock}}: | ||
:: Must be a valid command name. | :: Must be a valid command name. | ||
{{ | {{MC/El|be|short=1}}: {{MC/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. | ||
: {{ | : {{MC/Arg desc|be=int}} And it must be between -2147483648 and 2147483647 (inclusive). | ||
==Result== | ==Result== | ||
| Line 52: | Line 52: | ||
== Output == | == Output == | ||
{{Output table}} | {{MC/Output table}} | ||
{{Output table|edition=je|On fail|0|0|0}} | {{MC/Output table|edition=je|On fail|0|0|0}} | ||
{{Output table|On success|1|1|the number of listed command usages}} | {{MC/Output table|On success|1|1|the number of listed command usages}} | ||
{{Output table|edition=be|On fail|0}} | {{MC/Output table|edition=be|On fail|0}} | ||
{{Output table|On success|1}} | {{MC/Output table|On success|1}} | ||
{{Output table}} | {{MC/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 {{MC/Cmd|give}} command: <code>/help give</code>. | ||
* To display the usage for the {{ | * To display the usage for the {{MC/Cd|add}} section of the {{MC/Cmd|scoreboard}} command: <code>/help scoreboard add</code>. | ||
== History == | == History == | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.3.1|dev=12w17a|Added {{ | |{{HistoryLine||1.3.1|dev=12w17a|Added {{MC/Cd|/help}} and alias {{MC/Cd|/?}}.}} | ||
|{{HistoryLine||1.9|dev=16w02a|Running {{ | |{{HistoryLine||1.9|dev=16w02a|Running {{MC/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 {{MC/Cd|/help}} in a command block no longer shows a humorous phrase as the output.<ref>{{bug|MC-124295}}</ref> | ||
|{{ | |{{MC/Cd|/help}} is no longer split into pages. | ||
|Removed alias {{ | |Removed alias {{MC/Cd|/?}}}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|pocket alpha}} | |{{MC/HistoryLine|pocket alpha}} | ||
|{{HistoryLine||v0.16.0|dev=build 1|Added {{ | |{{HistoryLine||v0.16.0|dev=build 1|Added {{MC/Cd|/help}} and its alias {{MC/Cd|/?}}.}} | ||
}} | }} | ||
== References == | == References == | ||
{{ | {{MC/Reflist}} | ||
== External links == | == External links == | ||
| Line 90: | Line 90: | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
de:Befehl/help | de:Befehl/help | ||
Latest revision as of 20:11, 9 April 2026
Template:Hatnote Template:Hatnote Template:Hatnote 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.
in Template:Editions, 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
Template:El: <command>: string
Template:El: command: CommandName: enum
- Specifies the command name to provide help for.
- in Template:Editions:
- {{#vardefine:onlyje|}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|string}}{{#vardefine:be-arg|}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}} Entering more specific parameters of that command is allowed.
- in Template:Editions:
- Must be a valid command name.
- REDIRECT Template:Edition
Template:Rcat: 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.
- {{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|integer}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}} 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
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On fail}}{{#vardefine:output1-{{#var:output-table-lines}}|0}}{{#vardefine:output2-{{#var:output-table-lines}}|0}}{{#vardefine:output3-{{#var:output-table-lines}}|0}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-editions-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-{{#var:output-editions-num}}|je}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|1}}{{#vardefine:output3-{{#var:output-table-lines}}|the number of listed command usages}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On fail}}{{#vardefine:output1-{{#var:output-table-lines}}|0}}{{#vardefine:output2-{{#var:output-table-lines}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-editions-num|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-{{#var:output-editions-num}}|be}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|1}} {{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:situation-{{#var:output-table-lines}}|On success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|N/A}}{{#vardefine:output3-{{#var:output-table-lines}}|N/A}}{{#vardefine:command-row-{{#var:commands-num}}|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-edition-row-{{#var:output-editions-num}}|Expression error: Unrecognized punctuation character "{".}}
{{#vardefine:output-table-lines|Expression error: Unrecognized punctuation character "{".}}{{#vardefine:output-table-lines|-2}}{{#vardefine:output-table-lines-now|}}{{#vardefine:command-num-now|}}{{#vardefine:command-line-now|}}{{#vardefine:commands-num|}}{{#vardefine:output-edition-num-now|}}{{#vardefine:output-edition-line-now|}}{{#vardefine:output-editions-num|}}{{#vardefine:je-outputs-dis|}}
Examples
- To display (the first page ofTemplate:Only) the command list:
/help. - To display the usage for the
- REDIRECT Template:Command
Template:Redr command: /help give.
- To display the usage for the
- REDIRECT Template:Code
Template:Redr section of the
- REDIRECT Template:Command
Template:Redr command: /help scoreboard add.
History
Java Edition
Bedrock Edition
References
<references group="">
</references>
External links
de:Befehl/help es:Comandos/help ja:コマンド/help ko:명령어/help lzh:令/help nl:Opdrachten/help pt:Comandos/help ru:Команды консоли/help uk:Команди консолі/help zh:命令/help