Custom Keep Inventory
This project adds the rules that deop players can freely adjust the death penalty.
介绍
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
- Per-Player Configuration — Every player chooses their own preferred penalty mode.
- Global Override — Administrators can set a universal death penalty for all players.
- Permission Control — Admins can toggle whether non-op players are allowed to change their own penalty mode.
- In-Game GUI — Clean dialog-based interface, no command memorization needed.
- Quick Access — Press G to instantly open your personal death penalty settings.
- Esc Menu Integration — Access the full configuration menu directly from the pause screen.
How to Use
For Players
- Press G at any time to open your personal death penalty settings.
- Select your preferred mode from the dialog.
- Your choice takes effect immediately on your next death.
For Administrators
- Open the pause menu and click Custom Keep Inventory to enter the configuration.
- 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.
- Changes apply in real time without requiring a reload.
Installation
- Download the datapack
.zipfile. - Place it into your world’s
datapacks/folder. - Run
/reloadin-game or restart the server. - The datapack will automatically initialize on first load.
Requirements
- Minecraft Java Edition 1.21.11 or newer
- No additional mods or plugins required
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
- Players without operator status cannot access the admin configuration menu.
- If the admin disables self-configuration, non-op players will be locked to the current setting.
- The datapack is fully server-side; clients do not need to install anything.
常见问题
Custom Keep Inventory 支持哪些 Minecraft 版本?
Custom Keep Inventory 支持 Minecraft Java 版 1.21.11–26.2,共 5 个版本。下载时注意选择和你游戏版本一致的文件。
Custom Keep Inventory 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
FeSo4a 的其他作品
查看全部 →
Better Chatting
This project changes some types of chatting
Scoreboard ID
This project generate a 9-digit id for each player.
Infinity Night Vision
This project let player give/clear effect of night vision.
Teleport Player
This project add a way to tp other players for the no-op
评论
登录后评论和评分