This version adds a lot more to the grave protection. You can now configure protection to last a certain amount of time after the player dies. You can also allow the player to change the protection on their graves in the grave GUI. You can add $protect to a hologram to show if the grave is protected or not.
It is recommend to reset your config for this update to access all of the new features. The main config options that were added or changed this update are
Code (YAML):
graveProtected
: false
# Enable the grave protection feature.
graveProtectedMessage
:
"&8[&6Graves&8] &fThis grave is protected!"
graveProtectedSound
: BLOCK_CHEST_LOCKED
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
graveProtectedKillerOpen
: true
# Can the killer open the killed players grave, this will bypass graveProtected.
graveProtectedProtectedMessage
:
"&c&lProtected"
graveProtectedUnprotectedMessage
:
"&a&lUnprotected"
graveProtectedChange
: true
# Can the player change if their grave is protected by right clicking it in the graves GUI.
graveProtectedChangeSound
: ENTITY_DONKEY_CHEST
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
graveProtectedTime
: 300
# Seconds, 300 = 5 minutes. Set to 0 to always stay protected.
I also changed how the plugin handles holograms slightly so you should no longer get errors on graves with old holograms.