What every custom minigame plugin has to manage
A minigame is a small state machine. Each arena is waiting, counting down, running or ending. Players can only join during the first two states, the countdown starts at a minimum player count and shortens when the arena is full, and the round ends when one player or team is left or the timer runs out.
Around that loop sit the parts players only notice when they are missing: inventory, health and location restored on leave, eliminated players turned into spectators, and a clean exit for anyone who disconnects mid-game.
- Minimum and maximum players per arena
- Scoreboard, boss bar timer and countdown titles
- Vault rewards and PlaceholderAPI leaderboards
- Arena reset after every round
