AllYourBlocks / ChunkWars

Chunk Wars is a team-based attack-defend minigame for Minecraft. You play in an arena of different Chunks, all carefully handcrafted to replicate different Minecraft biomes and structures as closely as possible. Along with your team you will face everything that vanilla Minecraft can throw at you. Your goal is to be the last team standing.
https://www.planetminecraft.com/project/chunk-wars-1487425
GNU General Public License v3.0
1 stars 0 forks source link

Players leaving the game stay in teams when they come back #78

Open slipcor opened 2 years ago

slipcor commented 2 years ago

We need to reset them but how do we know that they were part of the LAST game and not in THIS game??

slipcor commented 2 years ago

I believe we could hit two birds with one stone. One being this issue, the other being that the game currently does not warn ops when the arena they will play soon is not yet reset.


Alternatively, ignoring the resetting of the arenas, we can use a scoreboard variable like game_id and if a player joins with the wrong game_id they are forced to spectator