/team

Cheats / op 2Java 26.3

Creates teams and changes their options (colour, friendly fire, name tags). Its basic form is /team add <team>; it has 28 syntax forms and 7 arguments. Permission: Cheats / op 2.

Who can use it
Cheats / op 2
Syntax forms
28
Arguments
7

/team syntax

Game data

Every form the game accepts. Words in <angle brackets> are arguments you fill in; everything else is typed as is.

/team add <team>
/team add <team> <displayName>
/team empty <team>
/team join <team>
/team join <team> <members>
/team leave <members>
/team list
/team list <team>
/team modify <team> collisionRule always
/team modify <team> collisionRule never
/team modify <team> collisionRule pushOtherTeams
/team modify <team> collisionRule pushOwnTeam
/team modify <team> color reset
/team modify <team> color <value>
/team modify <team> deathMessageVisibility always
/team modify <team> deathMessageVisibility hideForOtherTeams
/team modify <team> deathMessageVisibility hideForOwnTeam
/team modify <team> deathMessageVisibility never
/team modify <team> displayName <displayName>
/team modify <team> friendlyFire <allowed>
/team modify <team> nametagVisibility always
/team modify <team> nametagVisibility hideForOtherTeams
/team modify <team> nametagVisibility hideForOwnTeam
/team modify <team> nametagVisibility never
/team modify <team> prefix <prefix>
/team modify <team> seeFriendlyInvisibles <allowed>
/team modify <team> suffix <suffix>
/team remove <team>

/team examples

Ready-to-paste examples (cheats on). @s is you, @p the nearest player, @a everyone, @e every entity.

/team add red
Creates a team called red.
/team modify red color red
Gives the red team red names in chat and the tab list.
/team join red @p
Puts the nearest player on the red team.

/team arguments

What each argument expects, with the limits the game enforces.

/team arguments
ArgumentExpectsLimits
<team>Text—
<displayName>JSON text component—
<members>Score holder (selector, name or *)—
<value>Colour name—
<allowed>true or false—
<prefix>JSON text component—
<suffix>JSON text component—

Other commands

Data: Minecraft Java Edition 26.3 game files. How we source this

Creates teams and changes their options (colour, friendly fire, name tags). It has 28 syntax forms and can be run by: Cheats / op 2.

See Also

🔍

Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.

Report an Issue

/team FAQ (Java 26.3)

What does /team do in Minecraft?

Creates teams and changes their options (colour, friendly fire, name tags).

What is the syntax of /team?

The basic form is /team add <team>. All forms are listed above.

What is an example of /team?

/team add red — Creates a team called red.

Do you need cheats for /team?

Yes: Cheats / op 2. In singleplayer turn on Allow Cheats (or open to LAN with cheats).