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
keepInventorygame 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.
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.12, 1.12.1, 1.12.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as RetainXP.jar — drop this file into the mods folder
- Download size: 4 KB
- Download link checked 1 Sept 2026 — working
These come from our own check of the pack file, not from the source page.
