I'm making a multiplayer map in mc 1.16 with command blocks. The game will have two teams. I want players to be able to join either the red or blue team, but if one team has more players, I want the player trying to join a team to only be able to join the team with less players.
Right now my lobby has area effect clouds that have a tag, so I can do /execute at @e[tag=join-red] run team join red @a[distance=..1], I want this to be adaptable to that.
I'm making a multiplayer map in mc 1.16 with command blocks. The game will have two teams. I want players to be able to join either the red or blue team, but if one team has more players, I want the player trying to join a team to only be able to join the team with less players.
Right now my lobby has area effect clouds that have a tag, so I can do /execute at @e[tag=join-red] run team join red @a[distance=..1], I want this to be adaptable to that.