Minecraft:Commands/msg: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 32: | Line 32: | ||
{{Result table}} | {{Result table}} | ||
{{Result table|The command is incomplete, or any argument is not specified correctly.|unparseable|unparseable}} | {{Result table|The command is incomplete, or any argument is not specified correctly.|unparseable|unparseable}} | ||
{{Result table|<code>player: target</code> is a target selector that is not of player type.|N/A|fail}} | {{Result table|<code>player: target</code> is a target selector that is not of [[Minecraft:Target_selectors#Player_type_and_single_type|player type]].|N/A|fail}} | ||
{{Result table|<code><targets></code> or <code>player: target</code> fails to resolve to one or more online players.|fail}} | {{Result table|<code><targets></code> or <code>player: target</code> fails to resolve to one or more online players.|fail}} | ||
{{Result table|succeed}} | {{Result table|succeed}} | ||
| Line 56: | Line 56: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java alpha}} | |{{HistoryLine|java alpha}} | ||
|{{HistoryLine||v1.0.16_02|Added {{cmd|msg|link=none}}, {{cmd|tell|link=none}}, and {{cmd|w|link=none}}.}} | |{{HistoryLine||v1.0.16_02|dev=server 0.1.3|Added {{cmd|msg|link=none}}, {{cmd|tell|link=none}}, and {{cmd|w|link=none}}.}} | ||
|{{HistoryLine|java}} | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.16.2|dev=Pre-release 2|This command now displays the message to the sender even if {{cmd|gamerule sendCommandFeedback}} is disabled.<ref>{{bug|MC-134084|resolution=Fixed}}</ref>}} | |{{HistoryLine||1.16.2|dev=Pre-release 2|This command now displays the message to the sender even if {{cmd|gamerule sendCommandFeedback}} is disabled.<ref>{{bug|MC-134084|resolution=Fixed}}</ref>}} | ||
| Line 80: | Line 80: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/msg | [[Minecraft:de:Befehl/msg]] | ||
es:Comandos/msg | [[Minecraft:es:Comandos/msg]] | ||
ja:コマンド/msg | [[Minecraft:ja:コマンド/msg]] | ||
nl:Opdrachten/msg | [[Minecraft:nl:Opdrachten/msg]] | ||
pt:Comandos/msg | [[Minecraft:pt:Comandos/msg]] | ||
ru:Команды консоли/msg | [[Minecraft:ru:Команды консоли/msg]] | ||
zh:命令/msg | [[Minecraft:zh:命令/msg]] | ||
Latest revision as of 11:08, 12 April 2026
Template:Distinguish Template:Update Template:Infobox command Sends a private message to one or more players.
Syntax
- Java Edition
- Bedrock Edition
Arguments
- Specifies the player(s) to send the message to.
- Template:Arg desc
- Specifies the message to tell.
- Template:Arg desc
Result
Template:Result table 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 privately tell Steve to start the game: Template:Cmd
- To say "Hi" to all online players: Template:Cmd
- To whisper to Makena instructions to trap Zuri: Template:Cmd
History
Java Edition
Bedrock Edition
See also
/tellraw— send a JSON message to players.
External links
References
<references/>
Minecraft:de:Befehl/msg Minecraft:es:Comandos/msg Minecraft:ja:コマンド/msg Minecraft:nl:Opdrachten/msg Minecraft:pt:Comandos/msg Minecraft:ru:Команды консоли/msg Minecraft:zh:命令/msg