Home›Java›Mods›CKI | CombatKeepInventory | Protect your inventory from environmental death
CKI | CombatKeepInventory | Protect your inventory from environmental death
ModsJava

CKI | CombatKeepInventory | Protect your inventory from environmental death

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
CombatKeepInventory is a lightweight combat tagging and inventory protection plugin for Bukkit-based Minecraft servers.

It changes the behavior of keepInventory during PvP deaths: players can keep their inventory when they die from normal PvE or environmental causes while still dropping their inventory when killed by another player.

CombatKeepInventory is designed for survival, SMP, PvP and network servers that want more precise control over death and inventory behavior without replacing Minecraft's normal death system.

Features

- PvP combat tagging
- Configurable combat duration
- Player-kill inventory drop
- PvE/environmental inventory protection
- Works alongside the vanilla keepInventory gamerule
- Optional WorldGuard integration
- Combat logout handling
- Bypass permissions
- Disabled-world support
- Configurable messages
- Reload and information commands
- Core API for integrations
- Platform detection and capability information

How it works

When a player enters combat, CombatKeepInventory creates a combat session and tracks the relevant combat state.

If the player is killed by another player, the plugin can force the inventory to drop even when keepInventory is enabled.

Deaths caused by mobs, the environment or other non-player causes can continue to follow the configured inventory policy.

Compatibility

- Bukkit
- Spigot
- Paper
- Purpur
- Java Edition servers using the Bukkit API

The plugin is designed to avoid unnecessary NMS dependencies and uses the Bukkit/Paper API where possible.

Requirements

- Java 17+
- Bukkit-compatible server
- Paper is recommended

Optional integrations

- WorldGuard

Commands

/cki reload
/cki info
/cki pvp

Permissions

combatkeepinventory.bypass
combatkeepinventory.admin

Configuration

CombatKeepInventory provides configuration options for:

- Combat duration
- PvP behavior
- Disabled worlds
- WorldGuard integration
- Messages
- Platform detection
- Combat state handling

The plugin does not require a proxy to operate.

For proxy/network-wide combat state synchronization, use the separate CombatKeepInventory Velocity project.
https://www.spigotmc.org/resources/combatkeepinventory-velocity.138844/

plugin on Modrinth: https://modrinth.com/plugin/combatkeepinventory

If you encounter any errors, please report them immediately at https://github.com/thanhnhanyt53/Bug-report-CombatKeepInventory/issues
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

CKI | CombatKeepInventory | Protect your inventory from environmental death is a free Minecraft Java mod. Compatible with Minecraft 1.21, 26.1, 26.2. Downloaded 77 times (via Spigot). Download it and open it directly in the game.

Explore more