Per-Player Keep Inventory
Dying in Minecraft is stressful enough when you are playing alone, but on a server it can turn into a full-blown crisis. One player wants a hardcore experience, another just wants to keep their diamond gear, and the admin is stuck in the middle. That is exactly the problem Per-Player Keep Inventory solves. This add-on lets you control keep-inventory rules for every player separately instead of flipping one global switch for the whole world.
What Per-Player Keep Inventory Does
At its core, the add-on gives you command-based control over who keeps their items on death. Instead of a single gamerule that applies to everyone, you can toggle keep inventory on or off for each player by name. That alone makes it a must-have for survival servers with mixed playstyles.
But the add-on goes further. It introduces a "lives" system: each player can be granted a number of free keep-inventory lives, and they lose one every time they die. When the lives run out, normal death rules kick in again. It is a clever middle ground between full keep inventory and brutal vanilla loss, and it was heavily inspired by the same feature in the Matcha Flavored datapack.
Extra Hearts and Gamerules
There is also a health bonus layer for admins who want to reward careful players. A new set of gamerules lets each consumed life grant one additional heart, with a configurable cap on how many extra hearts a player can accumulate. The relevant gamerules are:
- playerkeepinventory:extra_life_health_bonus — set to true or false to enable or disable the heart bonus.
- playerkeepinventory:max_extra_hearts — sets the maximum number of additional hearts that can be granted.
Core Commands
Everything runs through a single, easy-to-remember command root. To toggle a player's keep-inventory rule, use /keepinventory {player} {true || false}. Managing lives is just as simple:
- /keepinventory {player} add_life <amount> — add free keep-inventory lives.
- /keepinventory {player} set_lives <amount> — set a player's lives to an exact number.
- /keepinventory {player} get_lives — check how many lives a player has left.
Because these are standard commands, they work from the chat window, command blocks, or a permissions plugin, which makes automating rewards and penalties straightforward for server owners.
Supported Versions and Loaders
Per-Player Keep Inventory for Minecraft is built as a datapack-style add-on, so it works with the vanilla command system rather than requiring a heavy mod loader. It is designed for modern Java Edition releases, and you should always check the version list on the download page before installing, since command syntax occasionally shifts between major updates. If you run a Fabric or NeoForge server, the add-on slots in cleanly alongside your existing setup as long as the game version matches.
If you would rather skip manual file management entirely, the foxygame.net launcher handles the busywork: it lists Per-Player Keep Inventory in its built-in add-on catalog, so you can install it with a single click and let the launcher keep it updated as new game versions roll out.
How to Install
Learning how to install the add-on takes only a few minutes, whether you are setting up a single-player world or a busy server.
- Download Per-Player Keep Inventory from a trusted source and confirm the file matches your Minecraft version.
- Place the add-on file in the correct folder for your world or server (the datapacks folder for world-based installs).
- Reload the world with /reload or restart the server so the commands register.
- Test with /keepinventory {player} get_lives to confirm everything is working.
On a server, remember that only operators or players with the right permission level can run these commands, so plan your admin roles accordingly.
Why It Belongs on Your Server
Per-Player Keep Inventory fills a gap that vanilla Minecraft has never addressed: fairness across different playstyles. Hardcore players can keep their stakes high, casual players can protect their builds, and admins get a flexible lives-and-hearts system to reward engagement. Whether you run a small friend group or a public survival world, this add-on gives you the granular control you have been missing.
===ARTICLE-END===