Configuration

6commands
11files
1figure
8min read
Sheet 21 of 31 · Server Admin

Filesconfig.yml · economy.yml · weapons.yml · armor.yml · +7

Fileconfig.ymlFileeconomy.ymlCommand/zadmin reloadCommand/zadmin setlobbyEverything lives in plugins/IgniteZombies/. This page lists every key in config.yml and economy.yml with its shipped default. The other files have their own pages.

FileWhat it holdsDetails
config.ymlMatch timing, revives, barricades, bosses, endless waves, power-ups, kill streaks, main lobby, lobby NPC, databaseBelow
economy.ymlRewards and every priceBelow
weapons.ymlThe ten weaponsWeapons
armor.ymlThe five armor tiersArmor
perks.ymlPerk icons and lorePerks
enemies.ymlEnemy templates and bossesEnemy Templates
holograms.ymlHologram textHolograms
scoreboard.ymlSidebar layoutScoreboard & Action Bar
fx.ymlSoundsSounds
messages.ymlEvery chat line, title and menu text, MiniMessage
arenas/*.ymlOne file per arenaArenas
leaderboards.ymlLeaderboard hologram positionsStats & Leaderboards
profiles.dbPlayer stats, when using SQLiteStats & Leaderboards

Reloading

Command/zadmin reload/zadmin reload reloads all ten config files. Balance changes (prices, rewards, weapon stats, enemy templates, messages, sounds) apply straight away. A few things only change on restart:

  • the database block and the leaderboards size and refresh time;
  • the lobby NPC;
  • the auto-save timer.

hologram-update-interval is picked up the next time an arena's holograms spawn, and scoreboard-update-interval at the start of the next match. Reload respawns the leaderboard holograms; arena holograms come back as described on Holograms.

How updates touch your files

On every load the plugin compares each file with the copy inside the jar. Missing keys are added with their defaults, comments are refreshed, and keys the plugin does not know are removed. When anything changes, the old file is kept next to it as <file>.<date>-<time>.bak.

Sections you are meant to extend are never pruned. Your own entries stay put in:

FileKept sections
weapons.ymlweapons
perks.ymlperks
armor.ymlarmor
enemies.ymlenemies
economy.ymlweapon-prices, perk-prices, armor-prices, mystery-box.armor-tier-weights

config.yml

Match

KeyDefaultMeaning
countdown-seconds30Lobby countdown length.
min-players1Players needed to start the countdown.
wave-end-delay-seconds5Pause between waves.
wave-spawn-interval-ticks80Gap between spawns on wave 1.
wave-spawn-min-interval-ticks60Smallest gap between spawns.
wave-spawn-speed-factor1.08How much faster spawning gets each wave.
event-chance-percent15Chance per wave of a round event.
starting-weaponM1911Weapon every player starts with.
starting-armor""Armor tier every player starts with. Empty for none.
max-perks3Perks per player. 3 is the most the hotbar holds.
command-whitelist/zombies, /z, /zadmin, /msg, /tellCommands allowed inside an arena. The first word must match exactly.

Revives and perks

KeyDefaultMeaning
revive-duration-seconds3Sneak time to revive.
downed-bleedout-seconds60Time before a downed player is out.
incendiary-fire-ticks60Burn time from Incendiary Bullets.
freezing-slow-duration-ticks60Slow time from Freezing Bullets.
freezing-slow-amplifier2Slowness level from Freezing Bullets.

Barricades and enemy AI

KeyDefaultMeaning
barricade-tick-interval10Ticks between enemy damage passes.
barricade-enemy-attack-range2.5How close an enemy must be to damage a barricade.
barricade-repair-range2.0How close a player must be to repair.
barricade-repair-percent-per-second0.25Share of max health restored per second of repair.
barricade-repair-commands[]Console commands run each second of repair.
barricade-damage-soundBLOCK_WOOD_HITAlso -volume (0.8) and -pitch (0.8). none mutes it.
barricade-break-soundBLOCK_WOOD_BREAKAlso -volume (1.0) and -pitch (0.65). none mutes it.
enemy-ai-push-speed0.18Push toward a barricade for enemies with no line of sight.

Bosses, power-ups and kill streaks

KeyDefaultMeaning
boss-rounds.enabledtrueBoss rounds on or off.
boss-rounds.interval5A boss every this many waves.
boss-rounds.boss-idABOMINATIONTemplate used as the boss.
boss-rounds.ability-tick-interval10Ticks between ability checks.
power-ups.enabledtruePower-up drops on or off.
power-ups.drop-chance-percent3.0Drop chance per kill.
power-ups.lifetime-seconds12How long a drop stays on the ground.
power-ups.insta-kill-seconds30Insta-Kill length.
power-ups.double-points-seconds30Double Points length.
power-ups.weights.<TYPE>2, Nuke 1Relative drop weights. 0 disables one.
kill-streak.tiers5 tiersthreshold, label and color for each tier.

Display

KeyDefaultMeaning
dynamic-hologramsfalseHolograms turn to face players.
hologram-backgroundfalseDark box behind hologram text.

Main lobby

KeyDefaultMeaning
main-lobby.enabledfalseSend players here when they leave an arena.
main-lobby.locationworld 0, 64, 0The spot: world, x, y, z, yaw, pitch.

Command/zadmin setlobbyCommand/zadmin setlobby clearCommand/zombies leave/zadmin setlobby saves your position here and turns it on, /zadmin setlobby clear turns it off. Players land in the main lobby when they run /zombies leave, when the match ends and when they disconnect mid-match and come back. With no main lobby they go to the lobby NPC, and with no NPC back to the spot they joined the arena from. Their inventory, game mode, health, hunger, experience and potion effects are put back as they were before the match.

Lobby NPC

KeyDefaultMeaning
lobby-npc.enabledfalseSpawn the NPC on startup.
lobby-npc.locationworld 0, 64, 0Where it stands: world, x, y, z, yaw, pitch.

Command/zadmin npc setCommand/zadmin npc removeThe NPC is a still, silent, invulnerable zombie. Right-clicking it opens the arena selector. /zadmin npc set saves your position here and spawns it; /zadmin npc remove turns it off and removes it. Both take effect at once.

The arena selector the NPC opens. The same menu is behind /zombies with no arguments.
The Zombies arena selector with the NightOfUndead arena hovered, showing status WAITING, players 0/4 and click to join

Stats

KeyDefaultMeaning
database.typeSQLITESQLITE or MYSQL.
database.host / port / name / user / passwordlocalhost / 3306 / ignite / root / ""MySQL connection. Ignored for SQLite.
leaderboards.size10Entries per leaderboard.
leaderboards.refresh-seconds60Seconds between leaderboard refreshes, at least 5.
auto-save-interval300Seconds between background saves of changed player profiles.

Endless waves

What happens once a match runs past the last wave the arena has configured.

KeyDefaultMeaning
endless-waves.modeSCALE_LASTSCALE_LAST repeats the last configured wave with more enemies each wave. FALLBACK spawns only fallback-enemy. Arenas with no waves always use FALLBACK.
endless-waves.growth-per-wave0.15Extra enemies per wave past the last one, as a share of that wave. 0.15 is +15% per wave.
endless-waves.fallback-enemyWALKERTemplate id used by FALLBACK. An unknown id logs a warning and the wave spawns nothing.
endless-waves.fallback-base-count5FALLBACK wave size is base + per-wave * wave.
endless-waves.fallback-count-per-wave2See above.
config.yml
endless-waves:
  mode: SCALE_LAST
  growth-per-wave: 0.15
  fallback-enemy: WALKER
  fallback-base-count: 5
  fallback-count-per-wave: 2

Timers and debug

KeyDefaultMeaning
hologram-update-interval20Ticks between barricade hologram refreshes.
scoreboard-update-interval20Ticks between sidebar refreshes during a match.
debugfalseLogs extra lines, such as how many enemies each wave queued.

economy.yml

Rewards

KeyDefaultMeaning
rewards.kill10Kill reward for templates with kill-reward: -1.
rewards.revive50Paid to the reviver.
rewards.repair5Paid per second of barricade repair.
wave-reward200Paid to standing players when a wave is cleared.
kill-streak-tier-rewards100, 200, 400, 750, 1500Paid when each kill-streak tier is reached.
rewards.crit-kill20Paid instead of the normal kill reward when the killing shot was a headshot.
rewards.event-end100Paid to standing players when a round event ends with its wave.

Prices

KeyDefault
weapon-prices.<WEAPON>M1911 0, SVT40 500, MOSIN 500, REMINGTON870 500, FG42 1200, PYTHON 1500, DOUBLEBARREL 1500, PPSH41 2000, BAZOOKA 2500, PTRS41 3000
perk-prices.<PERK>FAST_REVIVE 1000, SPEED 1000, INCENDIARY_BULLETS 1500, FAST_FINGERS 1500, FREEZING_BULLETS 1500, BONUS_HEALTH 2000, BONUS_WEAPON 2500
armor-prices.<TIER>LEATHER 500, CHAINMAIL 1000, IRON 1800, DIAMOND 3000, NETHERITE 5000
armor-enchant-cost2000
enchant-cost2500
kit-shop.replenish-ammo-cost500
lottery-cost500
mystery-box.cost950
gate-default-cost1000, copied into each new gate
power-activation-cost3000, copied into each new power switch
team-machine-cost5000, copied into each new Team Machine

Machines

KeyDefaultMeaning
enchant-damage-multiplier2.0Damage multiplier after Pack-a-Punch.
enchant-speed-multiplier1.5Reload speed multiplier after Pack-a-Punch. 1.5 reloads in two thirds of the time.
lottery-win-chance50Percent chance the Lottery pays out a weapon.
mystery-box.teddy-chance8Percent chance of the teddy bear.
mystery-box.teddy-cooldown-seconds45How long the box stays jammed.
mystery-box.armor-chance20Percent chance of an armor set instead of a weapon.
mystery-box.armor-upgrade-fallbacktrueUpgrade the worn set one tier when the rolled tier is not better.
mystery-box.armor-tier-weights.<TIER>40 / 30 / 15 / 10 / 5Leather to Netherite.
discount-percent50Percent off during a Discount event.

Barricades

KeyDefaultMeaning
barricade-default-max-health500Health of each new barricade.
barricade-damage-per-enemy5Damage per nearby enemy per damage pass.
barricade-repair-per-click10Flat health added on top of the percentage on every repair tick. Saved into each new barricade.

Loading the index

Enter openUp Down moveEsc close