World Reset Plugin [Randomly Chooses World]

Discussion in 'Archived: Plugin Requests' started by grmds, Mar 19, 2013.

  1. Offline

    grmds

    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.
     
  2. Offline

    Kostronor

    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?
     
  3. Offline

    grmds

    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.
     
  4. Offline

    Kostronor

    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.
     
  5. Offline

    grmds

    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?
     
  6. Offline

    nxtguy

    Sounds like you also need to replace the /plugins folder because that's where the warps, etc would be stored in.
     
  7. Offline

    grmds

    It would only need to replace the warps folder in essentials.
     
  8. Offline

    grmds

    Bump
     
  9. Offline

    grmds

    Still really need this.
     
  10. Offline

    grmds

    Lots of people would use this. Can someone please do it?
     
  11. Offline

    grmds

    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.
     
  12. Offline

    grmds

    72h bump. I may just make a new post if I need to bump this again.
     
  13. 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
     

Share This Page