Name | Team |
Syntax | team (id:<scoreboard>/{main}) [name:<team>] (add:<entry>|...) (remove:<entry>|...) (prefix:<prefix>) (suffix:<suffix>) (option:<type> status:<status>) (color:<color>) |
Short Description | Controls scoreboard teams. |
Full Description | The Team command allows you to control a scoreboard team.
Use the "prefix" or "suffix" arguments to modify a team's playername prefix and suffix. The "entry" value can be a player's name to affect that player, or an entity's UUID to affect that entity. You can alternately input a raw PlayerTag or EntityTag, and they will be automatically translated to the name/UUID internally. Use the "color" argument to set the team color (for glowing, names, etc). Must be from https://hub.spigotmc.org/javadocs/spigot/org/bukkit/ChatColor.html. Use the "add" and "remove" arguments to add or remove players by name to/from the team. Use the "option" and "status" arguments together to set a team option's status. Option can be "COLLISION_RULE", "DEATH_MESSAGE_VISIBILITY", or "NAME_TAG_VISIBILITY", with status "ALWAYS", "FOR_OTHER_TEAMS", "FOR_OWN_TEAM", or "NEVER". Option can instead be "FRIENDLY_FIRE" or "SEE_INVISIBLE", only allowing status "ALWAYS" or "NEVER". |
Related Tags | <server.scoreboard[(<board>)].team[<team>].members> Returns a list of all members of a scoreboard team. Generally returns as a list of names or text entries. (...)
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Group | player |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/player/TeamCommand.java#L32 |