Recently I've wanted to get into command blocks. Using the tell raw command I want to copy the nearest player's name and then say something after the name.

/tellraw @a [{"selector":"@p"}]

That's what I have right now and I want to add some text behind it. Can anyone help me out?

2 Answers 2


Add a text component to the list:

/tellraw @a [{"selector":"@p"},{"text":", hello!"}]

Or just a string, which Minecraft allows for text:

/tellraw @a [{"selector":"@p"},", hello!"]
  • @MrShmardock if you found the answer helpful, click the check mark. It will help people with the same problem find it faster Jun 23, 2016 at 21:14

For 1.14+ I use

/tellraw @a {"text":"Hello!", "color":"green"}

I'm pretty sure that this works with 1.13.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .