WorldBorder
Further releases for Spigot 1.13+ are now being posted on the Spigot site. I do not plan to release any further updates here on BukkitDev.
- Full list of Commands and Permissions
- Changelog
- Further Miscellaneous Information
- Source available on GitHub
- Old discussion on main Bukkit forum
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
.
Thanks to the following people who have been kind 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, MiniCraft Server, Cosmic Craft, ScarcityFree.com, polaris_iv (Forge port), matagin, T. Ahokas.
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:
Of special interest are the Fill command and the Trim command features:

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


-
View User Profile
-
Send Message
Posted Jul 16, 2013@megasnipez_
Make absolutely sure you're running the latest version of the plugin available for the Bukkit version you're on.
-
View User Profile
-
Send Message
Posted Jul 16, 2013So basically if you run into the border with a boat it lags and dupes boats which break into wood and sticks anything i can do to fix this?
-
View User Profile
-
Send Message
Posted Jul 16, 2013@tdarren
There isn't a way built into the plugin to tell you a radius that would include all existing chunks, sorry. If you use Dynmap, however, you can easily set a border and see what area it covers of the existing world in Dynmap. You could then tweak the radius as desired.
-
View User Profile
-
Send Message
Posted Jul 16, 2013I really like this plugin and really want to use it for my server since we have multiple worlds and wouldn't like to have people generating new chunks on different worlds at the same time.
I was wondering if their was a way to set the border radius to the distance from the center to the furthest generated chunk?
I ask this because I don't want my users complaining that they cant get to their buildings or home because it has been cut off by the world border.
If not, what would be safe bet for the radius?
-
View User Profile
-
Send Message
Posted Jul 15, 2013@Vivi_Coral
That's shown if you have debug output enabled in 1.7.3+. You can turn it off using /wb debug off.
It also would be shown without debug output enabled if you were running a dev version of the 1.7.3 which wasn't publicly released.
-
View User Profile
-
Send Message
Posted Jul 15, 2013@Vivi_Coral
Thank you for at least creating a ticket :)
-
View User Profile
-
Send Message
Posted Jul 15, 2013@Brettflan and @deaddude22
I can confirm CatsyLady's problem too and I'm on the latest version, 1.7.5: http://dev.bukkit.org/bukkit-plugins/worldborder/files/28-1-7-5/
-
View User Profile
-
Send Message
Posted Jul 15, 2013I gotta say i love this plugin just filled a 15,000 border with no errors whatsoever and no lag during the entire process at all! It took me two days using the default config lol but wow no errors or problems and i got a 15k bordered world thanks to this plugin thanks Brettflan!
-
View User Profile
-
Send Message
Posted Jul 13, 2013@TravisArmstrong
You're not up to date if you're having that problem.
-
View User Profile
-
Send Message
Posted Jul 13, 2013If you are on a horse you can go outside of the world border. I believe I'm up to date but if this has already been fixed my apologies.
-
View User Profile
-
Send Message
Posted Jul 13, 2013@CatsyLady
Try using the latest version here: http://dev.bukkit.org/bukkit-plugins/worldborder/files/28-1-7-5/
If that does not work then submit a ticket with the full error log so the author may review it.
-
View User Profile
-
Send Message
Posted Jul 13, 2013i got this spammed in console:
2013-07-13 15:56:07 [WARNING] [WorldBorder] Teleport cause: UNKNOWN
2013-07-13 15:56:07 [WARNING] [WorldBorder] Teleport cause: UNKNOWN
2013-07-13 15:56:07 [WARNING] [WorldBorder] Teleport cause: UNKNOWN
its annoying
how to fix?
-
View User Profile
-
Send Message
Posted Jul 13, 2013@Brettflan
Oh alright just thought it should go from 0% to 100% in a second but it can take a bit sometimes but this is no problem at all this plugin is absolutely solid nothing bad about it just perfect for any ideal server. I love it :D
-
View User Profile
-
Send Message
Posted Jul 12, 2013@PokerFool1
Multiple borders per world aren't supported, sorry.
-
View User Profile
-
Send Message
Posted Jul 12, 2013Is it possible to create more then 1 border? like have 2 separated areas?
(and have people be able to warp between the borders? Kind of like having a multiverse, but on the same map, so it all shows up on dynmap.)
-
View User Profile
-
Send Message
Posted Jul 12, 2013@deaddude22
A server restart is indeed needed for other plugins to properly detect the chunks as not being there.
I don't understand the problem you're having. If you run it and there are no chunks that need trimming, it will of course go through and reach that conclusion. Can you explain better what's not going as expected?
-
View User Profile
-
Send Message
Posted Jul 12, 2013@Brettflan
So immediately after the trim is completed i must restart the server for it to work properly?
EDIT: Wow in the new update trims and fills are extremely better. Problems solved but we have a slight bug where it will repeatedly try and trim the world to the border and will keep saying "[Trim] 0 entire region(s) and 0 individual chunk(s) trimmed so far" from 0-100% it will do that for worlds that are already trimmed. This isn't much of an issue at all i just want to point it out.
-
View User Profile
-
Send Message
Posted Jul 12, 2013Regarding the reported number of individual chunks by the Trim command being incorrect, that has caused enough confusion over time that I just went ahead and fixed it. A new release is uploaded and will be available once the BukkitDev team approve it.
-
View User Profile
-
Send Message
Posted Jul 11, 2013@deaddude22
The reported number of individual chunks doesn't account for ones which have already been removed, so it can report a number greater than those which actually needed removal. I've considered reworking it to account for that.
However, if it indicates a region has been removed then it has deleted a region file without error. That means the region should absolutely be gone unless you have something very strange going on. Possibly another plugin?
Be sure (again) that after running a Trim you completely shut down and restart the server if you have other plugins that depend on checking if those chunks exist or not. Otherwise they will generally be wrong, as Minecraft normally works with the assumption that existing chunks are never deleted / removed. Dynmap in particular then also needs a fullrender to be run to update the map properly.
-
View User Profile
-
Send Message
Posted Jul 11, 2013@Brettflan
As you requested: http://pastebin.com/82bqxMnX
There is no error yet the chunks are still there and every time i use the trim it gives me the same exact result in chunk removal to the exact amount meaning it says it removes a base amount of chunks yet in a repeated trim it does it again. Dynmap and clearlagg show that their are chunks outside this region.