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.
All Versions
+ Add Version- port to 1.21.1
- the project is now using a multiloader setup for neoforge and fabric.
- added losing items enchanted with curse of vanishing
- port to 1.21.1
- the project is now using a multiloader setup for neoforge and fabric.
- added losing items enchanted with curse of vanishing
- fix for distribute share not working correctly
- Config Rework (⚠️Your existing config will be overwritten! Make sure to backup your previous settings⚠️)
- Added LevelShare config option
- "modeOnPlayerKill" when the player got killed by another player
- Added local xp loss message to the affected player when global shaming is disabled
| LevelShareMode | Description |
|---------------------|:---------------------:|
| DISTRIBUTE | Distribute an equal amount among all current players |
| TAKE | Gives the xp to the attacking player |
| LOOSE | Like the regular death penalty |
- Added new config options
- Random penalty amount between to values
- Global chat message shaming the dying player about his xp loss
- Changed required version from 1.20.1 to 1.20.x
- No longer required on the client
- icon update