Wiki ArticleCommands
/say
Broadcasts message in the chat to all players on the server.
JE: <message>: messageBE: message: message: CommandMessage
/say| Permission level required |
|
|---|---|
| Restrictions | None |
Broadcasts message in the chat to all players on the server.
Syntax
- Java Edition
say <message>
- Bedrock Edition
say <message: message>
Arguments
JE: <message>: message
BE: message: message: CommandMessage
- Specifies the message to say.
- It is a greedy phrase string argument (taking the rest of the command as the string argument). Can include spaces as well as target selectors. The game replaces entity selectors in the message with the list of selected entities' names, which is formatted as "name1 and name2" for two entities, or "name1, name2, ... and namen" for n entities. In Bedrock Edition,
@<player name>can be used to mention a player;@herecan be used to mention all players.
Result
| Command | Trigger | Java Edition | Bedrock Edition |
|---|---|---|---|
| Any | The command is incomplete, or any argument is not specified correctly. | Unparseable | Unparseable |
| Otherwise | Successful | ||
Output
| Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
|---|---|---|---|---|---|
| Any | Java Edition | On success | 1 | 1 | 1 |
| Bedrock Edition | On success | 1 | N/A | N/A |
History
Java Edition
| Java Edition Classic | |||||||
|---|---|---|---|---|---|---|---|
| 0.0.16a_01 | server 1.1 | Replaced /broadcast with /say. | |||||
Bedrock Edition
| Pocket Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v0.16.0 | build 1 | Added /say. | |||||
See also
/tell– Sends a message to specific players.
External links
- "
/sayCommand" – Microsoft Learn, October 11, 2023.