/teammsg Command in Minecraft Java Edition

Send Private Chat Messages to Your Team

Java EditionChat & TextAdded in 1.14

The /teammsg command lets you send a chat message using free text and target selectors. When you run the command, any selectors you typed in the message are automatically replaced by the actual names of the entities or players.

Players use this command during multiplayer games, team battles, or cooperative survival to talk with their teammates without having to type out every player or entity name by hand.

Syntax (Java 26.3, 1 form)

  1. /teammsg <message>

The forms you will use most

/teammsg <message>
Sends a text message that can include target selectors which get replaced by names.

Arguments

ArgumentTypeWhat it means
<message>messageThe free text you want to send, which may include selectors that get replaced by names in the chat.

Examples

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 1.14 Command added.

Tips

Common mistakes

Java vs Bedrock

Minecraft Bedrock Edition does not have a command named /teammsg, as this command is only available in Java Edition.

FAQ

When was the /teammsg command added to Minecraft?

The /teammsg command was added to Minecraft Java Edition in version 1.14 and remains available up to version 26.3.

Can I use target selectors inside a /teammsg message?

Yes, the <message> argument supports target selectors and will replace them with the actual names of the targeted players or entities when the message is sent.

Is /teammsg available in Minecraft Bedrock Edition?

No, Bedrock Edition does not have a command with the name /teammsg.

Related commands

/dialog/me/msg/say/tell/tellraw/title/tm/w