/say
Sends a public message to all players in chat, prefixed with the sender's name in square brackets. Can use selectors.
Syntax
/say <message>Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| message | message | Required | The message to broadcast. Supports entity selectors like @a, @p. |
Examples
/say Welcome to the server!Broadcasts "[Steve] Welcome to the server!" to all players.
/say The winner is @p[scores={wins=1..}]Announces the name of the player with a wins score of 1 or more.
Common Mistakes
- Using /say when you want formatted text, /say sends plain text. Use /tellraw for formatted messages.
- Not realizing /say from a command block shows [Server] as the prefix.
Notes
When executed from a command block, the sender name is '@'. When executed from the server console, the sender is 'Server'. Entity selectors in the message are resolved to entity names.
Related Commands
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting