Minecraft hardcore server: can I automatically delete and re-generate the world when any player dies

minecraft-java-editionminecraft-java-edition-server

I've set up a small hardcore Minecraft server for me and some friends. There aren't many of us, and what we really want out of the hardcore mode is that as soon as anyone dies, the whole world gets deleted and the server restarts from scratch.

At the moment, the dead players go into spectator mode, and it's kinda boring. I'd rather everyone be able to play all the time, just that when someone dies it's an "awwwwwww" moment for everyone, if you get my meaning 🙂

Is it possible to do this? I've googled frantically but all I can find is people trying NOT to lose their hardcore worlds… which is the opposite of what I want >_>

Best Answer

You can technically see when a player dies. When any player dies, you can quit and delete the world. Then, recreate the world using the same seed.