Compatibility
Minecraft: Java Edition
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
Platforms
Bukkit
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published last year
Updated last year
Are you annoyed to lose all your XP just because you didn't heard a Creeper behind you?
RetainXP allows you to keep a part of your XP after you die. For example, you can configure it to keep 50% of your XP on death instead of losing all of it.
Permissions
Currently, there is only one permission available: retainxp.retain
(Default: everyone)
How does it work?
On player death (and if the player has the retainxp.retain
permission) the current XP level gets multiplied with the multiplier
value specified in the config file (which defaults to 1.0). On respawn, the new player level will be the calculated value.
Examples:
- If the multiplier is set to 1.0 and you die on XP level 60, you will be respawned with XP level 60 (i.e. just like you set the
keepInventory
game rule but without keeping the inventory content). - If the multiplier is set to 0.5 and you die on XP level 60, you will be respawned with XP level 30.
My other plugins
You can find them on my website.