Skip to content
keepinvy

Quick rating

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

keepinvy

By cahoxOwner

No reviews yet

Flexible inventory saving settings upon death - separately for PvP, mobs, fire, void, and other reasons

Mod Loaders
Minecraft

About

Description

Smart Keep Inventory

This mod provides flexible control over whether the player loses their inventory upon death, depending on what exactly killed them.

By default, the player's inventory is almost always retained, but it is lost if they are killed by another player (PvP), crushed by a falling driplite/stalactite, or suffocated by blocks. Everything else—falling into lava, drowning, regular mobs, the void, etc.—retains the player's inventory.

Features

  • 🗡 PvP — direct and indirect kills are configured separately (for example, if you were set on fire in battle and the player died from the fire a few seconds later, this also counts as PvP; the time window is configurable)
  • 🪨 Sharpened Driplite / Stalactite
  • 🧱 Suffocation in Blocks
  • 🌌 Falling into the Void
  • 🔥 Fire and Lava
  • 🌊 Drowning
  • 🍂 Falling from a Height
  • 🍗 Hunger
  • 💥 Explosions
  • 🧟 Regular Mobs
  • ❓ Any other causes of death

Each option can be enabled or disabled individually, according to your server's rules.

Settings

Opened directly in-game via the Mod Menu (requires the Cloth Config API) – a screen with switches; changes are applied instantly, without restarting the server. The mod also works without the Mod Menu/Cloth Config – just manually edit the settings in config/keepstuffmod.json.

Dependencies

  • Fabric API (required)
  • Mod Menu (optional, for the settings screen)
  • Cloth Config API (optional, for the settings screen)

Version

Minecraft 1.21.1, Fabric, Java 21