Choose a command Available editors: 23 / 23

Choose a command or select its information icon to see how it works.

Players and items

World and building

Display and game systems

/team

Editor available

What does it do?

Want to split players into red and blue teams? This command can create teams, add members, change their appearance, and configure team rules.

When is it useful?

Useful for PvP, competitions, team adventures, and minigames.

Example

/team list

What will happen?

A list of existing player teams is displayed.

Good to know

This is Minecraft Java's built-in team system, not a third-party plugin command.

Minecraft Java ยท 1.16+

/team

Create teams and manage members, appearance, and rules.

Total visits 59My visits 0

Team settings

Your command

Examples

How to build arena teams

Create teams named red and blue. Assign red and blue colors through Change a setting โ†’ Color. Add players by name or with @a[tag=red] and @a[tag=blue]. Assign those tags to players first.

Members, colors and friendly fire

Team color and display name are separate. A player can belong to only one team. Empty team removes all members and preserves its color and rules. For an arena, set friendlyFire false to disable damage between teammates.

PvP example

Create a red team, set its color, disable friendly fire, and add players tagged red. Repeat with blue for the other side.

  1. /team add red
  2. /team modify red color red
  3. /team modify red friendlyFire false
  4. /team join red @a[tag=red]
FAQ Frequently asked questions 30 questions
Essential questions 5
What is /team used for?

It creates teams and manages their members, name colours, prefixes and interaction rules.

How do I create a new player team?

Run /team add wbs_red. The identifier must be unique among the teams already defined in the world.

How do I add a player to a team?

Run /team join wbs_red Steve. The player Steve will be assigned to that existing team.

How do I disable friendly fire?

Use /team modify wbs_red friendlyFire false. This restricts ordinary player attacks against members of the same team.

How do I change player name colours?

For example, /team modify wbs_red color blue applies the standard blue colour to the team's members.

Syntax and arguments 5
What is the team creation syntax?

Use /team add <name> [displayName]. The visible team name can also be configured afterward.

How do I list existing teams?

Run /team list to display existing teams. Add a team identifier to inspect that particular team.

How do I list one team's members?

Use /team list wbs_red. Minecraft displays information about that particular team and its members.

What does team modify control?

This branch changes settings including colour, prefix, name-tag visibility, friendly fire and entity collisions.

What does team leave do?

It removes selected members from their current teams, such as removing a specific player from a team.

Practical examples 5
How do I create two teams for a minigame?

Create two distinct identifiers using /team add, then assign the players using /team join.

How do I disable member collisions?

Run /team modify wbs_red collisionRule never to adjust collision behavior for that team.

How do I hide player name tags?

Use /team modify wbs_red nametagVisibility never to hide the members' normal overhead name tags.

How do I enable friendly fire again?

Run /team modify wbs_red friendlyFire true to allow ordinary friendly-fire damage between members.

How do I empty a team without deleting it?

Run /team empty wbs_red. The team and its configuration remain available afterward.

Advanced usage 5
What is a team prefix?

It is a text component shown before members' displayed names. It is useful for ranks and team identification.

What is a team suffix?

A suffix is displayed after a member's name and can provide an additional label or short indicator.

Can team text components contain colours?

Yes. Modern Java versions use SNBT text components for prefixes and related text fields. Their syntax must be valid.

Can I hide names only from other teams?

The nametagVisibility setting supports conditions for members of the same team and other teams, not just complete hiding.

Can a team affect the Glowing outline?

Yes. A team's colour can influence the outline of an entity with Glowing when the relevant conditions are met.

Troubleshooting 4
Why does Minecraft say the team already exists?

A team's internal identifier must be unique. Choose another identifier or update the existing team instead.

Why can a player not join a team?

Check whether the team exists, the player name and the selector. Also consider the player's existing team assignment.

Why is the player name colour missing?

Check team membership and the configured colour. External server plugins may also change how names are displayed.

Why does collisionRule behave unexpectedly?

Java Edition has documented quirks involving pushOtherTeams and pushOwnTeam. Test the actual behavior in your game version.

Minecraft versions 3
When was /team introduced?

It was added in Java Edition 1.13 as a standalone system for managing teams and their settings.

Does /team work in Bedrock Edition?

The command described here is specific to Java Edition. Do not assume the same native command exists in Bedrock.

Has team prefix syntax changed?

Yes. Since Java 1.21.5, command text components use SNBT instead of the earlier JSON format.

Permissions and safety 3
What permissions does /team require?

Java Edition requires permission level 2. Only authorized staff should manage teams on a public server.

What happens when a team is removed?

The /team remove command deletes the team and its membership settings. Check dependent systems before removing it.

How do I safely change server teams?

Record memberships and settings, test changes separately and avoid deleting active teams without preparation.

Minecraft Wiki reference

Reviews for this page

No published reviews yet.

All WopBlockStudio reviews

Rate this tool

Did this tool work for you? Tell us what went well or what could improve.

Sign in to leave a review
Rating from 1 to 5