Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Soul Rekindling
Soul Rekindling is an attempt to add some more consequences to dying on a server. Backtracking to get your items back is annoying for sure, but just keeping your items after dying on the other hand may be "too easy" for some. Playing hardcore might be a solution here, but it may also deter others from playing on the server in the first place. This is my approach to try to find a balanced solution while encouraging more social interaction between players in a personalized modpack for me and my friends, but maybe other players have a similar problem they´re trying to solve :)
How does it work?
Once a player dies, he will instantly be banned from the server. Then, somewhere in the area a block called a "Crystallized Soul" will spawn. This block can be picked up by other players and carried back to the shrine located at X: 0 Z: 0 in the overworld and can either be dropped or placed on the altar to "rekindle the soul of the player" and unban him in the process. Be careful though: placing the block or destroying the item (e.g. letting it despawn, throwing it in lava, ...) will allow the soul to escape and return to the position it was found at.
The logic for placing the "initial soul" after a players death uses a whitelist containing all blocks it can replace (common blocks like air, dirt, water, ...), so dont worry about a soul replacing your chest full of diamonds or something similar. I would just advise you to not place a chest at a spot a soul was just picked up from in case the soul escapes and makes its way back there as it will not check the block whitelist again on returning.
I also recommend to use this mod in combination with the keepInventory gamerule set to true as being banned from playing is enough punishment for dying in my book.
Note: This mod will only work on a dedicated server, since using it in singleplayer would make no sense at all and players cant be banned from a singleplayer world anyway.
Locating souls
To locate lost souls just right click with a compass. This will tell you where your fellow players have died. Normally these "Soulspots" get removed when a soul is picked up. If for some reason this is not the case because of a bug a operator can clear the soulspots via /soulrekindling soulspots clear
Webhooks
This mod supports adding a webhook for dying and rekindling players. Just add your webhook url in the config and adjust the template accordingly. Note that the template in the generated config is setup for a discord webhook (e.g. content= prefix) and might need to be adjusted if youre using a different webhook integration.