-
Notifications
You must be signed in to change notification settings - Fork 0
Basic Config
Tyvor edited this page Jul 30, 2026
·
2 revisions
The basic config is designed for normal players and quick setup.
File:
config/armor-durability-cap.properties
# Armor Durability Cap
# Restart game/server after changes
enabled=true
# Max durability loss per hit: 20%
max_percent=0.20
# Flat cap per hit (-1 = off)
max_flat_damage=-1
# Minimum durability loss
minimum_damage=1
# FLOOR / ROUND / CEIL
rounding_mode=FLOOR
# Also affect compatible modded armor
affect_modded_armor=true
# Set true to generate advanced config next restart
advanced.generate_file=falseTurns the mod on or off.
Maximum durability loss per hit as a percentage of the item's total durability.
Examples:
-
0.20= up to 20% -
0.02= up to 2%
Optional flat cap per hit.
Examples:
-
-1= disabled -
3= no more than 3 durability damage per hit -
1= no more than 1 durability damage per hit
Minimum durability damage when positive armor damage is applied.
Examples:
-
1= vanilla-like minimum -
0= tiny capped values may become0
Available values:
FLOORROUNDCEIL
If true, the base behavior also affects compatible modded equippable damageable items.
If true, the mod generates the advanced config file on next restart.