Solved Get all worlds?

Discussion in 'Plugin Development' started by mine-care, Apr 24, 2014.

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

    mine-care

    Hi bukkit community! im facing this issue, i cant think of a way to get all worlds on a bukkit server <including custom ones> i want to get their names like world, world2, nether, Ctf world, Ect.
    Is it possible and if yes how?
     
  2. Offline

    Seadragon91

    The method Bukkit.getWorlds() returns all online worlds, custom worlds included.
     
  3. Offline

    stink123456

    Bukkit.getWorlds(); returns an array with all the worlds!
     
  4. Offline

    mine-care

    Thanks a lot to all fo you!

    Edit: i ment of
     
Thread Status:
Not open for further replies.

Share This Page