This update brings:
- Handle when a player dies
- Fixed page handling on respawn after death
- Async scheduled saving of all online player inventories
- Page control item material configuration
You should add following to your settings.yml
Code (YAML):
# What the plugin should do on player death.
# 0 => Clear the entire inventory for current world group
# 1 => Clear the page the player currently has opened on death
# 3 => Keep the entire inventory
# The permission majorinventory.keepinventory overrides options 0 and 1 and leads to the player not loosing stuff.
handlePlayerDeath
: 0
# The interval at which the plugin saves all current pages of all online users, specified in seconds.
autoSave
: 300
controlItemMaterial
: MAP
You can now setup what should happen when a player dies. You can also setup the timer in seconds when the player pages shall be saved into database. You also can change the pages control item material.