[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

    Tealk

    hi i get this message after a time i load chunks

    Code:
    2012-01-22 15:33:56 [WARNING] Task of 'WorldBorder' generated an exception
    java.lang.OutOfMemoryError: GC overhead limit exceeded
        at net.minecraft.server.NBTTagByteArray.load(SourceFile:24)
        at net.minecraft.server.NBTBase.b(SourceFile:95)
        at net.minecraft.server.NBTTagCompound.load(NBTTagCompound.java:53)
        at net.minecraft.server.NBTBase.b(SourceFile:95)
        at net.minecraft.server.NBTTagCompound.load(NBTTagCompound.java:53)
        at net.minecraft.server.NBTBase.b(SourceFile:95)
        at net.minecraft.server.NBTCompressedStreamTools.a(SourceFile:75)
        at net.minecraft.server.ChunkRegionLoader.a(SourceFile:52)
        at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:135)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:78)
        at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:249)
        at com.wimbli.WorldBorder.WorldFillTask.run(WorldFillTask.java:159)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:502)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  3. Offline

    lolzrofl

    No I didn't receive any errors. My WB config was just randomly reset to default when I checked on it once.
    I noticed it happened because I saw users going beyond the border.
     
  4. Offline

    Machete.Panda

    I'm looking forward to trying this out on CB 1.1-R1. Following your page for when the update comes out. :)
     
  5. Offline

    Brettflan

    Tealk Machete.Panda
    Since you asked the same questions over on BukkitDev, you can read my answers over there.

    There's nothing that would cause the config to reset without it being an error which would output to the server log when it happened (at server startup, presumably), so... I don't know what else to tell you.
     
  6. Offline

    Machete.Panda

    I did, and responded. :) Hope your not annoyed I asked in both places. Just most developers have set an exception that you may not receive a response. So, sadly, I expect that from most.

    Its refreshing to have an attentive developer.. .thanks.
     
  7. Offline

    Brettflan

    No problem, but please don't cross-post the same question in multiple places.

    And yes, WorldBorder 1.5.0 works fine on the new CraftBukkit 1.1-R1 recommended build.
     
  8. Offline

    MoreBloodWine

    Do I need to do anything special to go from 1.0 t0 1.1 or is it just a matter of wgetting the new 1.1 jar ?
     
  9. Offline

    Brettflan

    If you're asking for advice on updating CraftBukkit, this isn't the right place. If you're asking about WorldBorder, as I just said right above your post, the current 1.5.0 release works fine in CraftBukkit 1.1-R1.
     
  10. Offline

    MoreBloodWine

    I guess I should have used WorldBorder in my question but what I was trying to ask is if anything special needs to be done to update or is it just a matter or replacing my current WB jar with the new 1.5 one.

    I already got my CB updated to 1.1 and it's running like a champ.
     
  11. Offline

    Brettflan

    You're not already using 1.5.0? It's been out for quite some time now. But if that's the case, yes, it's simply a matter or replacing the JAR file.
     
  12. Offline

    DaPope13

    Stupid Question, is the radius in Blocks, or Chunks?
     
  13. Offline

    Brettflan

    Blocks. I should clarify that in the command info, I suppose.
     
  14. Offline

    Rossy

    Are you able to limit the world by setting like one corner and the 2nd corner? kind of like worldguard/worldedit?
     
  15. Offline

    Brettflan

    Cuboid/rectangular/ovoid border support is not available or planned.
     
  16. Offline

    JosephW1993

    I am experiencing an issue when using the fill command. I set my border to a radius of 3000 from a point and then set the server to fill in all missing chunks. At first I let it use the default frequency, but found it would run out of memory very quickly each time. I eventually decided to use a frequency of 10 and found that to be the most efficient.

    The problem I am now experiencing is it will run for so long and then it will run out of memory. Much, much longer than the default frequency, but still stops nonetheless. Upon attempting to stopping the server, closing Java, and re-opening the server I find that the fill command resets its progress and starts at 0 chunks and 0% again:

    Here are two instances from when I was on a frequency of 10: I did experience this issue several times as well though when using the default frequency.

    Instance 1:



    Instance 2:



    55.2% is the most progress I have seen the sever able to make so far and this is a continuation from the beginning of the fill from the second quote of instance 1. There were no interruptions during that process, and when it finally did run out of memory I attempted a simple server reload, but it was only able to run for about 15 seconds and ran out of memory again.

    My main concern is why is it restarting its progress? Any help would be greatly appreciated. Thank you.
     
  17. Offline

    Brettflan

    That's a good question. I've tested the fill command recently and couldn't reproduce that behavior of the progress resetting to 0 when you stop and start your server. You're using 1.5.0?

    Some time relatively soon I plan to work on the fill process to make it able to directly check the region files and determine which chunks are already fully generated, so it can skip over them. Not as simple of a process as you might think (it would be nice if Bukkit provided such info itself), but worthwhile all the same.
     
  18. Offline

    JosephW1993

    Yes, I was using the most recent version. I finally managed to get it to complete the fill process with a frequency of 8. I did reset the server it did manage to keep the progress, though I don't know what I might have done differently to result differently.

    I was wondering that myself, why it didn't check for already generated chunks, but I assumed either it hadn't been added as a feature yet or might be impossible as of right now. Though I can imagine it is not a simple task.

    Thank you for your time and efforts in this plugin. It is well built and put together.

    My only other question now, is it possible to add some sort of physical block or barrier along the border?
     
  19. Offline

    Brettflan

    Something like that is on my "look into eventually" list.
     
  20. Offline

    Patrix87

    Hi,

    I really love your plugin it really works great.

    It would be really nice if you could add a really simple function to it.

    A function that teleport you to the other side of the world when you reach the border. like if a circle world was in fact a sphere. If the world is surrounded by water (easy to do with world edit or voxelsniper) it simply teleport you to your opposite coordinates, X,Y --> -X,-Y :D

    I hope you could add it to you next update

    Thanks a lot
     
  21. Offline

    Brettflan

    1.5.1 is now released.

    Mostly just improvements to how the Fill command works, but please read the release notes at the link above all the same.
     
    Don Redhorse likes this.
  22. Offline

    Ddaannyybbooyy

    i have a 4gig server how big should world be??
     
  23. Offline

    Garquille

    Anyone have an idea why mine doesn't want to resume filling upon restarting? It resumes on my hosts server, but on my home server, it doesn't. It never actually generates a new chunk because it runs out of memory before it ever finds one that isn't generated.

    I can't fill on my hosts server because it only has ~370MB RAM available, and it just decreases until it starts fluctuating around 220MB until it randomly goes under 200MB and makes me restart the server every 30seconds-to-3minutes.
     
  24. Offline

    Brettflan

    It all depends. You might start with 1600. That very well may be too small, but if it does turn out to be, you can always increase the radius later. Starting out too large is more of a problem than starting out too small.

    If you're running out of memory without any new chunks being generated, you're running an older version of WorldBorder and should update to 1.5.1 (and feel free to read the changelog for it).
     
  25. Offline

    hostiile

    Whatever I do, dynmap still generates a square map when I want it to be round. It's like WorldBorder isn't working at all.
     
  26. Offline

    kukelekuuk00

    Im curious if this plugin is updated to the new events system as the old one was removed starting CB 1944.
    Just a headsup before the coming RB which will cause quite the mess :p
     
  27. Offline

    Brettflan

    Are you talking about using the fill command? You're not being entirely clear. If so, did you let the fill process complete? The fill process will generate in a square spiral right until it gets to the edges which then fill out to make a round area.
    You might also make sure you're running the latest versions of WorldBorder and DynMap.

    It is updated to the new event system in the current 1.5.1 release. However, I will need to make another release since I have additional support code for the old deprecated Configuration system that they're removing. I left that code in for backwards compatibility since the new configuration system doesn't read certain extended ASCII characters correctly (particularly "¨" which was used as a workaround for another issue previously).
     
  28. Offline

    i7vSa7vi7y

    You should use it so that we can use the worldedit wand or something to select our world.
    I use myplot, and my world is rectangular.
     
  29. Offline

    VoltageB

    The next recommended build is for Minecraft 1.2, R5, and I and everyone who uses this plugin will greatly appreciate it if you can get a head start on the plugin so it's update to support the new revision when Minecraft 1.2 is officially released along with Bukkit R5.
     
  30. Offline

    Brettflan

    Support for rectangular and ovoid borders is not planned, sorry.

    Thanks, I'm aware.
     
    VoltageB likes this.
  31. Offline

    i7vSa7vi7y

    When I got this plugin, I started to get chunk errors. I have not limited my world yet, but I'm pretty sure that this plugin is causing it. I ran chunkster in all of my worlds 2 times each the first two times I saw the chunk errors, then the last time I ran it 4 times. I got another chunk error. So I removed the plugin, ran chunkster 4 times in each world again, one day later, no more chunk errors.
    Would you mind telling me, are there any conflicts with the following plugins:
    - Essentials core/spawn
    - MyPlot
    - WorldEdit
    - BuyCraft
    - AutoMessage
    - WorldGuard
    - OKChat (old version, only effects chat)
    - PEX (and permissions)
    - NoCheat
    - ConsoleScheduler (Just runs commands on task, I use it as a fix for ProperTime)
    If there are any, could you tell me (or maybe fix them would be a nice idea)?
    P.S. MyPlot does not generate the physical world, it only uses WorldGuard to protect the plots and make them claimable.
    Thanks for your time and consideration.
     

Share This Page