WorldBorder

WorldBorder logo r3


If you appreciate this plugin and actually want to see it developed further by me rather than only receiving compatibility updates, you are welcome to Donate.
Thanks to the following people who have appreciated the plugin enough to donate: jonDatz, xrobau, Gussi, Dizzy, R. Meijer, FoundationCraft, T. Bronner, R. Thompson, The Pokemon Server, legitplay.net, D. Senff, Vik1395, TagCraftMC, D. Strickner, M. Wilson, Rhythmatic, W. Downey.
Also thanks to IMathe172I (Lang Lukas) for contributing code to support elliptic and rectangular border shapes, and Indiv0 for contributing code to support border wrapping.


Description

This plugin is intended to efficiently provide a border for each of your worlds, which only people granted special bypass access are allowed beyond. These borders can be round/elliptic or square/rectangular. As the plugin has been written with performance as the most important goal, it should have no performance impact on your server. Additional world trimming and filling commands are available as well.
Older plugins which originally inspired the creation of this one: rBorder and BorderGuard.


Features

  • You can set up a separate border for each world, but only one border per world.
  • You can have either round/elliptic or square/rectangular borders. Square/rectangular borders are slightly higher performance, round/elliptic borders make for nicer display maps. Different worlds can have different border shapes if you so choose.
  • Configuration and border setup is done completely using commands in-game or through the server console. No need to ever edit the config file directly.
  • Support for all permission plugins which interface with Bukkit's built-in "superperms" permission system.
  • You can fully generate (fill) your world all the way to the border, filling in any missing chunks, including a configurable buffer zone just outside your border.
  • You can trim off any world chunks beyond the border, getting rid of extraneous parts, with a configurable buffer zone left just outside your border.
  • You can use a bypass command to allow specific players to go beyond all borders.
  • Borders can be automatically displayed in DynMap if you use that plugin.
  • All plugin data is automatically saved whenever any borders or settings are changed.
  • If a player crosses a border while in a vehicle, the momentum of the vehicle is stopped and it is moved back inside the border with the player.
  • When a player is moved back inside a border, they will be moved to a safe vertical location if needed.
  • Borders for specific worlds can be set to wrap around instead of just knocking back players who cross the border, instead sending them to the opposite edge of the border.


English Tutorial:

Spanish Tutorial:


Screenshot 2


Of special interest are the Fill command and the Trim command features:
Before and After Fill Before and After Trim


Borders are also displayed automatically by default in DynMap if you have it:
DynMap Border Example

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of sovredcat sovredcat Apr 23, 2014 at 03:22 UTC - 0 likes

    Alright so I ran worldborder with only 2 mods loaded, Biomes O' Plenty and Alternate Terrain Generation, running mcpc-plus-1.6.4-R2.1-forge965-B251.

    No matter what frequency I set it at it will only go about 20-40 chunks / second. It looks like it's limited by something but I don't know what that could be.

  • Avatar of Brettflan Brettflan Apr 22, 2014 at 21:10 UTC - 0 likes

    @Mal2ksc: Go

    Portals that would go outside the border in the overworld are already redirected to be just inside the border, by default.

    @sovredcat: Go

    The Fill process is largely limited by how fast CraftBukkit/Minecraft itself can generate the chunks, and can be even more limited depending on how much added work your world generator plugins require.

    @Kubixster: Go

    A chunk is either generated or not, whether it's a player who generated it or anything else such as the WorldBorder's Fill. So based on what I think you're asking, the answer is no.

  • Avatar of fungreenfox fungreenfox Apr 22, 2014 at 20:54 UTC - 0 likes

    @sovredcat: Go

    Try fill 100 64 or so. Do you check for how much memory is left when it slows down?

  • Avatar of Kubixster Kubixster Apr 22, 2014 at 19:55 UTC - 0 likes

    Can I fill unexplored chunks inside the border without changing explored chunks?

  • Avatar of sovredcat sovredcat Apr 22, 2014 at 18:43 UTC - 0 likes

    Okay I will try that and report back thanks.

    edit @fungreenfox that does not work at all.

    Last edited Apr 22, 2014 by sovredcat
  • Avatar of fungreenfox fungreenfox Apr 22, 2014 at 18:15 UTC - 0 likes

    @sovredcat: Go

    I have 48GB ram, and have somehow the same issue. One problem here, is the Java itself, not clearing up the used garbage from memory in time. Therefor, the plugin stops and waits until that amount is cleared, set in config to be max use. (setting for max memory left in order to proceed with task). It also depends on depth of the world, for example subterranea generator can make worlds at 200 block depth. In this case, i had to make use of wb fill 10 64 (64 if you have 64bit). Going higher here, makes use of memory to fast and will cause the plugin to halt now and then, while waiting for free mem. With normal world, try a lower parameter like wb world fill 20 64 and see if it works.

    Last edited Apr 22, 2014 by fungreenfox
  • Avatar of sovredcat sovredcat Apr 22, 2014 at 17:16 UTC - 0 likes

    This plugin is awesome and will save me so much trouble when I open my server. My only issue with it is that is seems really slow. Instead of the default fill of 20 I've set it to a 1000.

    First it goes, 500, 300, 700, 900, 600 etc but after a while it seemed to have slown down a lot with it only going up to about 90 chunks / second. I'm not sure what is up with that, the CPU/RAM on the server is sufficient enough (E3-1225 V2 @ 3.20GHz and 16GB of ram) but it's only using 5% cpu.

    Is there anything I can do to make it faster?

  • Avatar of Mal2ksc Mal2ksc Apr 22, 2014 at 15:15 UTC - 0 likes

    @Brettflan: Go

    It seems to me that if you can create a fake wall around a world, you could also fill up the space from y=128 to y=255 in the nether the same way. If it's full of bedrock, nobody's going up there.

    Also it'd be nifty if people could be prevented from creating portals in the nether that would take them out of bounds in the overworld, without otherwise restricting them from exploring/mining that part of the Nether.

    Last edited Apr 22, 2014 by Mal2ksc
  • Avatar of Brettflan Brettflan Apr 20, 2014 at 23:35 UTC - 0 likes

    @AS1LV3RN1NJA: Go

    I'll check into it as another feature, though I wish CraftBukkit/Minecraft would finally properly address nether world height limits.

  • Avatar of AS1LV3RN1NJA AS1LV3RN1NJA Apr 20, 2014 at 17:03 UTC - 0 likes

    Please could you add a check for players trying to go above the nether? They mainly use enderpearls I think.

    Twitter: @JamesHealey94 https://twitter.com/JamesHealey94
    Server: A Silver Server http://silverserver.weebly.com/index.html

Facts

Date created
Aug 31, 2011
Categories
Last update
Mar 19, 2014
Development stage
Mature
Language
  • enUS
License
BSD License
Curse link
WorldBorder
Downloads
465,491
Recent files
  • B: 1.7.9 for CB 1.7.2-R0.3 Mar 19, 2014
  • R: 1.7.8 for CB 1.7.2-R0.3 Feb 22, 2014
  • R: 1.7.7 for CB 1.7.2-R0.2 Dec 21, 2013
  • R: 1.7.6 for 1.7.2 Oct 20, 2013
  • R: 1.7.5 for CB 1.6.2-R0.1 Jul 12, 2013

Authors