Player's team
The name of the team a player is on. It is empty when they are on none.
A Minecraft element (a value) in Scoreboards & teams. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player is hurt → If Player's team is red → Show an action bar line.
Also called
which team, team of, player team
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player
What it gives back
- Team
- Team name
- On a team