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, P. V. Gretener.
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 DivinityCraft DivinityCraft Sep 30, 2014 at 08:25 UTC - 0 likes

    @Brettflan: Go

    I just wanted to thank you for this great plugin and say that your work is far beyond that of Mojang's simplistic 1.8 border, though some servers might be content with a simple square border.

    One feature you could expand on is the wrapper. We could have a world that behaves very similarly to an actual sphere planet if we get a slightly more advanced wrapper, and the wrapper is already halfway there. If you have a square world with the wrapper on, when going far enough east it will take you to the corresponding position in the west and vice versa which is exactly how it should be.

    What's lacking is that it does the same thing for the northern and southern borders. An optional setting that solves this is to have the player be teleported to the opposite location of the same border. For example, consider a square world that has its center at x 0 z 0 and is 1000 blocks in every direction. With the new option, going to the northern border and entering it at x -550 z -1000 would take you to x 550 z 1000. I'm planning to use random warp zones to crudely simulate this but it could be done so much better with WorldBorders wrapper.

    Last edited Sep 30, 2014 by DivinityCraft
  • Avatar of Brettflan Brettflan Sep 28, 2014 at 19:29 UTC - 0 likes

    @Brettflan: Go

    The answer to that is posted twice on this current page of comments already, but to repeat it again and extend on it a bit:

    I may be adapting some functionality of this plugin for Sponge later, but no promises.

    Minecraft 1.8 comes with built-in physical border support, which while limited to a square shape and I think currently having a single border definition shared between all worlds, does at least partly cover the core functionality of this plugin. I'd be most likely to adapt the Fill and Trim functionality, though possibly some of the border functionality as well, and possibly adapting/extending some of the new built-in physical border functionality.

    Last edited Sep 28, 2014 by Brettflan
  • Avatar of DanSpedey DanSpedey Sep 28, 2014 at 16:08 UTC - 0 likes

    Will this plugin be ported to Sponge?

    http://i.imgur.com/UjXiBGT.gif

  • Avatar of Black_Goat Black_Goat Sep 28, 2014 at 09:24 UTC - 0 likes

    This is way overdue, but many thanks for this well planned, fully-functioned plugin. I've been using WorldBorder for years, and it's been indispensable in the creation of many weird worlds, as well as constraining their size. Seeing new WB features develop has been like watching a rare succulent grow, it just keeps getting better.

    RIP Bukkit. I hope that Sponge succeeds, and that you still have time and motivation to port WorldBorder when it happens.

    Owner/Operator/Overlord of Yggdrasyl Server at  yggdrasyl.dyndns.org
    Forum at http://yggforum.pixel-dragon.com/

  • Avatar of FlyingPikachu FlyingPikachu Sep 28, 2014 at 03:59 UTC - 0 likes

    @Brettflan: Go

    Thank you for a very useful and adaptable plugin.

    I have opted to discontinue all of my plugins. I have thoroughly enjoyed my time with the Bukkit community. Feel free to continue my projects!

    Mouse Pokémon. Length: 1' 4", Weight: 12 lbs. By learning how to fly, Pikachu overcame its weakness to Fighting Pokémon.

  • Avatar of fastlockel fastlockel Sep 27, 2014 at 23:03 UTC - 0 likes

    Ok thank you so much for your neat work : pluging compact, simple to understand, does as expected, enough ... and no useless commands. great. Hope to hear from you back next with sponge ... buts that's another story

  • Avatar of sparts sparts Sep 27, 2014 at 20:28 UTC - 0 likes

    @Brettflan: Go

    Thank you, that will be perfect. I hope to see you on the sponge side :)

  • Avatar of Brettflan Brettflan Sep 27, 2014 at 17:49 UTC - 0 likes

    Released v1.8.1

    This is the final planned release of WorldBorder for Bukkit. I may be adapting some functionality of this plugin for Sponge later, but no promises.

    • When using the radius command you can now optionally specify + or - at the start of <radiusX> and [radiusZ] to increase or decrease the existing radius rather than setting a new value. (by Maximvdw)

    Examples:
    /wb worldName radius +16 - increase existing border radius size by 16 blocks for world "worldName".
    /wb radius -100 - decrease existing border radius size by 100 blocks for the world you're currently in.

  • Avatar of Brettflan Brettflan Sep 27, 2014 at 12:47 UTC - 0 likes

    @sparts: Go

    You could of course just set it to a higher or lower number than it's currently set to, but actually there's an unreleased update on GitHub which allows the radius of a border to be increased or decreased by a specified amount.

    I'd been waiting to make some further changes before releasing anything, but considering I have no further plans for this plugin on Bukkit, I suppose I might as well make one last release to add that feature. I'll do that probably later today. I suppose I'll probably have to add a direct link to it or something; I'm not sure if any moderators still approve files on BukkitDev.

    Last edited Sep 27, 2014 by Brettflan
  • Avatar of sparts sparts Sep 27, 2014 at 11:54 UTC - 0 likes

    Is it possible to grow/shrink the world border with commands (or command blocks)?

Facts

Date created
Aug 31, 2011
Categories
Last update
Sep 27, 2014
Development stage
Mature
Language
  • enUS
License
BSD License
Curse link
WorldBorder
Downloads
538,850
Recent files
  • R: 1.8.1 for CB 1.7.9-R0.2 Sep 27, 2014
  • R: 1.8.0 for CB 1.7.9-R0.1 May 31, 2014
  • R: 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

Authors