Team - All Teams (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 1.16.0

Syntax

all teams [(of|from) %scoreboard%]

Description

Get a list of all teams. You have the option to get all teams from a specific scoreboard (defaults to the main scoreboard). Teams off the main scoreboard cannot be serialized/saved to variables (This is due to custom scoreboards not being persistent).

Examples

set {_teams::*} to all teams
set {_foodBoard} to a custom scoreboard
set {_food::*} to all teams from {_foodBoard}

View source