Scoreboard - Team Create (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.21.0

Syntax

create [a] new team [for %-scoreboard%]

Description

Create a new team with a bunch of options. If a Scoreboard is not provided the default server Scoreboard will be used. For more info see [**Teams**](https://minecraft.wiki/w/Scoreboard#Teams) on McWiki.

**Entries**: - `id` = The ID/name of this team (required String). - `display_name` = The display name of this team [optional String/TextComponent/TextComp]. - `color` = The color of this team [optional Color]. - `collision_rule` = The collision rule of this team [optional OptionStatus]. - `death_message_visibility` = The death message visibility of this team [optional OptionStatus]. - `nametag_visibility` = The nametag visibility of this team [optional OptionStatus]. - `friendly_fire` = Whether friendly fire is enabled for this team [optional Boolean]. - `see_friendly_invisibles` = Whether friendly invisibles are visible for this team [optional Boolean]. - `prefix` = The prefix of this team [optional String/TextComponent/TextComp]. - `suffix` = The suffix of this team [optional String/TextComponent/TextComp].

Examples

set {-team::blue} to create new team:
	id: "blue_team"
	display_name: colored "<aqua>Blue Team"
	color: aqua
	collision_rule: for_other_teams
	death_message_visibility: always
	nametag_visibility: for_own_team
	friendly_fire: false
	see_friendly_invisibles: true
	prefix: colored "<grey>[<aqua>Blue Team<grey>] "
add all players to {-team::blue}

View source