Compatibility
Minecraft: Java Edition
26.2
Platforms
Supported environments
Dedicated servers only
Links
Tags
Creators
Details
Licensed MIT
Published 6 hours ago
Child Friendly Keep Inventory is a server side Fabric mod that lets operators enable keep inventory for individual players. Each player keeps or drops their items and XP on death based on their own setting, no matter what the keep_inventory gamerule is set to. Players cannot change it themselves, only ops can. Settings are saved by UUID so they survive restarts and name changes. Nothing is needed on the client, vanilla clients can join normally.
Commands (require op level 2):
/ikeepinv set <player> <true|false>sets a player's keep inventory/ikeepinv get <player>shows a player's current setting/ikeepinv clear <player>removes the override so they use the default/ikeepinv default <true|false>sets the default for players without an override/ikeepinv listlists the default and all overrides
Requires Fabric API. Install by dropping the jar into the server's mods folder.
Source: https://github.com/DeeKahy/child-friendly-keepinventory

