On the same team
Whether two players are on the same team. Two players on no team are not.
A Minecraft element (a check) in Scoreboards & teams. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player is hurt → If On the same team → Cancel the event.
Also called
same team, team mates, allies, teammates
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Player
- Other player