Make /end restart and delete world
larssieboy18 opened this issue ยท 3 comments
Description
Describe your proposed feature!
Hi there,
As it is really boring to play manhunt on the same map/seed multiple times, what we now do is stop the server, delete the world folders and restart. Would it be possible to add a function so that the /end command actually deletes the world folders and restarts the server.
Alternatively, it could also work if a new command, like /manhunt:restart or /manhunt:reset would just tp everyone far away, although that might mess up the ender portal placements.
Some features of #43 tends to be more for dedicated Manhunt servers, so I could go the full length and have an attempt at this. But, at the same time, this would be a very destructive feature to include, particularly for servers that don't primarily run manhunt.
What I do recommend is using a modified version of @krusic22's Linux_StartScript.sh. If you use Linux and are able to use a custom startup script, then I recommend using this for the time being.
Edit: If you don't want the G1GC flags (for some reason?!) then a simple script with rm -rf world world_nether world_the_end
after the Java command would work just as well.
I think this proposed feature would be overstepping the bounds of the plugin... agree with @Permanently that it could have destructive consequences. I'm marking this as wontfix, but please feel free to make your own fork of the plugin with this feature!
Just in case anyone wants a plugin that does this: https://www.spigotmc.org/resources/resetworldreboot.81607/ and set the worlds