/say
< Commands
Not to be confused with Commands/tellraw or Commands/msg.
For the removed command, see Commands/broadcast.
/say| Permission level required |
|
|---|---|
| Restrictions |
None |
{
"title": "<code>/say</code>",
"rows": [
{
"field": "\n* 2 <sup class=\"noprint nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Java Edition\">(link to Java Edition article, displayed as JE) only</span></i>]</sup>\n* 1 <sup class=\"noprint nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement only applies to Bedrock Edition\">(link to Bedrock Edition article, displayed as BE) only</span></i>]</sup>",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
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 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.