Source-checkedQuality of life & UI

Better Keep Inventory

by JustDoom · for Minecraft

Keep inventory when killed by natural causes

3.1KDownloads
17 mo agoLast updated
Spigot · PaperLoaders
1.21Latest game version

About Better Keep Inventory

From SpigotMC

Keep inventory when killed by natural causes

Better Keep Inventory

Better Keep Inventory is a plugin that builds more functionality on top of the "Keep Inventory" gamerule idea.
The gamerule is very limited with the only configuration available is enabling/disabling it and having it work in specific worlds.
This plugin can handle those scenarios for you and more! Per world configuration and keeping your inventory in specific scenarios such as natural deaths, mob deaths or player deaths.
Whether your items are kept or dropped for whatever reason is up to you!

Features

- Per world configuration
- Permissions
- Reloadable config without restarting the server
- Keep/Drop on PVP, Natural or Mob caused death!
- Paper and Sponge support

Planned

- Configurable message on keep inventory
- Drop/keep only certain items
- Limited keep inventory uses per specified time/lifetime

Usage

Just install the plugin to your plugins folder for your platform (Paper or Sponge)

A player death is classified as a player other than yourself causing your death, whether it be from a sword, arrow, or hitting off a cliff.
As long as Minecraft classifies it as being killed by another player it is labelled a player death in the plugin.

A natural death is when you die from starvation, fall damage, drowning, or from the void. It should cover death from the /kill command too.

A mob death is when you are killed by a hostile mob, creeper, skeleton, spider etc.

Commands

There is one command /betterkeepinventory reload which reloads the config file and applies the changes made.
It requires the permission betterkeepinventory.commands. You can also run /bki reload for short.

Permissions

By default, every player will have the keep inventory functionality enabled.
To only give it to specific people you can set the option require-permission to true and give only the players you want to have the keep inventory ability the permission betterkeepinventory.keep.
To do that you will need a permission plugin like LuckPerms.

Configuration

The Paper plugin uses a .yml file for configuration and the Sponge plugin uses a .json file.
For world specific settings the Sponge config needs the full world name such as minecraft\ <img src="styles/default/xenforo/clear.png" class="mceSmilieSprite mceSmilie23" alt=":eek:" title="Eek! :eek:">verworld.
Default world names are also different between Paper and Sponge

Code (YAML):
# NOTE: DO NOT HAVE THE KEEP INVENTORY GAMERULE ENABLED WITH THIS PLUGIN

# Global default settings that affect all worlds. Set all of them to false for vanilla functionality (No keep inventory)

# Should the permission "betterkeepinventory.keep" be required for a player to keep their inventory
# If false everyone will keep their inventory
require-permission : false
# Should the player keep their inventory when killed by another player
keep-on-player-death : false
# Should the player keep their inventory on a natural death. Fall damage, starving, drowning etc
keep-on-natural-death : true
# Should the player keep their inventory when killed by a mob
keep-on-mob-death : true

# World specific settings. These will override the above global settings for the specified world
worlds :
&nbsp; # The name of the world
&nbsp; world :
&nbsp; &nbsp; # Should these settings override the global ones. Set to false to disable the override
&nbsp; &nbsp; enabled : false
&nbsp; &nbsp; require-permission : false
&nbsp; &nbsp; keep-on-killed-by-player : false
&nbsp; &nbsp; keep-on-natural-death : true
&nbsp; &nbsp; keep-on-mob-death : true
&nbsp; world_nether:
&nbsp; &nbsp; enabled : false
&nbsp; &nbsp; require-permission : true
&nbsp; &nbsp; keep-on-killed-by-player : false
&nbsp; &nbsp; # The "keep-on-natural-death" and "keep-on-mob-death" options have been left out. These two will default to the global
&nbsp; &nbsp; # defaults set at the top of the file while the other settings that are specified will have whatever option is set
&nbsp; &nbsp; # above inside the world section

Example for only keeping your inventory in the nether no matter what

Code (YAML):
require-permission : false
keep-on-player-death : false
keep-on-natural-death : false
keep-on-mob-death : false

worlds:
&nbsp; world_nether:
&nbsp; &nbsp; enabled : true
&nbsp; &nbsp; require-permission : false
&nbsp; &nbsp; keep-on-killed-by-player : true
&nbsp; &nbsp; keep-on-natural-death : true
&nbsp; &nbsp; keep-on-mob-death : true

Support

Support can be provided on my discord server or you can report any bugs on the GitHub repository here

Highlights

From source data

Game versions

Built for Minecraft 1.21.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

Better Keep Inventory on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2.1.1, released 2025-05-31

Game versions by loader

LoaderGame versionsNewest
Paper1.211.21
Spigot1.211.21

From 8 recorded builds of Better Keep Inventory.

Recent builds

BuildReleasedGame versionsLoaders
2.1.12025-05-311.21Spigot, Paper
2.1.02025-05-15n/aSpigot, Paper
2.0.12025-05-11n/aSpigot, Paper
1.0.42024-12-18n/aSpigot, Paper
1.0.32024-09-17n/aSpigot, Paper
1.0.22022-11-16n/aSpigot, Paper

Run Better Keep Inventory on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Misc”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Runs on your server

From source side support

SpigotMC lists Better Keep Inventory as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
1.21
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-02Open ↗
  • ✓AuthorJustDoom, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

Better Keep Inventory, answered

Generated from the mod’s own source data.

Do my players need to install Better Keep Inventory?

SpigotMC lists Better Keep Inventory as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. Better Keep Inventory is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Better Keep Inventory on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add Better Keep Inventory in one click.