Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement

Sends a JSON message to players.

Syntax

  • Java Edition
tellraw <targets> <message>
  • Bedrock Edition
tellraw <target: target> <raw json message: json>

Arguments

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‌[JE only]/should‌[BE only] be of player type.
Specifies the player(s) to send the message to.

JE<message>: component
BE: raw json message: json: Json::Value

Must be a raw JSON text.
Specifies the message to send.

Result

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
OtherwiseDisplays message to the targeted player(s).

Output

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


History

For changes to the raw JSON text used by this command, see Raw JSON text format § History.
Java Edition
1.7.213w37aAdded /tellraw.
Bedrock Edition
1.9.0beta 1.9.0.0Added /tellraw.

See also

  • /say — send a plain text message to all players
  • /tell — send a plain private text message to specific players
Advertisement