Commands/team

Replaces.


 * Syntax




 * 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:
 * — Creates a new team.
 * — Removes all members from a team.
 * — Makes a player join a team.
 * — Makes a player leave a team.
 * — Lists all teams, or lists all members of a team if team is set.
 * — Sets the option of a team to the specified value.


 * See also


 * — manages scoreboard objectives and players