unloadWorld exists but what about LOADWorld ?

Discussion in 'Plugin Development' started by sbeex, Jul 26, 2012.

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

    sbeex

    Hello,
    I encounter some problems with my plugin. I would like to load some worlds when server is already up is it possible ? I've found getServer().unload(World world) but not to load something ...

    Thank you ! :)
     
  2. Offline

    r0306

    sbeex
    I think Bukkit uses
    Code:
    Bukkit.getServer().createWorld(new WorldCreator(name));
    It creates a world if the world does not exist and loads up the world if it exists.
     
    sbeex likes this.
  3. Offline

    sbeex

    Oh nice I didn't imagine that way ^^ Thank you r0306 !
     
Thread Status:
Not open for further replies.

Share This Page