
Keep Inventory Nerf
Tweaks the Keep Inventory gamerule to result in losing only a small amount of items and experience.
Screenshots

About this Mod
Story
Keep Inventory is a highly controversial topic in the community. This mod aims to add balance to the gamerule, allowing players to still face consequences for dying while keeping most of their inventory and levels. This creates a less devastating and more fun gameplay loop. Keep Inventory Nerf draws inspiration from other games like Stardew Valley and Hytale, where dying only results in losing a few random items.
Changes
- Players will only drop between 1 and 3 random items on death. This can be configured with the
keepInventoryMinItemsToDropandkeepInventoryMaxItemsToDropgamerules. - Players will only lose a small percentage of their experience on death. This can be configured with the
experienceLossPercentagegamerule. - On death, you will be informed of which items were dropped and the number of experience levels that were lost.
- The Recovery Compass will no longer drop from the player's inventory on death.
NOTICE: New worlds will have keep inventory enabled by default. Existing worlds will need to manually enable it.
Showcase
Available Versions
How to Install Keep Inventory Nerf 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.10).
Install Mod
Open the mod browser in the dashboard and search for "Keep Inventory Nerf". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.10, 1.21.9
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Keep Inventory Nerf 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.10). You can switch loaders with one click in the panel.
Is Keep Inventory Nerf compatible with fabric?
Keep Inventory Nerf officially supports fabric for Minecraft 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Keep Inventory Nerf – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Keep Inventory Nerf 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 Inventory Nerf with just one click on your server.