I would really like a plugin that will reset the world when the server stops/starts. It would need to be apple to pick randomly from the world's in a folder and select it as the main world. Also have an option to just go down the list of worlds. Also this could have other things associated with the reset such as resetting the warps based on the world and resetting player spawns.
the simplest solution coming in mind is having some worlds in an extra folder and the plugin deletes your actual world and copies another world from the folder in there. Would require some sort of startupscript i think, because this should be done after the whole server stops... How big are your world-templates?
The worlds are not very big at all if thats what you mean. Some are like normal minecraft worlds with like 300x300 loaded and some have void around the 300x300. As far as startup scripts I tried that once but it was a large hastle because the windows would pop up every time the server shut down and the random number generator in batch takes like 30 seconds which is very annoying.
Generating a random number is less than a millisecond, but copying a whole world is as fast as your hard-drive is. How big are your worlds in megabytes? and you can tell your startupscript to automatically do the work after your server shuts down. It will take some seconds for sure but nothing you can do about it else then buying an ssd... changing worlds is fast, but copying needs to copy the world.
I did a seperate test and it is the random number generator that takes a lot of time not the copying. How would you make it so the server would change maps and warps?
Sounds like you also need to replace the /plugins folder because that's where the warps, etc would be stored in.
Now this is just getting absurd. I'm probably going to be warned for bumping but hey its better than making a new post every time.
Hi grmds, I'm currently creating a new plugin. My plugin it's mainly for my minecraft servers, but I prefere let him Open Source. If you want, you can suggest your request to the github of my plugin : https://github.com/beaucoralk/labplugin/wiki/Contributing Your request interesting me, if you create an issue to my github, I will create this functionnality into my plugin. You can also read all wiki of my plugin to see all new adds : https://github.com/beaucoralk/labplugin/wiki Friendly beaucoralk