Commands/tellraw

Sends a JSON message to players.

Syntax

 * Java Edition


 * Bedrock Edition

Arguments

 * Specifies the player(s) to send the message to.
 * Specifies the player(s) to send the message to.


 * Specifies the message to send.
 * Specifies the message to send.

Examples

 * To send the message "Hello" in chat:
 * To send the message "I am red" colored red in chat:
 * To send a message containing the text "Red" in red and "Blue" in blue:
 * To send the message "Hover me!" in chat, which displays the text "Hi!" when hovered over:
 * To send the magenta message "Hover me again!" in chat, which displays the red text "Red Title" when hovered over:
 * To send the message "Diamond Axe" in chat, colored turqouise, with an unbreakable diamond axe showing when the text is hovered over:
 * To send the message "Your Score is: " with the score for the object "object_name" of the player or entity who executed the command.
 * To send the magenta message "Hover me again!" in chat, which displays the red text "Red Title" when hovered over:
 * To send the message "Diamond Axe" in chat, colored turqouise, with an unbreakable diamond axe showing when the text is hovered over:
 * To send the message "Your Score is: " with the score for the object "object_name" of the player or entity who executed the command.
 * To send the message "Diamond Axe" in chat, colored turqouise, with an unbreakable diamond axe showing when the text is hovered over:
 * To send the message "Your Score is: " with the score for the object "object_name" of the player or entity who executed the command.
 * To send the message "Your Score is: " with the score for the object "object_name" of the player or entity who executed the command.

text

 * To send the message "Hello" in chat:

Visible text in chat:

 * Hello

Use '\' to the left of the quotes:
 * To use "(quotation marks) in the chat (as part of the message):

Visible text in chat:

 * "it" will appear in quotes


 * Use '\n' to insert a new line:

Visible text in chat:

 * Text1


 * Text2


 * Use '§' to change the text color:

Visible text in chat:

 * Color text (blue)

translate

 * To send the message "Download complete" in chat:

Visible text in chat:

 * Download complete

The text will appear translated for each person, according to the language they selected in their Minecraft settings.

It is not any message that can be placed in the 'translate'. Minecraft uses specific texts located in .lang files.

The Tellraw That Only Works In Java
/tellraw @p {"text":"Hi","clickEvent":{"action":"run_command","value":"/tellraw @p {\"text\":\"Hi\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tellraw @p {\\\"text\\\":\\\"Hi\\\",\\\"hoverEvent\\\":{\\\"action\\\":\\\"show_text\\\",\\\"contents\\\":[\\\"\\\",{\\\"selector\\\":\\\"@a \\\"},{\\\"text\\\":\\\"Is \\\"},{\\\"text\\\":\\\"NOT\\\",\\\"bold\\\":true,\\\"underlined\\\":true},{\\\"text\\\":\\\" Here At The Moment, Sorry! :[\\\"}]}}\"}}"}} Befehl/tellraw 命令/tellraw