/team
op 2ScoreboardTeams group players and change how they appear to each other — a name colour, a prefix, whether they can hurt one another, and whether they collide. Since 26.2 colour names must be lowercase with underscores, so dark_purple rather than darkpurple.
Command1 to fix
12
- Team name is required.
Press C to copy
Team name is required.
optional
Previewapproximate
Nothing to show yet
1Plain words
Examples
- Create a team
/team add red {"text":"Red Team","color":"red"} - Turn off friendly fire
/team modify red friendlyFire false
Common questions about /team
›How do I stop team-mates hurting each other?
/team modify <team> friendlyFire false. Splash potions and explosions from team-mates are still blocked separately.
›How do I colour player names?
/team modify <team> color red. The colour also drives the name tag, the death message and any team-coloured glowing effect.