
Modrinth · Minecraft mod
Keep Inventory Penalty
Adds a configurable xp penalty when you die while using keepInventory.
Quick answer
Which Keep Inventory Penalty release should I use?
Keep Inventory Penalty 3.0.0 targets 1.21.1 with NeoForge. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is Keep Inventory Penalty required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does Keep Inventory Penalty 3.0.0 need?
3.0.0. Change the file and its required mods may change too.
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 Inventory Penalty without breaking your instance.
Built for Keep Inventory Penalty 3.0.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 3.0.0. It targets 1.21.1 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
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 3.0.0. It opens that exact file at the source.
About this project
What does Keep Inventory Penalty add?
Keep Inventory Penalty
Keep Inventory Penalty adds a configurable xp penalty when you die while using keepInventory. With the default configuration your XP will be halved each time you die.
Features:
- XP penalty on death
- Config file inside your world folder
- Reload the config using the /reload command
Config Options for 1.21+
- Penalty enabled (default: true)
- Penalty loss percentage (default: 0.5f)
- Random penalty between two values (default: false)
- Global chat message shaming the dying player about his xp loss (default: false)
- If the player gets killed by another player, give the attacking player the penalized xp (default: false)
- Lose items enchanted with curse of vanishing (default: true)
FAQ
Can I include this in my Modpack?
Yes.
Backports?
No.
Is this mod compatible with X?
I don't know. I will add a list of incompatible mods if problems come to my attention.
Project description from Modrinth.
Pick your setup
Keep Inventory Penalty by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.6
1 loader build1.20.5
1 loader build1.20.4
1 loader build1.20.3
1 loader build1.20.2
1 loader build1.20.1
1 loader build1.20
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Keep Inventory Penalty versions and loaders
3.0.0
keepinventorypenalty-neoforge-1.21.1-3.0.0.jar
3 Jul 2025
3.0.0
keepinventorypenalty-fabric-1.21.1-3.0.0.jar
3 Jul 2025
2.0.1
keep-inventory-penalty-2.0.1.jar
19 Aug 2023
2.0.0
keep-inventory-penalty-2.0.0+1.20.1.jar
15 Aug 2023
1.1.0
keep-inventory-penalty-1.1.0+1.20.1.jar
8 Aug 2023
1.0.1
keep-inventory-penalty-1.0.1+1.20.1.jar
5 Aug 2023
1.0.0
keep-inventory-penalty-1.0.0+1.20.1.jar
4 Aug 2023
Looking for an older file? The official Modrinth project page is in Resources.