Перейти к содержимому
Mineforgian

Keep But Penalty

Keep inventory on death while applying configurable experience, equipment durability, and vanilla respawn-debuff penalties.

Загрузки
365
Подписчики
1
Обновлён
25 августа 2026 г.
Лицензия
GPL-3.0-or-later

Опубликован 16 мая 2026 г.

Keep But Penalty

Keep your inventory. Choose the cost of death.

Keep But Penalty is a lightweight server-side NeoForge mod for packs and servers that want vanilla-owned inventory retention without grave recovery loops or persistent world-rule changes.

Default behavior

  • Keeps player inventory through a death-scoped projection of vanilla keepInventory behavior.
  • Does not modify or save the world's real keepInventory gamerule.
  • Does not copy inventories or own item drops/player clones.
  • Applies no experience, durability, or respawn-effect penalty by default.

Optional penalties

The common config can enable:

  • A retained fraction of total vanilla experience.
  • Direct durability loss for armor, hands, Curios, and Accessories equipment.
  • Any configured respawn debuffs using effect_id,duration_seconds,level entries.

Example:

[death]
keepInventory = true
enableExperiencePenalty = true
experienceKeepRatio = 0.333333333
respawnDebuffs = [
  "minecraft:weakness,60,1",
  "minecraft:mining_fatigue,60,1"
]

[durability]
enableDurabilityPenalty = false
durabilityLoss = 80

Curios and Accessories are optional. Their equipped slots participate only when the corresponding mod is installed and durability penalties are enabled.

Supported versions

The maintained release matrix follows modpack anchor versions rather than every Minecraft point release. One Keep But Penalty source line supports:

  • Minecraft 1.21.1
  • Minecraft 26.1.2
  • Minecraft 26.2

RinLib 0.3.1 or newer is required.

Upgrading from 0.1.6

Version 0.1.6 wrote keepInventory=true into existing worlds. Stable releases never mutate that rule and cannot infer the administrator's original intent. Reset legacy worlds once if the vanilla baseline should be restored:

/gamerule keepInventory false

Minecraft 26.x uses the renamed rule key:

/gamerule minecraft:keep_inventory false

Downloads

Ченджлог

1.0.1+26.2-neoforgeРелиз26.2 · 25 августа 2026 г.

Maintained modpack-anchor release with no default penalties and no persistent gamerule mutation.

1.0.1+26.1.2-neoforgeРелиз26.1.2 · 25 августа 2026 г.

Maintained modpack-anchor release with no default penalties and no persistent gamerule mutation.

1.0.1+1.21.1-neoforgeРелиз1.21.1 · 25 августа 2026 г.

Maintained modpack-anchor release with no default penalties and no persistent gamerule mutation.

1.0.0+1.21.1-neoforgeРелиз1.21.1 · 25 августа 2026 г.

Stable death-scoped inventory retention without persistent gamerule mutation.

0.1.6+1.21.1-neoforgeРелиз1.21.1 · 23 августа 2026 г.
  • Publishes vanilla keepInventory=true when the server starts.
  • Keeps vanilla death, drop, clone, Curios, and Accessories behavior instead of copying inventories.
  • Applies configurable experience loss and equipped-item durability damage on death.
  • Applies configurable one-minute Weakness and Mining Fatigue after respawn.
0.1.3+1.21.1-neoforgeАльфа1.21.1 · 18 августа 2026 г.
  • Added configurable vanilla Weakness and Mining Fatigue after a death respawn.
  • Added independent effect-level settings and a shared duration setting.
  • Defaults to Weakness I and Mining Fatigue I for 60 seconds.
  • Returning from the End does not apply the respawn debuffs.
0.1.2+1.21.1-neoforgeАльфа1.21.1 · 16 мая 2026 г.

Keep inventory is now runtime-only and no longer changes the vanilla keepInventory gamerule. Removing the mod no longer leaves the world in keepInventory mode.

Комментарии

Загружаем…