Selector command in tellraw command does not work

Selector command in tellraw command does not work - Close Up Photo of Computer Codes

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"

Selector command in tellraw command does not work - Unrecognizable woman holding paw of dog
Selector command in tellraw command does not work - Crop hacker silhouette typing on computer keyboard while hacking system
Selector command in tellraw command does not work - Side view of young woman in hoodie sitting on floor near sofa and playing with obedient brown Labrador while resting during free time



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 Command
  • Open the Chat Window. The easiest way to run a command in Minecraft is within the chat window.
  • Type the Command. In this example, we will send a private message to the player called DigMinecraft with the following command: /tellraw DigMinecraft {"text":"Herobrine joined the game","color":"yellow"}


  • How 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