ModsFinder

Keep On Chance (keepinventory)

by testeras

A player who dies can keep the inventory under a rolled chance, and Keep On Chance sets that chance in the server config.

ForgeServer-side onlyAll rights reserved1.19.2 – 1.21.4

What it does

On each death the mod rolls a number against a configured chance. A value of 0.41 means a 41% chance that the player's inventory is kept rather than dropped. The chance can be set in steps of 0.01, so the death penalty can be tuned between full item loss and full protection, which keeps item loss in the game without making it always happen.

The config also controls whether the roll applies in creative mode, through the isCreativeModeIncluded option, and whether the mod is active at all, through a true or false setting that permits or disallows the keep-inventory chance. Each successful keep can show a custom message, and a true or false setting in the config turns those messages on or off; only the player whose death triggered the keep sees it.

Keep On Chance is server-side only. Only the dedicated server needs the mod installed, and other players join without it. It also works in singleplayer worlds opened to LAN, such as with LAN Essentials, where only the host needs it. It works with modded items as well as vanilla ones. The mod is built for Forge, with files for 1.19.2 – 1.21.4, and the code is under All rights reserved.

Key features

  1. Chance-based inventory keep

    Each death rolls a configured chance that decides whether the inventory is kept or lost.

  2. Fine-grained chance setting

    The chance can be set from 0.01 upward in the config, letting server owners pick how harsh deaths are.

  3. Creative mode option

    An isCreativeModeIncluded setting decides whether creative players are subject to the inventory roll.

  4. Private death messages

    Custom messages can show when a keep succeeds. They are shown only to the player who triggered the event and can be toggled on or off.

Compatibility

Latest build for each game version and loader.

1.21.x5 of 5 versions with builds
1.21.41.0.0
1.21.31.0.0
1.21.21.0.0
1.21.11.0.0
1.211.0.0
1.20.x5 of 5 versions with builds
1.20.61.0.0
1.20.41.0.0
1.20.31.0.0
1.20.21.0.0
1.20.11.0.0
1.19.x3 of 3 versions with builds
1.19.41.0.0
1.19.31.0.0
1.19.21.0.0
ReleaseBetaAlphaNot available

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

How it compares

Full comparison

Auto KeepInventory Mod is a Forge option for 1.16 – 1.20.6 under the Apache License 2.0, not open source, and server-side only. Keep XP on Death is a Fabric option for 1.19.4 – 1.20.4 under the CC0 1.0 Universal license, open source, and server-side only. Auto keep inventory runs on Fabric, Forge, NeoForge and Quilt for 1.13 – 1.21.10, is server required with client optional, and is also CC0 1.0 Universal.

ModLoadersGame versionsEnvironmentUpdated
Keep On Chance (keepinventory)Forge1.19.2 – 1.21.4Server-side only2026-01-11
Auto KeepInventory ModForge1.16 – 1.20.6Server-side only2026-06-28
Keep XP on DeathFabric1.19.4 – 1.20.4Server-side only2024-02-08
Auto keep inventoryFabric, Forge, NeoForge and Quilt1.13 – 1.21.10Server required, client optional2025-10-24

Questions

Does Keep On Chance need to be installed on the client?

No. The mod is server-side only, so only the dedicated server needs it. Players can join without installing anything.

Which game versions does Keep On Chance support?

The Forge files cover 1.19.2 – 1.21.4, with 13 release versions in that range. The latest file is 1.0.0 for 1.21.4, published on 2026-01-11.

How is the keep chance set?

The chance is a configured value, such as 0.41 for a 41% chance, and the creative mode and message options are set in the same config.

In the catalog

Keep On Chance (keepinventory) is one of 4,058 Storage mods on ModsFinder, and one of 1,886 Storage mods for Forge. 17,979 mods support Minecraft 1.21.4.

More from testeras

All projects

Similar mods

What the author says

Is player's item loss on death always a good award. For people that like survival experience and keepinventory this is a balance of both. With rolled chance an inventory can be prevented from being lost. This mod is designed for giving a more balanced and customizable death penalty without fully disabling item loss…
testeras, on the Modrinth page

Official listing

Owner
testeras
Published
2026-01-11
Updated on Modrinth
2026-01-11
Facts verified
2026-10-15

Tags