[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

    Darq

    I'm having some pretty serious issues with fill, not related to any of the above at all.
    I'm trying to generate a large world, 16000x16000, I'm prepared to wait a long long time for it, console output makes it seem like it's working great, but I see no evidence of it working at all.

    After leaving it for 20 minutes, I'd expect to see some increase in the total world size, but it's not going up at all. I've tried with multiple versions of CB, 1.4.2 and 1.4.4 of WorldBorder. I've got all plugins off except for World Edit and WorldGuard. I don't know what else I could do.

    I've got to get this done because well here's something funny.
    A brand new world, 70 players online all trying to generate land, my server can't really hold it.
     
  3. Offline

    Brettflan

    I'll repeat this from a reply elsewhere:
    The initial speed is where it is loading up chunks which are already generated, which load up much faster than ones which actually do need to be generated. There's no way through Bukkit for the plugin to tell if a particular world chunk already exists or not without trying to load it, so as a result the WorldBorder fill command has to cover every chunk.
    Thus, the fill command appears to run very fast when covering chunks which already exist but aren't loaded (invariably the start of the process is what goes quickly since it starts in the center of the defined border and spirals outward).

    So, if you have a fair amount of world already generated, it can take a while for WorldBorder to get out to parts of the map that do indeed need to be generated.
     
  4. Offline

    Greylocke

    ... and I'll add that WB seems to take a very long time to fill the world. I've previously used offline java scripts to fill the world and they finished in a fraction of the time. It does work.. but give it time.

    huge.
    one of my worlds with a circular border of 2.6km (2600 blocks) has an area of 21.2 sq km, and it uses about 425MB of storage. Your square world with a radius of 15km (15,000 blocks) will have an area of 900 sq km. So... I'd guess that this map would require about 18GB to store. An area this size would be significantly larger than all of New York City (783 sq km).

    There was a topic in one of the discussion forums here, regarding how big is a "big" world. The consensus seemed to be that a 2000 radius is typically large enough for most servers and 9000 radius is really big.

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

    bullshitninja

    Created a profile just to ask:

    Using this plugin, I'd like to create a round-type border of "x" radius (we'll call it 0.5km/500 blocks for arguments sake, or 1000 block diameter), and use world edit to ensure the edges are all oceanic. The ocean floor at the edge will be uniform all the way around (sand like crazy), and I will allow for a buffer zone just over max view distance outside of this border (also oceanic).

    Could I set the "knockback" feature (I think thats what you called it - the mechanic that returns the wandering player to the allowed area) to push the player back 999 blocks? Id like to create the illusion of a round planet, with the player showing up on the exact opposite end of the map.

    EDIT: What is the max knockback distance?
     
  6. Offline

    Raycrash

    Question does it work with latest dev bukkit ?
    Didn't see any mention of it :eek:
     
  7. Offline

    Brettflan

    Interesting idea. Yeah, that would probably work based what you're outlining. It would definitely bear testing, though. There is no maximum knockback distance.

    People have been discussing using it with the latest CraftBukkit dev builds for the last couple of pages at least.
     
  8. Offline

    Raycrash

    Sorry I still don't see it ;(
     
  9. Offline

    bullshitninja

    Alrighty then. Tweaking some plugins as we speak, gonna have to try that. Thanks for the reply, and I'll let you know how it goes.
     
  10. Offline

    JoneKone

    Well Fill works.. BUT! IT destroys the snow biomes :(

    few pictures
    http://murocraft.fi/map_before.png <- before there where few snow biomes inside the area... Now none... and
    http://murocraft.fi/map_after.png

    Is not fixed :(

    cb 1548

    Code:
    11:27:49 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46250 total, 29.0%) (free mem: 1574 MB)
    11:27:55 [INFO] [WorldBorder] [Fill] 80 more map chunks processed (46330 total, 29.0%) (free mem: 1549 MB)
    11:28:00 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46390 total, 29.1%) (free mem: 1533 MB)
    11:28:06 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46450 total, 29.1%) (free mem: 1511 MB)
    11:28:11 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46510 total, 29.1%) (free mem: 1496 MB)
    11:28:17 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46570 total, 29.2%) (free mem: 1483 MB)
    11:28:23 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46630 total, 29.2%) (free mem: 1466 MB)
    11:28:29 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46690 total, 29.3%) (free mem: 1459 MB)
    11:28:34 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46750 total, 29.3%) (free mem: 1435 MB)
    11:28:40 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46810 total, 29.3%) (free mem: 1406 MB)
    11:28:46 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46870 total, 29.4%) (free mem: 1381 MB)
    11:28:52 [INFO] [WorldBorder] [Fill] 40 more map chunks processed (46910 total, 29.4%) (free mem: 1354 MB)
    11:28:55 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    11:28:58 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (46970 total, 29.4%) (free mem: 1335 MB)
    11:29:04 [INFO] [WorldBorder] [Fill] 60 more map chunks processed (47030 total, 29.5%) (free mem: 1334 MB)
    11:29:09 [INFO] [WorldBorder] [Fill] 40 more map chunks processed (47070 total, 29.5%) (free mem: 1308 MB)
    11:29:16 [INFO] [WorldBorder] [Fill] 40 more map chunks processed (47110 total, 29.5%) (free mem: 1258 MB)
    11:29:22 [INFO] [WorldBorder] [Fill] 40 more map chunks processed (47150 total, 29.5%) (free mem: 1241 MB)
    11:29:27 [INFO] [WorldBorder] [Fill] 40 more map chunks processed (47190 total, 29.6%) (free mem: 1233 MB)
    11:29:33 [INFO] [WorldBorder] [Fill] 40 more map chunks processed (47230 total, 29.6%) (free mem: 1224 MB)
    11:29:38 [INFO] [WorldBorder] [Fill] 40 more map chunks processed (47270 total, 29.6%) (free mem: 1197 MB)
    11:29:44 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47290 total, 29.6%) (free mem: 1191 MB)
    11:29:50 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47310 total, 29.6%) (free mem: 1175 MB)
    11:29:56 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47330 total, 29.7%) (free mem: 1168 MB)
    11:30:01 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47350 total, 29.7%) (free mem: 1160 MB)
    11:30:07 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47370 total, 29.7%) (free mem: 1165 MB)
    11:30:13 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47390 total, 29.7%) (free mem: 1162 MB)
    11:30:18 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47410 total, 29.7%) (free mem: 1157 MB)
    11:30:24 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47430 total, 29.7%) (free mem: 1154 MB)
    11:30:29 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47450 total, 29.7%) (free mem: 1141 MB)
    11:30:35 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47470 total, 29.7%) (free mem: 1113 MB)
    11:30:41 [INFO] [PLAYER_COMMAND] Lexxz: /spawn
    11:30:41 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47490 total, 29.8%) (free mem: 1092 MB)
    11:30:46 [INFO] [WorldBorder] [Fill] 1 more map chunks processed (47491 total, 29.8%) (free mem: 1098 MB)
    11:30:52 [INFO] [WorldBorder] [Fill] 59 more map chunks processed (47550 total, 29.8%) (free mem: 1036 MB)
    11:30:58 [INFO] [WorldBorder] [Fill] 1 more map chunks processed (47551 total, 29.8%) (free mem: 1042 MB)
    11:31:05 [INFO] [WorldBorder] [Fill] 79 more map chunks processed (47630 total, 29.8%) (free mem: 1000 MB)
    11:31:10 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47650 total, 29.9%) (free mem: 993 MB)
    11:31:16 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47670 total, 29.9%) (free mem: 978 MB)
    11:31:22 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47690 total, 29.9%) (free mem: 978 MB)
    11:31:27 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47710 total, 29.9%) (free mem: 972 MB)
    11:31:34 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    11:31:34 [INFO] [WorldBorder] [Fill] 20 more map chunks processed (47730 total, 29.9%) (free mem: 969 MB)
    11:31:39 [INFO] [WorldBorder] [Fill] 1 more map chunks processed (47731 total, 29.9%) (free mem: 959 MB)
    11:31:41 [INFO] [PLAYER_COMMAND] Lexxz: /spawn
    11:31:45 [INFO] [WorldBorder] [Fill] 59 more map chunks processed (47790 total, 29.9%) (free mem: 946 MB)
    11:31:50 [INFO] [WorldBorder] [Fill] 1 more map chunks processed (47791 total, 29.9%) (free mem: 943 MB)
    11:31:55 [INFO] [WorldBorder] [Fill] 59 more map chunks processed (47850 total, 30.0%) (free mem: 930 MB)
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  11. Offline

    bullshitninja

    Alright, tried the knockback thing (1500 radius/3001 diameter/2999 knockback distance) and it kinda worked. As said before, I would have to level the edges of the entire map to be uniform (ie.: sea level), but this maps a wee bit big for that to be currently feasible :) My faithful Guinea Pig / Friend ended up back at the spawn every time, but the opposite side of the map is most often a largely different landscape, understandably contributing to this default "return to spawn" behavior. Guess I should build a small test map eventually.

    I would expect there to be some issues with the immediate need to render as soon as the entity is pushed to the opposite side of the map in most cases, but it would be nice to see some code in this that prepares those chunks when nearing the border ;)

    Just a thought.

    Is that's whats going on? I'm busy trying to find a way to put snow back. Using REIs minimap to find a suitable biome (temperature, etc.) to "graft" into a winter wonderland using VoxelSnipers /b over d brush with snow. anybody else know of an easier way?
     
  12. Offline

    Brettflan

    Well get on the Bukkit team and ask them to fix it! ;) That's assuming they're not aware of it already; they probably are in fact aware of it.
    Just like the slow fill rate, it's not a bug in WorldBorder and it's not likely at all that I'll be able to come up with a workaround for it. You'll need to wait for the Bukkit team to take care of it.

    Cool.

    It would substantially increase the amount of work needed for every border check to see if each player is "close" to the border. It would also only be of use to people setting a knockback distance of at least 160 blocks or so (based on viewing distance), so... not useful to very many people.
     
  13. Offline

    Pythros

    The default 176 pad for fill is a bit too short for a circle world. I had players that were able to generate new chunks when getting to the border and it started to create 1.8 chunks on a 1.7 map... ewww... As seen in my "world" map here. I made a change to have the pad 200 on my new map and it does the job. Might want to change the default pad.
     
  14. Offline

    Raycrash

    Hey I got a request once more :D

    Could you make it so that after the border there is nothing ? so the next 2-4 chunks are empty ? so it seems like the world really "ends" there and is flat ?
     
  15. Offline

    Brettflan

    Yeah, I'm planning to increase the default padding amount a bit.

    Something along those lines is on my "look into eventually" list.
     
  16. Offline

    Deleted user

    An Update for Minecraft 1.0.0 would be nice... My Server reads everytime a TimeOut after 50.5% -.-

    Mod edit (NuclearW): Quoting the first post is in bad taste, please do not do so.
     
  17. Offline

    Brettflan

    @xKoKSii
    1. Why did you quote the entire massive first post?
    2. An update will be along eventually, which will be after an RB for 1.0.0 is released.
    3. After 50.5% of what? That (among other things) might be a useful detail to provide.
     
  18. Offline

    Deleted user

    Sry for the Quote.. and its on the fill command.. massiv lag with 1 chunk per sec. CraftBuild 1556
     
  19. Offline

    Brettflan

    As for the fill command running slowly, I'll repeat this:

    Yeah, seems to be pretty well covered at this point. It appears to be a CraftBukkit (or default Minecraft server) issue which was introduced between the 1.9 beta builds and the 1.0.0 release, based on some further info from Olof. Running the fill process at lower speeds, such as the default frequency of 20 chunks per second, seems to work best for now to keep it from slowing to a crawl.
     
  20. Offline

    ProjectInfinity

    Is it safe for me to stop the current fill, and then start it with the default 20 chunks per second then?
     
  21. Offline

    Brettflan

    That's perfectly safe, but it will of course have to start over.
     
  22. Offline

    ProjectInfinity

    Yes but won't it quickly skip the already rendered chunks instead of spending so much time attempting to render them?
     
  23. Offline

    phondeux

    I've always wondered that ...
     
  24. Offline

    Brettflan

    Chunks that already exist load much faster compared to ones which end up needing to be generated, but with it going at 20 chunks per second it should end up going at full speed regardless.
     
  25. Offline

    nicquehen

    Hi,

    it is possible to have 2 border configuration for the same world.

    I explain:

    With the 1.0 chunk generator i don't want to regenerate a world or to increase the border of my actual map.

    i want to have something like this :

    [​IMG]
     
  26. Offline

    Brettflan

    Sorry, for performance reasons this plugin limits you to one border per world.
     
  27. Offline

    nicquehen

    Ok No prob :)
     
  28. Offline

    Dysp

    Hi.

    Is it possible to get my hands on a dev-version of this plugin? I am starting a server tonight and I just need to trim the world, because it is too big at the moment. (We have been preparing it for several weeks and people are getting impatient!)
     
  29. Offline

    Brettflan

    Have you tried using 1.4.4? The trim command should work fine unless you've set a custom "world-container" in bukkit.yml.
     
  30. Offline

    moose517

    how can i stop the fill as i ran it with 1000 as well and am experiencing the issue. i tried stopping the server but upon reload it continued to fill.
     
  31. Offline

    Brettflan

    Did you read the notice it gave you when starting the process? It told you how to pause or cancel the fill process then. Can you read the "fill" command description in the first post of this thread? It also tells you how. I'll leave that exercise to you.

    I plan to have an update out in the next couple of days, though the current version 1.4.4 does work fine in the new CraftBukkit RB.
     

Share This Page