Commands/tell

From Minecraft Wiki
< Commands(Redirected from Commands/msg)
Jump to: navigation, search
tell
Aliases
Restrictions

None

First introduced

Java Edition Alpha v1.0.16_02
PE Alpha 0.16.0 (PE Alpha 0.16.0 build 1)

Sends a private message to one or more players. /msg or /w can also be used.

Syntax[edit]

  • Java Edition
tell <targets> <message>
msg <targets> <message>
w <targets> <message>
  • Bedrock Edition
tell <target: target> <message: message>
msg <target: target> <message: message>
w <target: target> <message: message>

Arguments[edit]

JE<targets>: entity
BE: target: target: CommandSelector<Player>

Must be a player name, a target selector or a UUID[Java Edition only]. And the target selector must be of player type.
Specifies the player(s) to send the message to.

JE<message>: message
BE: message: message: CommandMessage

Must be a plain text. Can include spaces as well as target selectors. The game replaces entity selectors in the message with the list of selected entities' names, which is formatted as "name1 and name2" for two entities, or "name1, name2, ... and namen" for n entities. In Bedrock Edition, @here can be used to mention all players.
Specifies the message to tell.

Result[edit]

CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Failed
if <targets> or player: target fails to resolve to one or more online players Failed
On successDisplays message to the targeted player(s).

Output[edit]

CommandEditionSituationSuccess Count/execute store succeess .../execute store result ...
anyJava EditionOn fail000
On success11the number of targeted players
Bedrock EditionOn fail0N/AN/A
On successthe number of targeted playersN/AN/A

Examples[edit]

  • To privately tell Steve to start the game: tell Steve Start the game!
  • To say "Hi" to all online players: msg @a Hi

History[edit]

Java Edition Alpha
v1.0.16_02Added /tell, /msg, and /w.
Pocket Edition Alpha
0.16.0build 1Added /tell, /msg, and /w.