A lightweight Minecraft plugin that dynamically controls the keepInventory gamerule based on in-game time, protection plugins, and death causes.
- Time-based Control - Keep inventory during day, drop items at night
- Protection Plugin Integration - Lands and GriefPrevention support with per-area settings
- Death Cause Rules - Different settings for PvP vs PvE deaths
- Economy Support - Charge players to keep inventory (requires Vault)
- Per-world Settings - Configure each world independently
- Folia Compatible - Full support for Paper, Spigot, and Folia servers
- Minimal Performance Impact - Efficient tick-based checking
- Minecraft 1.20.4+
- Java 17+
- Paper/Spigot/Folia server
- Download the latest release
- Place JAR in
plugins/folder - Restart server
- Edit
config.ymlto customize
Full documentation available on the Wiki.
| Command | Description | Permission |
|---|---|---|
/dki status |
Show current status | dynamickeepinv.admin |
/dki reload |
Reload configuration | dynamickeepinv.admin |
/dki toggle |
Toggle plugin on/off | dynamickeepinv.admin |
| Permission | Description |
|---|---|
dynamickeepinv.admin |
Access to all commands |
dynamickeepinv.bypass |
Always keep inventory |
mvn clean packageApache License 2.0