/team
Manages teams for the scoreboard. Teams control PvP, name colors, collision rules, and name visibility.
Syntax
/team <add|empty|join|leave|list|modify|remove> ...Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| action | literal | Required | add, empty, join, leave, list, modify, or remove. |
| arguments | various | Required | Varies by action. |
Examples
/team add red {"text":"Red Team","color":"red"}Creates a team named 'red' with the display name 'Red Team' in red color.
/team join red @aAdds all players to the red team.
/team modify red friendlyFire falseDisables friendly fire for the red team.
Common Mistakes
- Forgetting to use JSON text components for the display name in /team add.
- Not realizing team color affects name display, glow effect color, and sidebar display.
Notes
Team options include: friendlyFire, seeFriendlyInvisibles, nametagVisibility, deathMessageVisibility, collisionRule, color, prefix, suffix. Teams are powerful for organizing PvP, minigames, and display customization.
Related Commands
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting