Gameplay Loop
Fileconfig.ymlCommand/zombies joinCommand/zombies leaveThis page follows one match from the moment a player joins to the moment they are back where they started.
Joining
Command/zombies joinPlayers join with /zombies join <arena>, the /zombies selector GUI or the lobby NPC. An arena
takes players while it is WAITING or in COUNTDOWN. A running match is closed to new players,
and a full arena (max-players, 4 by default per arena) turns them away.
On join the plugin stores the player's inventory, level, XP and game mode, then:
- switches them to Adventure mode with full health and food;
- clears the inventory and XP and draws the arena hotbar;
- teleports them to the arena lobby.
Countdown
The countdown starts as soon as the player count reaches min-players (1 by default). It runs for
countdown-seconds (30), announcing every ten seconds and every second of the last five. It only
stops if everyone leaves; dropping back under min-players does not cancel it. The seconds left also
show as the player's XP level.
Game start
When the countdown ends, every player:
- is teleported to the arena spawn;
- gets the
starting-weapon(M1911) and, if set, thestarting-armortier; - starts with $0.
Wave 1 begins right away.
Waves
Each wave spawns its enemy list one at a time from eligible spawners, and ends when the last enemy
dies. Players who are standing (not downed, not spectating) get the wave-reward ($200), then the
next wave starts after wave-end-delay-seconds (5). At the start of every wave there is a
event-chance-percent (15%) chance of a round event. Details are on
Waves and Power-Ups & Events.
Fileconfig.ymlThere is no last wave and no win screen. A match runs until the team is gone. Past the waves the
arena has set up, endless-waves in config.yml keeps them coming; see
Waves.
Going down and dying
A hit that would kill a player puts them down instead. They get a bleedout timer
(downed-bleedout-seconds, 60), lose a tier of armor and their kill streak, and can be revived by a
teammate. If nobody reaches them in time they bleed out and become a spectator for the rest of the
match. See Revives & Barricades.
Game over
The match ends when:
- the last downed player bleeds out and nobody is left standing, or
- the last living player leaves the arena, even when spectators are still in it.
When it ends, each player sees how many waves they survived, has their stats recorded and is sent
to the main lobby. With no main lobby set they go
to the lobby NPC, and with no NPC back to the spot they joined from. Their inventory, level, XP,
game mode, health, hunger and potion effects come back, gates and barricades are rebuilt, leftover
enemies are removed and the arena returns to WAITING.
Command/zombies leaveLeaving mid-match with /zombies leave or by disconnecting restores the player the same way and
sends them to the same place. A player who disconnected is standing in the lobby when they log
back in.
House rules inside an arena
| Rule | Detail |
|---|---|
| Hunger | Always full. Hunger is not part of the mode. |
| Inventory | Clicks, drags and hand swaps outside the plugin's menus are blocked, so the hotbar stays in order. |
| Drops | Items cannot be dropped. |
| Durability | Held items never lose durability. |
| Commands | Only the commands in command-whitelist work. |
Hotbar layout
| Slots | Holds |
|---|---|
| 1 - 3 | Weapons. Two slots to start, the third opens with the Bonus Weapon perk. |
| 7 - 9 | Perks, up to max-perks (3). |

Arena and player states
| Arena status | Meaning |
|---|---|
WAITING | Open and waiting for players. |
COUNTDOWN | Starting soon. Still open to joins. |
RUNNING | Waves are running. Closed to joins. |
ENDING | Cleaning up. Lasts a moment, then back to WAITING. |
| Player status | Meaning |
|---|---|
LOBBY | Joined, waiting for the match. |
PLAYING | Standing and fighting. |
DOWNED | Down and bleeding out. Can be revived. |
SPECTATING | Bled out. Watches until the match ends. |