This feature is exclusive to Java Edition.
Commands/infobox
Controls teams.
- Syntax
team add <team> [<displayname>]team empty <team>team join <team> [<members>]team leave <members>team list [<team>]team modify <team> <option> <value>team remove <team>
- Arguments
- team
- Specifies the name of the team.
- displayname (Optional)
- Specifies the name to be displayed by the team.
- members
- Specifies the entities to join or leave the team.
- option
- Specifies the team options.
- value
- Specifies the value to be set into the option.
- Result
- Fails if the arguments are not specified correctly.
- On success:
add— Creates a new team.empty— Removes all members from a team.join— Makes a player join a team.leave— Makes a player leave a team.list— Lists all teams, or lists all members of a team if team is set.modify— Sets the option of a team to the specified value.remove— Removes the team.
History
| Java Edition | |||||
|---|---|---|---|---|---|
| 1.13 | 17w45a | Added /team. | |||
| 18w20a | Added /team option <team> prefix <prefix>.
| ||||
Added /team option <team> suffix <suffix>. | |||||
| pre8 | /team option is now /team modify
| ||||
Added /team modify <teamName> displayName. | |||||
| Team names are now text components, not raw strings. | |||||
See also
/scoreboard — manages scoreboard objectives, players and teams
/tag