Skip to content
WikilyWIKILY
All games23 Wikis · pick your game
Commands and cheatsAll commands

Switch game

23 Wikis · pick your game
/teammsg

Command

/teammsg

Sends a chat message that only the members of your own team can see. /tm is a shorter name for the same command.

Syntax

/teammsg <message>
/tm ... (the same as /teammsg)

Arguments

ArgumentKind of valueWhat to type
<message>MessageThe text to send. It runs to the end of the line and may contain spaces.

Details

Permission level0: every player
Works inNo permission level is required (level 0), so every player can use it in singleplayer and on servers. It must be run by an entity that is on a team, so the server console and command blocks can only use it through /execute as.
Short forms/tm
ResultThe message is delivered to you and to every online player on your team. Returns the number of players who received it.
Team requiredFails with "You must be on a team to message your team" if the sender is not on a team.
Alias/tm <message> does exactly the same as /teammsg <message>.

Examples

/teammsg Meet at the base

Sends "Meet at the base" to your team only.

/tm I found diamonds

Sends the message to your team using the short name.

/tm Need help at spawn

Asks your teammates for help without other teams seeing it.

Join the creator communityThe people who build the Minecraft Java Edition wiki are on our Discord. Ask questions or suggest pages.Join Discord (opens Discord in a new tab)