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.