Machines
Fileeconomy.ymlFileweapons.ymlCommand/zadmin region setCommand/zadmin shop weaponshop typeMachines are the things players spend money on: shops, the Mystery Box, Pack-a-Punch, the power switch and the rest. An arena only has the machines you place in it, and each one gets a hologram with its name and price while a match is running.
Placing a machine
Stand where it should go and run one of these, or use the matching list in the arena creator:
/zadmin shop add <arena> <type> <id>
/zadmin power add <arena> <id>
/zadmin team add <arena> <id>
Shop types are kit, perk, weapon, lottery, mysterybox, enchanter, armor and
armorenchanter. Ids are lowercased and may contain letters, digits, _ and -.
Command/zadmin region setBy default a machine reacts to a right-click on its one block. For a multi-block machine (a
counter, a wall-buy panel, a vending machine build) select the area with the Region Wand and run
/zadmin region set <arena> <type> <id>. Right-clicking anywhere in that area then opens it.
A right-click with a weapon in hand fires it, except on a machine's own block or region: there it opens the machine. That is how a player upgrades or swaps the weapon they are holding. Gates and the power switch are bought with any other slot in hand, so nobody pays for one by shooting at it.
At a glance
| Machine | Type | Price key (default) | What the player gets |
|---|---|---|---|
| Kit Shop | kit | kit-shop.replenish-ammo-cost ($500) | Full ammo for every weapon they carry. |
| Perk Shop | perk | perk-prices ($1,000 - $2,500) | One perk. See Perks. |
| Weapon Shop | weapon | weapon-prices ($0 - $3,000) | A weapon, one fixed or picked from the list. |
| Lottery | lottery | lottery-cost ($500) | A lottery-win-chance (50%) shot at a random weapon. |
| Mystery Box | mysterybox | mystery-box.cost ($950) | A random weapon or armor set, or the teddy bear. |
| Pack-a-Punch | enchanter | enchant-cost ($2,500) | Double damage on the held weapon. |
| Armor Shop | armor | armor-prices ($500 - $5,000) | A full armor set. See Armor. |
| Armor Forge | armorenchanter | armor-enchant-cost ($2,000) | A reinforced armor set. |
| Power Switch | power | power-activation-cost ($3,000) | Power for the whole arena. |
| Team Machine | team | team-machine-cost ($5,000) | Every downed teammate back on their feet. |
Fileeconomy.ymlAll prices are in economy.yml. A Discount event cuts every shop price above except the Power
Switch and the Team Machine.
Kit Shop
Refills the magazine and reserve of every weapon the player carries. It does not give weapons.

Weapon Shop
Fileweapons.ymlCommand/zadmin shop weaponshop typeA weapon shop is either locked to one weapon (a classic wall-buy) or open, listing every weapon
in weapons.yml with its price and stats. Lock or unlock it with
/zadmin shop weaponshop type <arena> <id> <weapon|any>, or right-click the shop in the
creator's Weapon Shops list to pick from a menu.
The new weapon goes into the weapon slot the player is holding and replaces what is there. Holding something else, it goes into the first free weapon slot. With no room at all the purchase is refused and nothing is charged. Buying a weapon you already own gives a fresh copy, which works as an ammo refill at full weapon price and removes any Pack-a-Punch on it.


Lottery
Pay lottery-cost and roll against lottery-win-chance. A win gives a random weapon. The fee is
taken win or lose, and also when the player has no free slot for the prize.

Mystery Box
Config keymystery-box.costPay mystery-box.cost and watch the menu spin through items for a couple of seconds before it
lands. Closing the menu mid-spin does not cancel the roll.
- With
armor-chance(20%) the prize is an armor set instead of a weapon, with the tier picked byarmor-tier-weights. If that tier is no better than what the player wears andarmor-upgrade-fallbackis on, their current set goes up one tier instead. - With
teddy-chance(8%) the teddy bear shows up: no prize, no refund, and the box is jammed forteddy-cooldown-seconds(45). - Fileweapons.ymlOtherwise it is a random weapon from
weapons.yml. It replaces the weapon in the player's hand or goes into a free weapon slot. With neither, the box gives the money back.
# economy.yml
mystery-box:
cost: 950
teddy-chance: 8
teddy-cooldown-seconds: 45
armor-chance: 20
armor-upgrade-fallback: true
armor-tier-weights:
LEATHER: 40
CHAINMAIL: 30
IRON: 15
DIAMOND: 10
NETHERITE: 5

Pack-a-Punch
Upgrades the weapon in the player's hand. The weapon deals enchant-damage-multiplier (2.0)
times its damage, gets an enchanted name and switches to its enchanted-custom-model-data if one
is set. Reload time is divided by enchant-speed-multiplier (1.5), so an upgraded weapon also
reloads faster. Set it to 1 to keep reloads as they are. Each weapon can be upgraded once.

Armor Shop and Armor Forge
Both are covered on the Armor page. An armor shop is locked to a tier from the creator's Armor Shops list (right-click the entry) or left open to sell every tier.
Power Switch

Right-click to turn on the arena's power for everyone. It can only be bought once per match. Power opens gates and rooms marked as needing it (see Arenas) and plays a thunder sound for the whole arena. No machine needs power to work.
Team Machine
Opens a small menu with one button. It needs at least one downed player in the arena and revives all of them at once. The buyer does not get the revive reward, but each use counts as a revive in their stats.

Machine prices set per arena
Fileeconomy.ymlThe Power Switch and Team Machine copy power-activation-cost and team-machine-cost when they
are placed and keep that price in the arena file. Changing economy.yml later does not touch
machines that already exist; edit cost under power-switches or team-machines in
arenas/<arena>.yml, or remove and place the machine again.