Solved Reseting worlds

Discussion in 'Plugin Development' started by Colecf, Oct 17, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Colecf

    I want to make a plugin that allows people to vote on custom maps to load, but then I want to reset them back to their original state afterwards. How would I go about doing this? The only way I could really think of would be copying the world in again from a backup, but it seems there should be a better way than that.

    I know MonsieurApple has a way to do this (some of the maps on oc.tc require resetting) but I don't think I should bother him about it.

    Thanks!
     
  2. Copying the world folder is the only real way to do this when you want to load different maps.

    IIRC project Ares loads the new map after copying it to /worlds then teleporting everyone over. You can try fudge the code to not save changes to disk but trust me, that's not worth it as you have to change lots of craftbukkit code.
     
  3. Offline

    gomeow

    Not sure if this is possible, but can you change the world name in server.properties?
     
Thread Status:
Not open for further replies.

Share This Page