Teams
Teams configures which players should be considered friendly.
You can choose between a few modes for detecting team colors:
Nametag
Section titled “Nametag”Looks at players’ nametags to determine their team color.
Match own nametag
Section titled “Match own nametag”If enabled, all players with the same nametag color as yours will be considered teammates.
Colors
Section titled “Colors”This setting allows manually specifying which colors are used by teammates. The Match own nametag setting is usually enough, but sometimes you may need to configure this directly.
Helmet / Chestplate / Leggings / Boots
Section titled “Helmet / Chestplate / Leggings / Boots”Looks at players’ armor to determine their team color. This works best when colored leather armor is used.