ModsFinder

Keep Inventory

by Itamio

Keep Inventory keeps a world's keepInventory gamerule set to true, so players leave their items on death whenever the gamerule would otherwise be turned off.

FabricForgeNeoForgeServer-side onlyMIT LicenseOpen source1.8.9 – 26.1.2

What it does

The mod enforces keepInventory always true. It sets the gamerule when a world loads, and it checks again every 20 ticks. If the gamerule is changed to false, the mod switches it back to true within about one second. Because of this, even a player with admin rights who runs the command to set keepInventory to false sees the value reverted.

The mod is server-side only, so players join without installing anything and only the server needs it. It targets Fabric, Forge and NeoForge, with builds for 1.8.9 – 26.1.2 covering 35 release versions, and the latest files are 1.0.0 for 26.1.2. The code is open source under the MIT License, and the project has public links to its source, issue tracker and wiki.

Key features

  1. Enforced keepInventory

    The keepInventory gamerule is held at true, so items are not lost when a player dies.

  2. Load-time setup

    The gamerule is set to true as soon as the world loads, before any player can die in it.

  3. Periodic verification

    A check runs every 20 ticks to confirm the gamerule still reads true.

  4. Automatic correction

    If the gamerule is set to false, the mod restores true within about one second.

Compatibility

Latest build for each game version and loader.

26.x3 of 3 versions with builds
26.1.21.0.01.0.01.0.0
26.1.11.0.0Not available1.0.0
26.11.0.0Not available1.0.0
1.21.x12 of 12 versions with builds
1.21.11Not available1.0.01.0.0
1.21.10Not available1.0.01.0.0
1.21.91.0.01.0.01.0.0
1.21.8Not available1.0.01.0.0
1.21.7Not available1.0.01.0.0
1.21.6Not available1.0.01.0.0
1.21.5Not available1.0.01.0.0
1.21.4Not available1.0.01.0.0
1.21.3Not available1.0.01.0.0
1.21.21.0.0Not available1.0.0
1.21.1Not available1.0.01.0.0
1.211.0.01.0.01.0.0
1.20.x6 of 6 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x1 of 1 version with builds
1.12.x2 of 2 versions with builds
1.8.x1 of 1 version with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Hardcore-free servers

Server owners who want a world where death never costs items can run the mod to keep the gamerule fixed.

Shared worlds

On a multiplayer server, the setting holds even when a manual gamerule command is run by an admin.

Who it’s for: Server owners who want item retention on death for every player, and players on servers that want the rule enforced without relying on manual gamerule settings.

How it compares

Full comparison

XpClearer is server-side required with an optional client, open source under the MIT License, and covers 1.13 – 26.2 on Fabric, Forge, NeoForge and Quilt. Stay A While is server-side only, open source under the GNU General Public License v3.0 only, and covers 1.19.2 – 26.3 on Fabric and NeoForge. Keep my tools! is not open source, requires both client and server, and covers 1.20.1 – 1.21.10 on Fabric, Forge and NeoForge.

ModLoadersGame versionsEnvironmentUpdated
Keep InventoryFabric, Forge and NeoForge1.8.9 – 26.1.2Server-side only2026-05-03
XpClearerFabric, Forge, NeoForge and Quilt1.13 – 26.2Server required, client optional2026-08-23
Stay A WhileFabric and NeoForge1.19.2 – 26.3Server-side only2026-10-07
Keep my tools!Fabric, Forge and NeoForge1.20.1 – 1.21.10Client and server2026-02-28

Questions

Does Keep Inventory have to be installed on the client?

No. It runs on the server alone, so players need nothing extra to join.

Which loaders does Keep Inventory support?

Fabric, Forge and NeoForge. The latest file for each loader is 1.0.0 for 26.1.2, published 2026-05-03.

Can an admin still turn off keepInventory with a command?

The mod changes the gamerule back to true within about one second, so a manual change to false does not persist.

In the catalog

Keep Inventory is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 15,189 mods support Minecraft 26.1.2.

More from Itamio

All projects

Similar mods

What the author says

Never lose your items on death again! This mod automatically enforces the keepInventory gamerule to always be true, preventing any manual changes. The mod uses two mechanisms to ensure keepInventory is always enabled:.
Itamio, on the Modrinth page

Official listing

Owner
Itamio
Published
2026-04-10
Updated on Modrinth
2026-05-03
Facts verified
2026-10-15

Tags