Team Command Generator

Create and manage teams — set name colors, disable friendly fire, and hide nametags (Java only)

Internal name, no spaces allowed (if using list and left empty, all teams are shown)

What Team is for

Teams group players for minigames — for example a red team vs. a blue team. You can set name colors, disable friendly fire, hide nametags from opponents, and select the group with @a[team=red]

  1. Create a team first, e.g. /team add red
  2. Set a color via modify → color, then choose the color you want
  3. Add players to the team with join

/team only exists in Java Edition — Bedrock has no team system, so use Tag command or Scoreboard instead

Worked examples

The examples below come out of the same generator as the form above, so the commands and explanations always match what the tool produces. Copy one and adjust it from there

1. Create a team with a display name

The name used in commands and the name players see can differ — keep the command name short and space-free

/team add red {"text":"ทีมแดง"}

What it does Will create a new team named "red" with the display name "ทีมแดง".

2. Set the team colour

The team colour tints player names and nametags, so sides stay readable from a distance in team games

/team modify red color red

What it does Will set the team's name color for the team "red" to "red".

3. Turn off friendly fire

friendlyFire is the option almost every team game needs to change, otherwise teammates can hit each other

/team modify red friendlyFire false

What it does Will set friendly fire for the team "red" to "false".

How this command differs by edition and version

This is the first example above, run through every edition and version this tool supports. Versions that produce the same result share a row

Every version this tool supports produces the same result, so a command you copy works without version-specific edits

Java Edition 1.21.5 and up Java Edition 1.20.5 - 1.21.4 Java Edition 1.13 - 1.20.4 (legacy NBT)
/team add red {"text":"ทีมแดง"}

Before you use these