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.
- Must be a plain text. 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,
@here
can be used to mention all players.
Result[]
Command | Trigger | Java Edition | Bedrock Edition |
---|---|---|---|
any | the arguments are 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 fail | 0 | N/A | N/A | |
On success | 1 | N/A | N/A |
History[]
Java Edition Classic | |||||
---|---|---|---|---|---|
0.0.16a_01 | Replaced /broadcast with /say . | ||||
Pocket Edition Alpha | |||||
v0.16.0 | build 1 | Added /say . |
See also[]
/tell
– Sends a message to specific players.