HomeJavaModsSpark Keep Inventory
Spark Keep Inventory
ModsJava

Spark Keep Inventory

A simple Per-player Keep Inventory plugin with sounds effects etc.

⬇ Download on Modrinth

🛡️ 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.


🚀 Installation

  1. Drop SparkKeepInv-1.0.0.jar into your server's plugins/ folder.
  2. Restart the server.
  3. Configure plugins/SparkKeepInv/config.yml to taste.
  4. 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


Built with ❤️ By PavitraXD.

Verified by MCModsHub

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

Explore more