Minecraft /team Command

Mobs and data

Creates player teams: nickname color, fire for self, name visibility. A player can be in only one team at a time.

  • rights — game master
  • Minecraft 26.3
My Game select version

Save your preferences in this browser and apply them to supported tools. Settings in a shared link take priority. Wiki version labels are not affected.

On this page 6 sections

At a glance

Examples have been tested in the game — copy

  • Create a team
    /team add red
  • Red username color
    /team modify red color red
  • Add player
    /team join red Steve
  • Without damage to self
    /team modify red friendlyFire false

Permissions — game master.

Syntax

The game itself shows this in /help team: in angular brackets — what to substitute, in square brackets — optional, separated by a slash — one of.

  • /team list [<team>]
  • /team add <team> [<displayName>]
  • /team remove <team>
  • /team empty <team>
  • /team join <team> [<members>]
  • /team leave <members>
  • /team modify <team> (displayName|color|friendlyFire|seeFriendlyInvisibles|nametagVisibility|deathMessageVisibility|collisionRule|prefix|suffix)

Permissions

A 'Game Master' level is required: Operator level 2 — for team blocks, data pack functions, and guests on a public world with allowed commands. In the server console, it is written without a slash.

Numbers

WhatValue
The command/team
PermissionsGame master (2)
Where it isOn the server and in single-player with cheats enabled
Subcommandsadd, empty, join, leave, list, modify, remove

Frequently asked questions

How do I use /team?

Syntax: /team list [<team>]. For example, /team add red — creates a team.

What permissions are needed for /team?

An game master level is required: operator level 2 — in command blocks, data pack functions, and guests in a world open to the network with allowed commands.

Does /team work in a command block?

Yes: a Command Block executes commands with level 2 permission, and that's all required. The slash is not needed in the block.

More: mobs and data

Minecraft 26.3 data: syntax — from the game's /help hint, permissions — from command report, each example verified by command parsing.