[MECH] WorldBorder v1.7.2 - feature-rich world size limiting plugin [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Brettflan, Apr 4, 2011.

  1. Offline

    Brettflan

  2. Offline

    Elmah

    I can"t trim my map ;/

    Code:
    java.lang.NullPointerException
            at org.bukkit.craftbukkit.CraftWorld.preserveChunk(CraftWorld.java:57)
            at org.bukkit.craftbukkit.CraftWorld.unloadChunk(CraftWorld.java:164)
            at com.wimbli.WorldBorder.WorldTrimTask.unloadChunks(WorldTrimTask.java:268)
            at com.wimbli.WorldBorder.WorldTrimTask.run(WorldTrimTask.java:144)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     
  3. Offline

    Eissaye

    I hate to be "that guy," but are there any installation directions laying around for this plugin?

    I've been unable to find any for either this or Borderguard. I'm assuming it's stupidly easy, as no one has made a video for it which is a result on Google's video search; there's also no readme.

    Sadly though, I'm quite the noob with plugins.. If someone could point me to a video or written directions I would greatly appreciate it.
     
  4. Offline

    DreamPhreak

    Just a quick installation: drag/drop the .jar into the plugins folder, and start/restart the server. Works for most other plugins as well.
     
  5. Offline

    Eissaye

    And that's why I'm a noob at this.

    Thanks though, I got it working; even if I did have to be "that guy."
     
  6. Offline

    Brettflan

    Read further up the page.
    As for the workaround release status, I'll probably be releasing it in the next several hours.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
    DreamPhreak likes this.
  7. Offline

    Themosey

    Can someone humor me as to why I would use this?
    I *think* it is because I run a server and a few people have wandered way the hell off in one direction (-4000,2000) and (-12,000, 1000) and when they are out there is is not only creating a buttload of chunks but slowing down the server, creating lag, etc. Can someone confirm this?

    If that is right then creating a border (recommended size?) makes that not happen.
    When I run it and set a border will it delete those other chunks?
     
  8. Offline

    Brettflan

    That's one reason, yes.

    It won't delete those chunks from just creating a border, no. That's what the trim command is provided for (as shown in the first post, with pictures).
     
  9. Offline

    Themosey

    What other good reasons :)
    And will it be a noticeable difference? Recommended size? (18 slot server)



    Ahhh, but border, then trim will indeed work for that.
     
  10. Offline

    Brettflan

    Pardon me for being blunt, but if you're looking for a sales pitch, it's a free plugin and I'm perpetually busy so I'll leave it to you.

    As for a recommended radius, it's better to start small and have to increase it later than to start too large and decide to trim it down later, since people might be building at the edges. You might start at a radius of 1000 or so (2000x2000 area).
     
  11. Offline

    Sayshal

    Uhm :( cant do /wb trim... :(
    Code:
    01:00:28 [WARNING] Task of 'WorldBorder' generated an exception
    java.lang.NullPointerException
    at org.bukkit.craftbukkit.CraftWorld.preserveChunk(CraftWorld.java:57)
    at org.bukkit.craftbukkit.CraftWorld.unloadChunk(CraftWorld.java:164)
    at com.wimbli.WorldBorder.WorldTrimTask.unloadChunks(WorldTrimTask.java:
    268)
    at com.wimbli.WorldBorder.WorldTrimTask.run(WorldTrimTask.java:157)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  12. Offline

    Brettflan

    Update to version 1.4.4.
     
  13. Offline

    glarter

    @Brettflan

    Just spotted an error when using /wb fill with multiple worlds. If you've used a specific WGEN plugin like CleanRoomGenerator to generate another world, WorldBorder won't use it to generate the chunks in that world.

    Example from my server using MyWorlds:
    Code:
    /mw create flatworld:cleanroomgenerator:10,stone,1,grass
    /wb flatworld set 100 0 0
    /wb flatworld fill
    /wb flatworld fill confirm
     
  14. Offline

    Brettflan

    So if you just walk in one direction in that world, are further chunks generated using your chosen world generator?
    WorldBorder uses the CraftWorld.loadChunk(x, z, true) method to have the world load and, if necessary, generate each chunk. If that built-in method is not properly using your specified WGEN plugin, I'm not sure how I would specify for it to do so.
     
  15. Offline

    glarter

    Yes, if I'm walking around, the Chunks generate correctly.
    But /wb flatworld fill doesn't seem to use the generator at all ... Dynmap shows a large blank square where I've walked and normal generated land outside that.
     
  16. Offline

    Brettflan

    Hmm, that's unfortunate. As above though, WorldBorder uses the Bukkit World.loadChunk(x, z, true) method to have the world load and generate chunks. There is no direct method I can find to force the world to use the correct generator, which it should of course really be using by default through the above method.
    So... AFAICT, it's a Bukkit issue which will need to be fixed, and I can't see any simple workaround for it.
     
  17. Offline

    glarter

    Okay, that's good to know.
     
  18. Offline

    Bobbosells32

    Only thing I wish was that there was a way to use a tool to pick two points the you want the area to be in
     
  19. Offline

    dockozel

    I'm having a problem setting my border radius. I set the world border to 12000, but I get pushed back at 8500 or so. I am running worldguard but I don't think this sets a border limit. Any suggestions?
     
  20. Offline

    Brettflan

    When you get pushed back, does it give the WorldBorder message "you have reached the edge of this world" (or whatever you have it set to)?
    And that's 8500 away from the center of the border which is set and not from the center of the world, right?
     
  21. Offline

    dockozel

    Sorry, new to forums, I replied way back in the pages. Here's my post: I'm having a problem setting my border radius. I set the world border to 12000, but I get pushed back at 8500 or so. I am running worldguard but I don't think this sets a border limit. Any suggestions?

    I did not stand at 0.0. I stood just a couple hundred blocks from it though. That's the center of my spawn city. Then I set the wb to 12000. I get blocked at 8500ish

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  22. Offline

    Brettflan

    So... the answer to my first question?
     
  23. Offline

    dockozel

    I get the message "You have reached the border of this world." at coords 8505,y,8359.
    And I set the border while standing at -132,y,33.

    I just tried changing the border to 14000 in the config file and restarted the server. I reach the edge of the world at the same place as before.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  24. Offline

    Brettflan

    Can you paste the contents of your config.yml file here? I'll test it out myself at some point when I feel up for it.
     
  25. Offline

    dockozel

    message: You have reached the edge of this world.
    knock-back-dist: 3.0
    timer-delay-ticks: 5
    debug-mode: false
    whoosh-effect: false
    round-border: true
    cfg-version: 3
    worlds:
    world:
    radius: 12000
    z: 33.767668187122894
    x: -132.28580518853482

    EDIT: Sorry, this is my first time creating an smp server. I'm mostly brute forcing my way through all these nifty plugins. I like yours a lot.
     
  26. Offline

    GameFAQsRolo

    @Brettflan @glarter I have never used the feature, but isn't there a way to use bukkit.yml to set the generator?
    Code:
    worlds:
        flatworld:
            generator: cleanroomgenerator:10,stone,1,grass
        world2:
            generator: whatever
    Like I mentioned, I've never used this feature so I don't know if it works. I'm butting into the conversation because I want to use the fill command on my server too, but I don't want to waste time filling my worlds in if I run into the same problem since 2 out of my 4 worlds use generators.
     
  27. Offline

    glarter

    That's not a bad suggestion. I'm at work at the moment but I'll give that a shot later this week.
     
  28. Offline

    Brettflan

    Let me know how it turns out.
     
  29. Offline

    dockozel

    Yes, it gives the message and it's 8500ish from the border I set.
     
  30. Offline

    glarter

    Yep, that worked.
    I increased the border to 200 and ran a /wb fill followed by a /dynmap fullrender.
    I've got a nice flat circular disc for experimentation purposes :)
     
    GameFAQsRolo likes this.
  31. Offline

    GameFAQsRolo

    Thanks for testing it. You saved me a potential headache.
     

Share This Page