Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/help: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
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={{cmd|?|link=none}}{{only|bedrock}}
|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.


{{IN|java}}, some complicated commands may show only the basic usage; additional information can be supplied by entering more specific parameters of that command.
{{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==


{{argument|command|string|command: CommandName|enum}}
{{MC/Argument|command|string|command: CommandName|enum}}
: Specifies the command name to provide help for.
: Specifies the command name to provide help for.
: {{IN|java}}:
: {{MC/In|java}}:
:: {{arg desc|je=string|type=greedy}} Entering more specific parameters of that command is allowed.
:: {{MC/Arg desc|je=string|type=greedy}} Entering more specific parameters of that command is allowed.
: {{IN|bedrock}}:
: {{MC/In|bedrock}}:
:: Must be a valid command name.
:: Must be a valid command name.


{{el|be|short=1}}: {{argument|be=1|page: int|int}}
{{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.
: {{arg desc|be=int}} And it must be between -2147483648 and 2147483647 (inclusive).
: {{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 {{cmd|give}} command: <code>/help give</code>.
* To display the usage for the {{MC/Cmd|give}} command: <code>/help give</code>.
* To display the usage for the {{cd|add}} section of the {{cmd|scoreboard}} command: <code>/help scoreboard add</code>.
* 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 {{cd|/help}} and alias {{cd|/?}}.}}
|{{HistoryLine||1.3.1|dev=12w17a|Added {{MC/Cd|/help}} and alias {{MC/Cd|/?}}.}}
|{{HistoryLine||1.9|dev=16w02a|Running {{cd|/help}} in a command block now randomly uses a humorous phrase as the output.}}
|{{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 {{cd|/help}} in a command block no longer shows a humorous phrase as the output.<ref>{{bug|MC-124295}}</ref>
|{{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>
|{{cd|/help}} is no longer split into pages.
|{{MC/Cd|/help}} is no longer split into pages.
|Removed alias {{cd|/?}}}}
|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 {{cd|/help}} and its alias {{cd|/?}}.}}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{MC/Cd|/help}} and its alias {{MC/Cd|/?}}.}}
}}
}}


== References ==
== References ==
{{reflist}}
{{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.
  1. 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
  1. REDIRECT Template:Command

Template:Redr command: /help give.

  • To display the usage for the
  1. REDIRECT Template:Code

Template:Redr section of the

  1. REDIRECT Template:Command

Template:Redr command: /help scoreboard add.

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

References

<references group="">

 </references>

External links

Navigation

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

de:Befehl/help es:Comandos/help ja:コマンド/help ko:명령어/help lzh:令/help nl:Opdrachten/help pt:Comandos/help ru:Команды консоли/help uk:Команди консолі/help zh:命令/help