Minecraft:Commands/me: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 16: | Line 16: | ||
== Arguments == | == Arguments == | ||
{{ | {{MC/Argument|action|message|reason: message|CommandMessage}} | ||
: Specifies the message to display. | : Specifies the message to display. | ||
: {{ | : {{MC/Arg desc|je=message|be=CommandMessage}} | ||
== Result == | == Result == | ||
| Line 29: | Line 29: | ||
== Output == | == Output == | ||
{{Output table}} | {{MC/Output table}} | ||
{{Output table|edition=je|On success|1|1|1}} | {{MC/Output table|edition=je|On success|1|1|1}} | ||
{{Output table|edition=be|On success|1}} | {{MC/Output table|edition=be|On success|1}} | ||
{{Output table}} | {{MC/Output table}} | ||
== Example == | == Example == | ||
| Line 41: | Line 41: | ||
== History == | == History == | ||
{{Expand section}} | {{MC/Expand section}} | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java classic}} | |{{MC/HistoryLine|java classic}} | ||
|{{HistoryLine||?|Added {{ | |{{HistoryLine||?|Added {{MC/Cmd|me|link=none}}.}} | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.4.2|dev=12w32a|The command now no longer only works for operators.}} | |{{MC/HistoryLine||1.4.2|dev=12w32a|The command now no longer only works for operators.}} | ||
|{{HistoryLine||1.8|dev=14w04a|{{ | |{{HistoryLine||1.8|dev=14w04a|{{MC/Cmd|me|link=none}} can now correctly use {{MC/Code|@p}}.<ref>{{bug|MC-10826|||Fixed}}</ref> | ||
|Running {{ | |Running {{MC/Code|/me @e}} no longer crashes the game.<ref>{{bug|MC-44700|||Fixed}}</ref>}} | ||
|{{HistoryLine||1.19|dev=22w18a|{{ | |{{HistoryLine||1.19|dev=22w18a|{{MC/Cd|<action>}} now accepts a [[Minecraft:argument types|<code>message</code> argument]], instead of <code>string</code>.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|pocket}} | |{{MC/HistoryLine|pocket}} | ||
|{{HistoryLine||1.0.5|dev=alpha 1.0.5.0|Added {{ | |{{HistoryLine||1.0.5|dev=alpha 1.0.5.0|Added {{MC/Cmd|me|link=none}}.}} | ||
|{{HistoryLine|bedrock}} | |{{MC/HistoryLine|bedrock}} | ||
|{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|Added support for input glyph replacement for {{ | |{{HistoryLine||1.21.60|dev=Preview 1.21.60.21|Added support for input glyph replacement for {{MC/Code|/me}}.}} | ||
}} | }} | ||
| Line 70: | Line 70: | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
de:Befehl/me | de:Befehl/me | ||
Latest revision as of 20:12, 9 April 2026
/me was eaten by a grueBroadcasts a narrative message in third person.
Syntax
- Java Edition
me <action>
- Bedrock Edition
me <message: message>
Arguments
Template:El: <action>: message
Template:El: reason: message: CommandMessage
- Specifies the message to display.
- {{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe| Template:IN,}}{{#vardefine:je-arg|message}}{{#vardefine:be-arg|message}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
Result
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 success}}{{#vardefine:output1-{{#var:output-table-lines}}|1}}{{#vardefine:output2-{{#var:output-table-lines}}|1}}{{#vardefine:output3-{{#var:output-table-lines}}|1}}{{#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}}|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: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|}}
Example
/me was eaten by a grue
Outputs the player's name followed by the string " *[Player] was eaten by a grue" - if the player's name is Steve: " *Steve was eaten by a grue"
History
Template:Message boxTemplate:Article other
Java Edition
Bedrock Edition
References
<references />
External links
de:Befehl/me es:Comandos/me ja:コマンド/me ko:명령어/me lzh:令/me pt:Comandos/me ru:Команды консоли/me uk:Команди консолі/me zh:命令/me