-
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 percent of total durability.
Examples:
-
0.20= up to 20% of total durability per hit -
0.02= up to 2% of total durability per hit
Optional flat cap per hit.
Examples:
-
-1= disabled -
3= no more than 3 durability damage per hit -
1= always cap at 1 durability damage per hit
Minimum durability damage when armor damage is applied.
Examples:
-
1= vanilla-like minimum -
0= tiny hits may deal no durability damage after rounding
Controls how durability values are rounded.
Available values:
FLOORROUNDCEIL
If true, the mod also affects compatible modded armor that uses normal durability behavior.
If true, the mod will generate the advanced config on the next restart.
After the file is generated, restart again after editing it.
max_percent=0.20
max_flat_damage=-1
minimum_damage=1
rounding_mode=FLOORmax_percent=0.05
max_flat_damage=3
minimum_damage=1
rounding_mode=FLOORmax_percent=0.01
max_flat_damage=1
minimum_damage=1
rounding_mode=FLOOR