Skip to main content

Scoreboard to keep team count equal

Comments

2 comments

  • Bryan Sanders Community moderator
    Bug Spotter Minecraft Certified Beacon of Knowledge Moderator Expert (Gold)

    Good question -- I have not done much comparison of stored data in scoreboard objectives. The capability is there, though -- I need to work on this as well for a few projects!

    1
  • Aleece Landis
    Expert (Gold)

    Chris Fuge Bryan Sanders  I believe you would add an extra fake player to act as your comparison score or something like that.  I'm sure it is possible, I however have not figured out all the mechanisms to make it possible to re-balance the teams if too many students were able to join one team than the other.
    If you know in advance how many students total are going to be playing, then you can cap the total allowed on each team to half the total or something like that and once the cap on a team is reached, no more can join it.  But that doesn't help much if you have an ongoing game that people might be joining and leaving and you want to keep the teams roughly balanced.

    0

Please sign in to leave a comment.