
A ghost will spawn upon your death, and you can get back your gear from it once you get to it.
When a player dies, a ghost will spawn. This ghost is made out of particles. It sits still until its owner gets within 20 blocks, then it starts to pathfind towards the player. The ghost will stop around 3 blocks away and wait. When right-clicked, the ghost will drop the player's items and XP*.
Multiple ghosts can exist at once, and one owner can have multiple ghosts.
Only in version 0.2:
When the server restarts or reloads, the ghosts will be saved to a file and stored until they are loaded back in.
Warning:
Always make sure that you are using the correct version, as configurations may vary.
Also, older versions may contain bugs.
When you load the plugin for the first time, a config file will be generated:
/plugins/B_s_GhostGrave/B's GhostGrave Config.yml
In this file, you can change various values to better fit your needs:
In the config file, you will find a more detailed description of how it works.
The plugin ment for paper. Use it on versions 1.20.5 or above (JDK 21). Doing any harm to the config file will not break the plugin. If you delete anything from the config and want it back, by deleting the config file and reloading the plugin, you will get back the default config.
( And yes, this is inspired by Hollow Knight )