Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Tags
Creators
Details
Licensed MIT
Published 6 days ago
Updated last month
🛡️ Spark Keep Inventory
Per-player Keep Inventory plugin — independent of the vanilla keepInventory gamerule.
✨ Overview
SparkKeepInv lets server operators grant Keep Inventory to individual players by UUID, rather than toggling the world-wide gamerule. Only the players you choose keep their items — everyone else gets vanilla death behavior.
- ✅ Keeps inventory, armor, offhand & XP
- 🚫 No items or XP orbs dropped (for enabled players only)
- 🌍 Works regardless of the
keepInventorygamerule - 💾 UUID-based storage — survives restarts, reloads & name changes
- 🎉 Polished notifications: titles, action bars, sounds & particles
🚀 Installation
- Drop
SparkKeepInv-1.0.0.jarinto your server'splugins/folder. - Restart the server.
- Configure
plugins/SparkKeepInv/config.ymlto taste. - Grant Keep Inventory with
/keepinv <player> on.
🎮 Commands
/keepinv <player> <on|off|toggle|status>
/keepinv reload
| Command | Description |
|---|---|
/keepinv Steve on |
Enable Keep Inventory for Steve |
/keepinv Steve off |
Disable Keep Inventory for Steve |
/keepinv Steve toggle |
Switch Steve's current state |
/keepinv Steve status |
View Steve's current status |
/keepinv reload |
Reload config.yml |
Aliases: /keepinventory, /ski
💡 Commands work from both console and in-game. The player argument is required.
🔐 Permissions
| Permission | Default | Description |
|---|---|---|
sparkkeepinv.admin |
op |
Manage per-player Keep Inventory |
🧩 How It Works
When an enabled player dies, SparkKeepInv hooks PlayerDeathEvent and:
event.setKeepInventory(true);
event.setKeepLevel(true);
event.getDrops().clear();
event.setDroppedExp(0);
When a disabled player dies — the plugin does absolutely nothing. Vanilla mechanics apply.
📝 Credits
- Author: PavitraXD
Built with ❤️ By PavitraXD.


