Commands/say

Sends a message in the chat.

Syntax

 * Java Edition


 * Bedrock Edition

Arguments
(BE: )
 * A string that does not require quotation marks and can include spaces and target selectors.

Result
Fails if any target selectors do not resolve to at least one online player.

On success, broadcasts message to all players on the server. If target selectors that output multiple entities (e.g., ) are used in message, the list of names is formatted as "name1 and name2" for two players, or "name1, name2, ... and namen" for n players.