Sueta
LO

LoseInventory

1.0.0

The opposite of keepInventory. Controls what items are dropped on player death

·Plugin

Do you like the idea of the KeepInventory gamerule on your server, but don't like how overpowered it is?

KeepInventory is a great concept, as players often get frustrated and rage quit when they die to a stupid mistake and drop all their hard-earned tools in a lava lake, or in the end void. This plugin offers a middle-ground, so there is a still a penalty for death, but won't result in players losing motivation.

LoseInventory is a lightweight plugin that controls what player items are dropped on death.

By default, all items from the main inventory are dropped, however items on the hotbar, armour slots and off hand are preserved. You can configure which of the above are dropped (or kept) in the plugin's configuration file.

You can also specify the percentage of XP that is lost on death.

Be aware that this plugin sets the gamerule keepInventory to true in all worlds by default, this is to avoid a bug found in other similar plugins that result in items being lost if the player quits on death rather than respawning. This does not affect gameplay, but will leave the gamerule keepInventory set as true if the plugin is removed from the server.

This plugin does not use permissions.

Similar projects

Plugin →