Added option `removeBarrelsAfterSeconds`. If enabled, the plugin will remove barrels which are older than the configured amount of seconds (even if not empty). This option will also work across server restarts. However, after server restart barrels only get removed once the chunk they're in gets loaded. Set to `-1` to disable time based barrel cleanup (disabled by default).
Prevent players from inserting items into DeathBarrels. Items can only be taken out.
Allow barrel protection messages and barrel inventory title to be customized via the config.
When removeOnEmpty is set to true in the config, the plugin will remove death barrels which are empty when the player closes the inventory.
Updated for Minecraft 1.16.2
* Find next coordinate on y-axis to place the DeathBarrel
This prevents destruction of blocks at player death location (for example doors).
* Block explosion damage for DeathBarrels
If a player dies due to explosion damage, e.g. creeper, the death barrel will no longer be destroyed
* Customizable plugin messages
* Void-death support
* Updated for Spigot / Bukkit / Paper 1.14.4
Thanks to Ghost-chu for implementing these features and fixes! :smiley: