/team
Create teams to color names, control friendly fire, and more.
Overview
What is the /team command?
The /team command creates and manages teams — groups of players (and entities) that can share a name colour, toggle friendly fire, control nametag and death-message visibility, and set collision rules. Teams underpin PvP modes, hide-and-seek, and any minigame that splits players into sides.
They also work with scoreboards and selectors, so you can target everyone on a team at once.
When to use it: Use /team to split players into colored sides with shared rules — friendly fire, nametag visibility, collisions.
At a glance
Syntax
/team add <name>See it
What it does
Anatomy
Every part, explained
- 1
CommandRequired/teamCreates and manages teams.
- 2
ActionRequiredaddUse add, join, leave, or modify.
- 3
Team nameRequired<name>A unique team identifier.
Your turn
Try it yourself
Copy & paste
Examples
/team add redCreate a team called red.
/team join red @sJoin the red team.
/team modify red color redColor the team red.
Avoid these
Common mistakes
/team red add/team add redThe action goes before the team name.
/team join red/team join red @sSpecify who joins the team.
Good to know
Frequently asked questions
- How do you create a team in Minecraft?
- Run /team add <name>, then /team join <name> <players> to put players on it.
- How do you turn off friendly fire?
- Use /team modify <name> friendlyFire false so teammates can't damage each other.
- How do you color a team's name?
- Run /team modify <name> color <color>, which tints the players' names and nametags.
Keep going