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)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
Line 1: Line 1:
{{MC/Redirect|Help|help with editing the Minecraft Wiki|Help:Contents}}
{{Redirect|?}}
{{MC/Redirect|?}}
{{MC/Distinguish|Kelp}}
{{Infobox command
{{Infobox command
|name=help
|name=help
|alias={{MC/Cmd|?|link=none}}{{only|bedrock}}
|alias={{cmd|?|link=none}}{{only|bedrock}}
|oplevel=0
|oplevel=0
}}
}}
Line 13: Line 11:
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.
{{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 29:
==Arguments==
==Arguments==


{{MC/Argument|command|string|command: CommandName|enum}}
{{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}}:
: {{IN|java}}:
:: {{MC/Arg desc|je=string|type=greedy}} Entering more specific parameters of that command is allowed.
:: {{arg desc|je=string|type=greedy}} Entering more specific parameters of that command is allowed.
: {{MC/In|bedrock}}:
: {{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}}
{{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.
: {{MC/Arg desc|be=int}} And it must be between -2147483648 and 2147483647 (inclusive).
: {{arg desc|be=int}} And it must be between -2147483648 and 2147483647 (inclusive).


==Result==
==Result==
Line 52: Line 50:
== Output ==
== Output ==


{{MC/Output table}}
{{Output table}}
{{MC/Output table|edition=je|On fail|0|0|0}}
{{Output table|edition=je|On fail|0|0|0}}
{{MC/Output table|On success|1|1|the number of listed command usages}}
{{Output table|On success|1|1|the number of listed command usages}}
{{MC/Output table|edition=be|On fail|0}}
{{Output table|edition=be|On fail|0}}
{{MC/Output table|On success|1}}
{{Output table|On success|1}}
{{MC/Output table}}
{{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 {{MC/Cmd|give}} command: <code>/help give</code>.
* To display the usage for the {{cmd|give}} command: <code>/help give</code>.
* To display the usage for the {{MC/Cd|add}} section of the {{MC/Cmd|scoreboard}} command: <code>/help scoreboard add</code>.
* 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
|{{MC/HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.3.1|dev=12w17a|Added {{MC/Cd|/help}} and alias {{MC/Cd|/?}}.}}
|{{HistoryLine||1.3.1|dev=12w17a|Added {{cd|/help}} and alias {{cd|/?}}.}}
|{{HistoryLine||1.9|dev=16w02a|Running {{MC/Cd|/help}} in a command block now randomly uses a humorous phrase as the output.}}
|{{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 {{MC/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 {{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.
|{{cd|/help}} is no longer split into pages.
|Removed alias {{MC/Cd|/?}}}}
|Removed alias {{cd|/?}}}}
}}
}}


=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|pocket alpha}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{MC/Cd|/help}} and its alias {{MC/Cd|/?}}.}}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{cd|/help}} and its alias {{cd|/?}}.}}
}}
}}


== References ==
== References ==
{{MC/Reflist}}
{{reflist}}


== External links ==
== External links ==
Line 90: Line 88:


== Navigation ==
== Navigation ==
{{MC/Navbox commands}}
{{Navbox commands}}


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

Revision as of 11:05, 25 April 2026

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

Template:Argument

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

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

References

Template:Reflist

External links

Navigation

Template:Navbox commands

Minecraft:de:Befehl/help Minecraft:es:Comandos/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