Team Members (Expression) — Skript

Addon: Skript · Category: Expression

Syntax

[the] [team] members of %teams%

Description

The members of a team, as the team stores them: a username for a player, a uuid for anything else. Adding a player stores their username and adding an entity stores its uuid, so either can be added directly. See also 'players of team' and 'entities of team', which resolve these back into real objects.

Examples

add player to members of {_team}
remove player from members of {_team}
clear members of {_team}

loop members of {_team}:
	broadcast loop-value

View source