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 message to send.

Examples

 * To send the message "Hello" in chat:
 * To send the message "I am blue" colored blue in chat:
 * If you want to use a hex code:
 * To send the message "Hover me!" in chat, which displays the text "Hi!" when hovered over:
 * Use '\n' to insert a new line:
 * Using values in translations
 * Localization: chat.type.announcement=[%s] %s
 * To send the message "Hover me!" in chat, which displays the text "Hi!" when hovered over:
 * Use '\n' to insert a new line:
 * Using values in translations
 * Localization: chat.type.announcement=[%s] %s
 * Using values in translations
 * Localization: chat.type.announcement=[%s] %s
 * Using values in translations
 * Localization: chat.type.announcement=[%s] %s

History
For changes to the raw JSON text used by this command, see Raw JSON text format § History.