/tellraw Command
Sends a JSON text component message to one or more players in the chat (or game log). Supports rich formatting, click events, hover events, and embedded score/selector/NBT values.
Syntax
tellraw <targets> <message>Permission: 2 (gamemaster / cheats enabled)Edition: Both
Examples
/tellraw @a {"text":"Welcome to the server!","color":"green","bold":true}/tellraw @p [{"text":"Your score: ","color":"white"},{"score":{"name":"@p","objective":"points"}}]/tellraw @a {"text":"Click here","clickEvent":{"action":"open_url","value":"https://minecraft.net"},"underlined":true}/tellraw @a {"selector":"@p","color":"yellow"}Notes
The message must be a valid JSON text component (raw JSON). Supports formatting keys: color, bold, italic, underlined, strikethrough, obfuscated. Supports interactive keys: clickEvent (open_url, run_command, suggest_command, copy_to_clipboard) and hoverEvent (show_text, show_item, show_entity). Target selector must resolve to players only in Java Edition. The text does not appear in the server console unlike /say.