Weapons

Fileweapons.ymlFileeconomy.ymlWeapons are hoe items with a custom model, driven by weapons.yml. Every copy a player holds
tracks its own magazine, reserve, aiming state and Pack-a-Punch state.
Controls
| Action | Input |
|---|---|
| Fire | Right-click |
| Aim down sights | Left-click, toggles on and off |
| Reload | Sneak + right-click |
| Auto reload | Firing with an empty magazine starts a reload if there is reserve ammo |
Each shot needs its own click. fire-mode is a label for the lore, so a "Full Auto" weapon is
fast because of its low shoot-delay, not because the button can be held.
A reload shows a progress bar at the top of the screen. Switching hotbar slots or starting a reload drops you out of ADS. The action bar shows the ammo of the weapon in hand, coloured by state: normal, reloading, just fired, or empty.
The ten weapons
| Id | Mode | Mag | Reserve | Damage | Price | Special |
|---|---|---|---|---|---|---|
M1911 | Semi Auto | 8 | infinite | 4 | $0 | Starting pistol |
PYTHON | Semi Auto | 6 | 36 | 16 | $1,500 | |
SVT40 | Semi Auto | 8 | 80 | 4 | $500 | |
FG42 | Full Auto | 32 | 256 | 8 | $1,200 | |
MOSIN | Bolt Action | 5 | 30 | 10 | $500 | |
PTRS41 | Semi Auto | 4 | 24 | 20 | $3,000 | Pierces 4 targets |
REMINGTON870 | Pump Action | 6 | 42 | 5 | $500 | 8 pellets |
DOUBLEBARREL | Semi Auto | 2 | 30 | 9 | $1,500 | 10 pellets |
PPSH41 | Full Auto | 71 | 355 | 3 | $2,000 | |
BAZOOKA | Single Shot | 1 | 5 | 45 | $2,500 | Explodes, radius 4 |
Fileeconomy.ymlDamage is per bullet or pellet. Prices live in economy.yml under weapon-prices. The set of
weapons is fixed: you can retune, rename and reskin these ten, but not add an eleventh id.
Ballistics
Bullets are real projectiles: arrows with no gravity, no sound and no vanilla damage, moving at
bullet-speed blocks per tick. They vanish after three seconds or on impact.
| Key | What it does |
|---|---|
power | Damage per bullet. |
shoot-delay | Seconds between shots. Fast Fingers halves it. |
reload-time | Seconds to reload. Fast Fingers halves it. |
magazine | Rounds per magazine. |
reserve | Spare rounds. Any negative number means infinite, shown as ∞. |
bullet-speed | Projectile speed. |
accuracy | 0 to 1. Spread is 1 - accuracy, so 0.94 is tight and 0.6 is wild. |
bullets-per-shot | Pellets per shot, each with its own spread. |
recoil | How hard the shot pushes the shooter backward and slightly up. |
pierce-targets | How many enemies one bullet passes through. |
explosion-radius | Above 0, the bullet explodes where it lands. No blocks break. |
sound | The shot sound, a Minecraft sound name. |
Bullets only hurt enemies that belong to the arena. Explosions use vanilla explosion damage, so keep the Bazooka away from your own feet.
Headshots
A hit at or above the target's eye line, minus a quarter block, counts as a headshot and does 1.5 times the damage. The multiplier is fixed. During Insta-Kill every hit kills anyway.
Config keyrewards.crit-killFileeconomy.ymlConfig keyrewards.killA kill landed with a headshot pays rewards.crit-kill ($20) in economy.yml instead of the
normal rewards.kill ($10). On enemies with their own kill-reward, the difference is added on top.
Perks on hit
Incendiary Bullets and Freezing Bullets apply on every enemy a bullet hits. See Perks.
Aiming down sights
ADS trades movement for precision. While aiming:
| Key | Effect |
|---|---|
ads-zoom-amplifier | Slowness level applied to the player. Higher zooms the view in more. 0 is the lightest zoom. |
ads-spread-multiplier | Multiplies spread. 0.45 means less than half the spread. |
ads-recoil-multiplier | Multiplies recoil. |
ads-custom-model-data | Model shown while aiming, for a raised-sights model in your pack. 0 keeps the normal one. |
Look and lore
| Key | Meaning |
|---|---|
material | The item. The defaults use WOODEN_HOE. |
display-name | Item name, MiniMessage. |
custom-model-data | Model id from your resource pack. |
enchanted-custom-model-data | Model after Pack-a-Punch. 0 keeps the normal model. |
fire-mode | Label for the lore only. |
shop-lore | Lines shown in the Weapon Shop. |
held-lore | Lines on the item in hand. |
Both lore lists take {name}, {type}, {fire-mode}, {damage}, {magazine}, {reserve},
{shoot-delay}, {reload}, {bullet-speed}, {accuracy}, {recoil}, {pellets},
{pierce-targets}, {pierce} and {explosion}. shop-lore also gets {cost}, {base-cost} and
{discounted}. held-lore also gets {mag}, {current-reserve}, {ammo} and {enchanted}.
The {flame-range}, {flame-angle} and {fire-ticks} placeholders exist for the old flamethrower
lore. They read flame-range, flame-angle and fire-duration-ticks but have no effect in play.
weapons:
PTRS41:
material: WOODEN_HOE
sound: ENTITY_GENERIC_EXPLODE
fire-mode: "Semi Auto"
magazine: 4
reserve: 24
power: 20.0
shoot-delay: 0.35
reload-time: 3.6
bullet-speed: 8.5
accuracy: 0.96
recoil: 0.24
bullets-per-shot: 1
pierce-targets: 4
custom-model-data: 8
enchanted-custom-model-data: 0
ads-custom-model-data: 0
ads-zoom-amplifier: 3
ads-spread-multiplier: 0.12
ads-recoil-multiplier: 0.40
Fileweapons.ymlWeapons you add to weapons.yml survive plugin updates. The config updater only adds missing keys
and never removes your entries.
Carrying weapons
Players start with two weapon slots (hotbar 1 and 2) and the starting-weapon. The Bonus Weapon
perk opens slot 3. How buying fills or replaces slots is covered under
Machines.
Pack-a-Punch
Fileeconomy.ymlThe Pack-a-Punch machine doubles a weapon's damage (enchant-damage-multiplier in
economy.yml), marks its name and swaps to the enchanted model. Reload time is divided by
enchant-speed-multiplier (1.5). One upgrade per weapon. Buying the same weapon again replaces it
with a plain copy. See Machines.