1 Page 4: Ammo Types
Benjamin W Hamby edited this page 2026-03-09 22:24:38 -05:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Ammo items are also normal Minecraft items containing identifying custom data.

Example concept:

 leadlocked_ammo: true
 ammo_type: light or 9mm
 ammo_value: 1

Ammo types are fully configurable and can be changed or expanded without modifying the core plugin.

Possible examples:

light

medium

heavy

shotgun

energy

Weapons simply reference an ammo_type string, allowing new ammo systems to be introduced later.

ammo_value represents how much ammunition a single item contributes when used for reloading.

It defines the number of rounds added to the weapon’s magazine per item consumed.

//--Single-round ammo--\

 ammo_type: light rounds
 ammo_value: 1

Each item loads 1 round.

//--High-capacity magazine item-\

 ammo_type: medium
 ammo_value: 30

1 item reloads 30 rounds at once.