Sheet 30 of 31 · Internals Filesweapons.yml · armor.yml · enemies.yml
Fileweapons.ymlFilearmor.ymlThe main objects inside the plugin, for anyone reading the source or writing against it. The
pattern throughout: a definition loaded from config says what something is, and a separate
runtime object tracks what it is doing right now.
| Object | Role |
|---|
Arena | One map: lobby, spawn, rooms, waves, spawners and every structure, plus live match state. |
ArenaStatus | WAITING, COUNTDOWN, RUNNING, ENDING. |
Room | A zone, cuboid or voxel, with start and requires-power flags. |
EnemySpawner | A spawn point, with an optional room. |
Wave | A wave number and its list of enemy groups. |
| Object | Role |
|---|
Structure | Anything placed at a location with a hologram. |
RegionalStructure | A structure that can also have a clickable region. |
Gate | Door region linked to two rooms, with a cost. |
Barricade | Window region with health. |
PowerSwitch, TeamMachine | Machines with their own saved cost. |
KitShop, PerkShop, WeaponShop, LotteryShop, MysteryBox, WeaponEnchanter | Shops. A WeaponShop may be locked to one WeaponType. |
ArmorShop, ArmorEnchanter | Armor shops and the Forge (1.5.0). An ArmorShop may be locked to one ArmorTier. |
| Object | Role |
|---|
WeaponType | The ten weapon ids, plus legacy aliases such as PISTOL and SHOTGUN that map to them. |
Weapon | A weapon's definition from weapons.yml. |
WeaponInstance | A weapon a player holds: magazine, reserve, state, Pack-a-Punch flag. |
WeaponState | READY, RELOADING, RECOIL. |
ArmorTier | LEATHER, CHAINMAIL, IRON, DIAMOND, NETHERITE. |
Armor | A tier's definition from armor.yml. |
ArmorInstance | The set a player wears, with its reinforced flag. |
Perk | The seven perks. |
| Object | Role |
|---|
EnemyTemplate | A template from enemies.yml. |
EnemyContainer | One group in a wave: template id and count. |
EnemyEquipment, EnemyEffect | Gear and potion effects of a template. |
BossAbility, BossAbilitySpec | Ability types and their configured values. |
BossInstance | A living boss: its bar, cooldowns and enrage state. |
| Object | Role |
|---|
ArenaEvent | INSTA_KILL, DOUBLE_MONEY, AMMO_REFILL, AUTO_REPAIR, DISCOUNT. |
ActiveEvent | An event running in an arena. |
PowerUpType | MAX_AMMO, NUKE, INSTA_KILL, DOUBLE_POINTS, CARPENTER, each with its item. |
| Object | Role |
|---|
ZombiesPlayer | A player's match state: status, weapons, perks, armor, kills, saved inventory. |
PlayerStatus | LOBBY, PLAYING, DOWNED, SPECTATING. |
PlayerProfile | Persistent stats, including best round per arena. |
StatType | The five stats and their database columns. |
LeaderboardEntry | One name and value on a leaderboard. |
| Object | Role |
|---|
CreatorSession | An arena being built or edited in the creator GUI. |
CreatorStep | The creator steps and which ones are required to save. |
EnemyCreatorSession | A template being built in the Enemy Creator. |