Individual KeepInventory

Quick rating

Community listing page, reviews here may not be monitored by the author.

Individual KeepInventory

By itred12Owner

No reviews yet

Allows KeepInventory to be enabled just for specific players, rather than only everyone at once. Compatible with mods such as Curios, Gravestones, Accessories, and The Aether.

Mod Loaders
Minecraft

About

Description

Not everyone likes the KeepInventory gamerule, not everyone likes playing without it. Now both sides can be happy.


KeepInventory can be enabled for a player by running the "keepinventoryfor" command:

keepinventoryfor <username> enable/disable/query

"enable" will enable it for the target, "disable" will disable it for the target, and "query" will list whether it's enabled or disabled for the target.

When enabled, it should function identically to the gamerule. Inventory, EXP, and hunger are all kept on death only for these players.


Compatible with inventories (and related) from:


This is my first-ever (published) mod, so feel free to give feedback and post bug reports on the mod's github page. I've tested this a lot, but there may still be some things I've missed.

Compatibility for other mods will be considered in the future, so feel free to suggest mods for that as well.