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/tellraw

From SAS Gaming Wiki
Revision as of 11:05, 3 March 2026 by ~2026-MeadowTaigaNether4674 (talk) (Fixed Bedrock command example.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Distinguish

Template:Infobox command

Sends a JSON message to players.

Syntax

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

Arguments

Template:Argument

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

Template:Argument

Specifies the message to send.
Template:Arg desc

Result

Template:Result table 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

Template:More images

Minecraft:Java Edition Minecraft:Bedrock Edition Preview
To send the message "Hello" in chat: /tellraw @a "Hello" /tellraw @a {"rawtext":[{"text":"Hello"}]} Hello
To send the message "I am blue" colored blue in chat: /tellraw @a {"text":"I am blue","color":"blue"}

/tellraw @a {text:"I am blue",color:blue}

/tellraw @a {"rawtext":[{"text":"§9I am blue"}]} I am blue (In blue)
To send the message "Hover me!" in chat, which displays the text "Hi!" when hovered over: /tellraw @a {text:"Hover me!",hover_event:{action:show_text,value:"Hi!"}} Hover me! (Hovered: Hi!)
To send the message-colored dark red in chat: /tellraw @a {text:"Y0U G3T B4CK H3R3 N0W",color:dark_red}

/tellraw @a {"text":"Y0U G3T B4CK H3R3 N0W","color":"dark_red"}

/tellraw @a {"rawtext":[{"text":"§4Y0U G3T B4CK H3R3 N0W"}]} Y0U G3T B4CK H3R3 N0W (Dark red)
Use '\n' to insert a new line: /tellraw @a {text:"Text1\nText2"}

/tellraw @a {"text":"Text1\nText2"}

/tellraw @a {"rawtext":[{"text":"Text1\nText2"}]} Text1 (newline) Text2
Use '\uE100' to insert a hunger bar emoji: /tellraw @a {"rawtext":[{"text":"Text1\uE100Text2"}]}
Display a message in the Minecraft:Enchanting Table's glyphs: /tellraw @a {text:"Hello World",font:alt}

/tellraw @a {"text":"Hello World","font":"alt"}

⍑ᒷꖎꖎ𝙹 ∴𝙹∷ꖎ↸
Display a message in the Minecraft:illager runes: /tellraw @a {"text":"Hello World","font":"illageralt"}

/tellraw @a {text:"Hello World",font:illageralt}

Hello World (illager runes)
Display a translated string: /tellraw @p {"translate":"item.minecraft.diamond"}

/tellraw @p {translate:item.minecraft.diamond}

/tellraw @s {"rawtext":[{"translate":"item.diamond.name"}]} Diamond
Simulate the output of Template:Command, run through a Minecraft:command block: /tellraw @a {"translate":"chat.type.announcement","with":[{"text":"@"},[{"selector":"@p"},{"text":" loves Minecraft!"}]]}

History

Template:For

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

See also

  • Template:Cmd — send a plain text message to all players
  • Template:Cmd — send a plain private text message to specific players

External links

Navigation

Template:Navbox commands

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