Added teleport safety checking, you can disable this with graveTeleportUnsafe. If graveTeleportTop is set and a grave can't find a location to place it will teleport the player to the highest point.
Fixed grave tokens removing items.
Fixed an error with graves that spawn above the height limit.
Added the option to put graves that spawn in lava at the top, this option is placeLavaTop, you will need to remove LAVA from the graveReplace list for this to work.
Code (YAML):
placeLavaTop
: true
graveTeleportUnsafe
: false
graveTeleportTop
: true
graveTeleportTopMessage
:
"&8[&6Graves&8] &fGrave was in an unsafe location, you have been teleported nearby."
graveTeleportFailedMessage
:
"&8[&6Graves&8] &fTeleport failed! Teleport location is unsafe!"
You can now use the $money placeholder in the graveTeleportMessage message.