Keep But Penalty
Keep inventory on death while applying configurable experience, equipment durability, and vanilla respawn-debuff penalties.
截图
介绍
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
keepInventorybehavior. - Does not modify or save the world’s real
keepInventorygamerule. - 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,levelentries.
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
常见问题
Keep But Penalty 支持哪些 Minecraft 版本?
Keep But Penalty 支持 Minecraft Java 版 1.21.1–26.2,共 3 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Keep But Penalty 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
THE_cattail 的其他作品
查看全部 →
RinLib
A cross-version code library for mods made by RinChan.
Waystones Item Cost Extended
Extend Waystones with compressed and decompressed item payments and combined item costs.
Shared Lootr
Play Lootr, but share the loot.
Paper Plane
Turn FTB Essentials teleport requests into items.
评论
登录后评论和评分