GlobalEmber
teams
Named teams of players (at most 64, names 1 to 32 characters). A team's colour and prefix show on its members' names. Functions taking a team name raise if no such team exists.
Functions
Creates a team. color is a named text colour ("red", "dark_aqua"); prefix is MiniMessage shown before members' names. Raises if the name is taken.
Deletes a team, freeing its members. Returns whether it existed.
Takes a player off their team. Returns whether they were on one.
Records whether teammates may hurt each other (default false). The host does not enforce it: check friendlyFire in your playerDamage handler.