Selector command in tellraw command does not work
//ads -- adsterra.com -- native banner
?>
Is this a 1.9 thing, or is my selector in my /tellraw command not working?
Here is the code:
/tellraw @p ["",{"text":"[",{selector:"@p"},"]"},{"text":" Woah, this is wierd.","color":"gold"}]
For me, in 1.9 (16w02a), the command is not working. Nothing will appear in chat.
However, when I take out the selector:
/tellraw @p ["",{"text":"[ ]"},{"text":" Woah, this is wierd.","color":"gold"}]
It works fine. Is the way I did the selector for @p wrong?
Pictures about "Selector command in tellraw command does not work"



How do you use a Tellraw selector?
Tellraw allows for a "selector" part, which takes any selector you want and displays a name. You should do: /tellraw @a {"text":"","color":"blue","extra":[{"selector":"@p"},{"text":" has won the game! "}]}How do you use the Tellraw command in Minecraft?
How to Enter the CommandHow do you start a new line in Minecraft Tellraw?
While typing a /tellraw command, once you want the line to be skipped there, use \\n (backslash+n).Minecraft Tellraw Command [1.19] Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Markus Spiske, Ivan Babydov, Anete Lusina, Ivan Babydov
