Get server build height limit?

Discussion in 'Plugin Development' started by bruno.paschoalinoto, Dec 24, 2012.

Thread Status:
Not open for further replies.
  1. I need to get the server build hegith limit, that one that's defined in the properties file.

    Is there a way to do this? Because I can't find it.
     
  2. Offline

    fireblast709

    world.getMaxHeight()
     
  3. Offline

    pzxc

    Each world keeps track of its own maximum build height.

    int mainWorldCeiling = getServer().getWorlds().get(0).getMaxHeight();
     
  4. So, the properties define a max height for *all* worlds, or just the main one, also specified in the server.properties?


    Both helped me. Thanks!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
Thread Status:
Not open for further replies.

Share This Page