
Modrinth · Minecraft mod
Keep But Penalty
Keep your inventory on death without altering gamerules — configurable XP, percentage durability, anti-suicide hunger, and respawn debuff penalties.
Quick answer
Which Keep But Penalty release matches 26.2 NeoForge?
Keep But Penalty 2.0.3+26.2-neoforge targets 26.2 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Keep But Penalty required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Keep But Penalty 2.0.3+26.2-neoforge need?
2.0.3+26.2-neoforge on 26.2 NeoForge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Keep But Penalty without breaking your instance.
Built for Keep But Penalty 2.0.3+26.2-neoforge on 26.2 NeoForge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.0.3+26.2-neoforge. It targets 26.2 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 2.0.3+26.2-neoforge. It opens that exact file at the source.
About this project
What does Keep But Penalty add?
Keep But Penalty
Keep your items when you die without making death free.
Keep But Penalty preserves player inventories on death (without changing your world's keepInventory gamerule) and replaces frustrating item-recovery runs with configurable experience loss, gear durability wear, hunger preservation, and optional respawn debuffs.

What Happens on Death
- Keep your gear, leave world gamerules intact: Players keep their inventory, armor, offhand, and curios/trinkets on death while your world's
keepInventorygamerule stays untouched. - Configurable XP loss: Keep a set percentage of total experience (default
75%, losing25%). Experience is recalculated cleanly on respawn without triggering XP orb sounds or Mending repairs. - Equipment durability wear: Deducts a percentage of max durability (default
10%) or a flat amount from equipped armor, held items, and optional Curios, Trinkets, or Accessories slots.- Won't shatter your gear by default: With
allowBreak = false(default), death wear stops at1durability so penalties never destroy an item outright. If you opt intoallowBreak = true, items reaching0break normally (and respect anti-break mods like Keep My Sword). Vanilla Elytra always stops at its1-durability broken-wing state. - Item & tag exclusions: Skip specific items or tags via
excludedItems(#keep_but_penalty:excluded, Tinkers' Construct, Tetra, and SlashBlade tools are excluded by default).
- Won't shatter your gear by default: With
- No dying to refill hunger: Preserves below-full hunger across death with a configurable floor (
minRespawnFoodLevel = 6, 3 drumsticks), preventing both free hunger resets and endless starvation loops. - Optional respawn debuffs & actionbar summary: Apply status effects that scale up on consecutive deaths, and show a brief actionbar summary of what the death cost you.

Configuration
Edit in-game via Mod Menu (Fabric) or the Mods → Config screen (Forge / NeoForge), or edit config/keep_but_penalty.toml:
[death]
keepInventory = true
enableExperiencePenalty = true
experienceKeepRatio = 0.75
preserveHungerOnDeath = true
minRespawnFoodLevel = 6
skipOnPvp = false
respawnDebuffs = []
respawnDebuffDurationsSecondsByDeath = []
respawnDebuffStreakResetSeconds = 600
showRespawnSummary = true
[durability]
enableDurabilityPenalty = true
penaltyMode = "PERCENT_MAX"
durabilityPercent = 0.1
durabilityFlat = 80
allowBreak = false
damageArmor = true
damageMainHand = true
damageOffHand = true
damageCurios = true
damageTrinkets = true
damageAccessories = true
excludedItems = ["#keep_but_penalty:excluded", "#tconstruct:modifiable", "#tetra:modular_items", "#slashblade:swords"]
Supported Versions
Standalone JAR with no required library mods.
| Minecraft | Loaders | Optional Slot Support |
|---|---|---|
1.20.1 |
Fabric, Forge | Curios, Trinkets, Accessories |
1.21.1 |
Fabric, NeoForge | Curios, Trinkets, Accessories |
26.1.2 |
Fabric, NeoForge | Curios, Trinkets, Accessories |
26.2 |
Fabric, NeoForge | Curios, Trinkets, Accessories |
26.3 |
Fabric, NeoForge | Curios, Trinkets, Accessories |
Building
./scripts/setup-hooks.sh
./scripts/verify.sh [--container]
Download
Project description from Modrinth.
Pick your setup
Keep But Penalty by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
2 loader builds26.1.2
2 loader builds1.21.1
2 loader builds1.20.1
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Keep But Penalty versions and loaders
2.0.3+26.2-neoforge
keep-but-penalty-2.0.3+26.2-neoforge.jar
21 Nov 2026
2.0.2+26.2-neoforge
keep-but-penalty-2.0.2+26.2-neoforge.jar
20 Nov 2026
Looking for an older file? The official Modrinth project page is in Resources.