This mod adds a resurrection flower to the game for Hardcore mode, which, by default, should spawn at least once in lush caves on moss blocks. The flower is a one-time use consumable, that lets you revive a dead player. Works for disconnected players as well.
The flower can be picked up and right-clicked to use the resurrection mechanic. A list of players that have died will appear. Clicking on any one of them will resurrect that person in front of you immediately or upon joining the server.
Config file resurrectionflower-server.properties has one option:
lush_cave_spawn_chance=0.1
default chance is 10%, which determines (not deterministically) how often the chunk loader will try to place a resurrection flower on an empty moss block. Leaving it default should generally amount to 1 resurrection flower per lush cave, but this is currently unreliable (it might be more or none at all).