Unload World

Discussion in 'Plugin Development' started by jmonk, Mar 18, 2011.

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

    jmonk

    I'm looking for a way to unload a world that was created using the createWorld. I'm trying to get a smooth instancing system for quests and its hard to allow any number of instances on any number of quests when I can't unload a world when I'm done with it.

    I've searched around the forums and found nothing so far. I've poked through a fair amount craftbukkit code and have yet to find anything. Thoughts? Ideas?
     
  2. Offline

    Drakia

    As far as I know there is no method for unloading a world in Bukkit/CraftBukkit
     
  3. Offline

    Furnavi

    Although this thread is old, I saw it on google on what the method does and thought it may be helpful to other people, so here it is:
    In the move to 1.6, two unloadWorld methods were added.
    Server.unloadWorld(World world, boolean save);
    Server.unloadWorld(String world, boolean save);
    The boolean is whether to save the chunks before unloading.
     
Thread Status:
Not open for further replies.

Share This Page