How can I automatically insert a player's name in Minecraft in Title Command?

le
5

If you are in a command block

say @p is ready!

Entered and activated, the name of the next player is in the chat and "is ready", which is really cool with minigamelobbys. However, I would like to do this with a blue title, so I tried it like this:

title @a title {"text": "@ p is ready", "color": "aqua"}

However, you get "@p is ready" in the title and not the name of the next player instead of @p.

Do I have to exclude @p somehow or something? Can someone help me there?

cl

{
"translate": "% s is ready",
"with": [
{
"selector": "@ p"
}
],
"color": "aqua"
}

{"translate": "% s is ready", "with": [{"selector": "@ p"}], "color": "aqua"}

Be

Should work like this

/ title @a title ["", {"selector": "@ p"}, {"text": "is ready"}]

le

Thank you! Will test it!

le

Thank you! Will test it!

Gu

not working, ideot