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/msg: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{distinguish|Commands/tellraw|Commands/say}}
{{distinguish|Commands/tellraw|Commands/say}}
{{update|{{bug|MCPE-230568}}}}
{{Infobox command
{{Infobox command
| name = msg
| name = msg
Line 6: Line 5:
* {{cmd|tell|link=none}}
* {{cmd|tell|link=none}}
* {{cmd|w|link=none}}
* {{cmd|w|link=none}}
| oplevel = 0
| oplevel =  
* 0 {{only|java|short=1}}
* 2 {{only|bedrock|short=1}}<ref name=MCPE-230568>{{bug|MCPE-230568||Non-Operator Players can't use /whisper, /msg, or /tell. "insufficient permissions for selector expansion"}}</ref>
}}
}}
Sends a private message to one or more players.
Sends a private message to one or more players.
Line 32: Line 33:
{{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 57:
{{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 65: Line 66:
|{{HistoryLine|pocket alpha}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{cmd|msg|link=none}}, {{cmd|tell|link=none}}, and {{cmd|w|link=none}}.}}
|{{HistoryLine||v0.16.0|dev=build 1|Added {{cmd|msg|link=none}}, {{cmd|tell|link=none}}, and {{cmd|w|link=none}}.}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.21.120|Due to {{bug|MCPE-230568}}, {{cmd|msg|link=none}}, {{cmd|tell|link=none}}, and {{cmd|w|link=none}} require operator permissions to use}}
}}
}}


Line 80: Line 83:
{{Navbox commands}}
{{Navbox commands}}


de:Befehl/msg
[[Minecraft:de:Befehl/msg]]
es:Comandos/msg
[[Minecraft:es:Comandos/msg]]
ja:コマンド/msg
[[Minecraft:fr:Commandes/msg]]
nl:Opdrachten/msg
[[Minecraft:ja:コマンド/msg]]
pt:Comandos/msg
[[Minecraft:nl:Opdrachten/msg]]
ru:Команды консоли/msg
[[Minecraft:pt:Comandos/msg]]
zh:命令/msg
[[Minecraft:ru:Команды консоли/msg]]
[[Minecraft:zh:命令/msg]]

Latest revision as of 11:05, 8 July 2026

Template:Distinguish Template:Infobox command Sends a private message to one or more players.

Syntax

  • Java Edition
Template:Cmd
  • Bedrock Edition
Template:Cmd

Arguments

Template:Argument

Specifies the player(s) to send the message to.
Template:Arg desc

Template:Argument

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

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

See also

  • /tellraw — send a JSON message to players.

External links

References

<references/>

Navigation

Template:Navbox commands

Minecraft:de:Befehl/msg Minecraft:es:Comandos/msg Minecraft:fr:Commandes/msg Minecraft:ja:コマンド/msg Minecraft:nl:Opdrachten/msg Minecraft:pt:Comandos/msg Minecraft:ru:Команды консоли/msg Minecraft:zh:命令/msg