
Keep XP on Death
Keep XP on death! For all players or based by permission.
About this Mod

Keep XP mod allows you to keep your hard-earned experience points after death.No more worrying about losing levels and hours spent farming!
Key Features
- Keep XP on Death: Never lose your XP after death again.
- Client-Server Compatibility: The mod works on both client and server sides (So it works on singleplayer or as a server mod - not required on client!).
- Two Modes of Operation:
- Default Mode: XP is preserved for all players on the server.
- Permissions Mode: XP is only preserved for players with the
keep.xppermission.
- Automatic Permission Detection: The mod automatically detects and uses the Permissions API (e.g., LuckPerms).
- Manual Override: If needed, you can manually enable XP preservation for all players using the
/keepxp override oncommand.
Commands
/keepxp help: Displays a brief overview of available commands./keepxp override [on|off]: Enables or disables XP preservation for all players./keepxp status: Displays the current mode in which the mod is operating.
Commands works only for players with permission level 2 or higher (OP works too).
Usage
- Default Mode: After installing the mod, XP is automatically preserved for all players on the server.
- Permissions Mode: If you want the mod to work with permissions, assign the
keep.xppermission to players (e.g., using LuckPerms). - Manual Override: If needed, you can use the
/keepxp override oncommand to enable XP preservation for all players.
Frequently Asked Questions (FAQ)
- Q: Does the mod work in single player?
- A: Yes, the mod works in single player as well.
- Q: Do I need to have the Permissions API installed?
- A: No, the mod automatically detects and uses the Permissions API if available. If you don't want to use permissions, you can manually enable XP preservation for all players using the
/keepxp override oncommand.
- A: No, the mod automatically detects and uses the Permissions API if available. If you don't want to use permissions, you can manually enable XP preservation for all players using the

If you'd like to support the continued development of Keep XP, consider contributing on my ☕ Ko-fi page.
Any amount is greatly appreciated and helps me dedicate more time to creating awesome mods.
⭐ Supporters also receive a special Supporter role on my Discord server!
Have questions, encountered a bug, or just want to chat about the mod?
Join our community on Discord!
For bug reports and technical issues, you can also open an issue on GitHub.
Available Versions
How to Install Keep XP on Death on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "Keep XP on Death". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.7, 1.21.6 (+21 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Keep XP on Death server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.
Is Keep XP on Death compatible with fabric?
Keep XP on Death officially supports fabric for Minecraft 1.21.8, 1.21.7, 1.21.6. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Keep XP on Death – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Keep XP on Death consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Keep XP on Death with just one click on your server.