
Conditional Keep Inventory
A mod to twist the drop on Player death.
About this Mod
The Conditional Keep Inventory Mod
Have you ever wanted to avoid loosing forever your stuff in some critical situations, but not to have the Keep Inventory set to true for all death?
Haven't we all hoped not to lose our stuff to a slip in the void yet without losing the thrill to go get it back without dying again when killed by some mob in a deep cave?
Well then despair no more! Because I right here have the perfect solution for you!
I hereby present you... the Conditional Keep Inventory mod!
What it does
This mod intends to allow you to choose as exactly as you want when should the Keep Inventory apply, and when shall it not.
Through a config file and a command, I have made this mod so that you can set both a whitelist and a blacklist of conditions, which would condition whether the Keep Inventory can, or not, apply.
Links
- Modrinth
- CurseForge
- Source code
- Wiki
- Issues
- Fabric API (modrinth)
- Fabric API (curseforge)
- Fabric Mod Loader
- Fabric Server-Side Dev Discord
Dos and Don'ts
You can:
- Download the mod for your own use
- Use the mod in a modpack (only if hosted on Modrinth or if I provided explicit authorisation)
- Share the mod's existence to your friends and relatives
- Read the source code in order to know how could I achieve something, re-use little pieces of it
- Comment, describe your experience, whether it is good or bad. So that I can improve the mod
- Enjoy the mod, of course!
But you can't:
- re-upload the mod
- give it as your own creation
- use it publicly without letting people know where does it come from
- make monetary profit out of this mod
- copy-paste the full code in your own project
- embed the mod into another of your own without mentioning me as the author
Available Versions
How to Install Conditional Keep Inventory 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.17.1).
Install Mod
Open the mod browser in the dashboard and search for "Conditional Keep Inventory". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.17.1, 1.17, 1.16.5 (+2 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Conditional Keep Inventory 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.17.1). You can switch loaders with one click in the panel.
Is Conditional Keep Inventory compatible with fabric and quilt?
Conditional Keep Inventory officially supports fabric, quilt for Minecraft 1.17.1, 1.17, 1.16.5. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Conditional Keep Inventory – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Conditional Keep Inventory 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 Conditional Keep Inventory with just one click on your server.