
Command
/say
Sends a chat message to every player, shown with the sender's name in square brackets.
| /say <message> |
| Argument | Kind of value | What to type |
|---|---|---|
| <message> | Message | The text to send. It runs to the end of the command and may contain target selectors, which are replaced with names. |
| Permission level | 2: operators, worlds with cheats on, command blocks and functions |
| Works in | Singleplayer with cheats enabled, multiplayer servers, command blocks and functions. Needs permission level 2 (gamemasters): operators, players in a world with cheats enabled, command blocks and functions. |
| Result | The message appears in chat for all players as "[Sender] message". The number /execute store saves is 1. |
| Sender name | The name in the brackets is the name of whoever runs the command, for example the player or the entity chosen with /execute as. |
| Target selectors | Selectors such as @a or @p inside the message are replaced with the names of the matching entities. |
| Message length | The message is everything after /say up to the end of the line, spaces included. No quotes are needed. |
/say Hello everyone!Shows "[YourName] Hello everyone!" to all players.
/say The game starts in 10 secondsAnnounces a countdown to all players.
/say @a get readySends a message in which @a is replaced with the names of all online players.

