HomeJavaDatapacksCustom Keep Inventory
Custom Keep Inventory
DatapacksJava

Custom Keep Inventory

This project adds the rules that deop players can freely adjust the death penalty.

⬇ Download on Modrinth

Custom Keep Inventory

A Minecraft Datapack for 1.21.11+ that gives players full control over their death penalties. Choose how punishing death should be — from peaceful keep-inventory to hardcore item drops — all through an intuitive in-game GUI.


Overview

Custom Keep Inventory replaces the all-or-nothing nature of vanilla keepInventory with a flexible, per-player penalty system. Whether you prefer a relaxed experience or a punishing survival challenge, this datapack lets you (or your server admin) decide exactly what happens when you die.


Death Penalty Modes

Mode Behavior
Vanilla Death drops nothing (default)
Softcore Drops experience only; inventory is kept
Mediumcore Drops experience, and backpack items; keeps hotbar, armor, and off-hand item
Hardcore Drops experience and all items

Features


How to Use

For Players

  1. Press G at any time to open your personal death penalty settings.
  2. Select your preferred mode from the dialog.
  3. Your choice takes effect immediately on your next death.

For Administrators

  1. Open the pause menu and click Custom Keep Inventory to enter the configuration.
  2. From the admin panel you can:
    • Adjust the global death penalty for all players.
    • Toggle whether non-op players may change their own penalty mode.
  3. Changes apply in real time without requiring a reload.

Installation

  1. Download the datapack .zip file.
  2. Place it into your world's datapacks/ folder.
  3. Run /reload in-game or restart the server.
  4. The datapack will automatically initialize on first load.

Requirements


Permissions

Action Required Level
Change own penalty mode Non-op (if enabled by admin)
Change global penalty Operator (op)
Toggle player self-configuration Operator (op)

Notes

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more