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 Apr 9, 2012@CVRipley
If possible, can you use /wb debug on, then find a person able to get beyond the border and have them do so? Then check the server log from when they move across the border and see whether they're detected. Also, is it all players or only some?
Also, can you post a full list of plugins you're using along with any other important info (if you're using Tekkit or CraftBukkit + + or another other alt build of CraftBukkit, for instance, and what exact version of CraftBukkit you're running regardless).
I don't have any such problems on my open server or VM server, and I can't see any reason in the code that it might stop working like that, particularly without any error messages. So, any info you can provide might be useful.
About /wb dynmap on|off not displaying the correct thing to the player, it's a known minor issue which will be fixed.
-
View User Profile
-
Send Message
Posted Apr 9, 2012I actually had to remove this from my server and go with another limiter because its not enforcing the borders. Using bukkit 1.2.5 and WB 1.5.4 Sometimes it enforces the borders and sometimes it does not. I really have to fight with it.
I dont get any errors or anything to report to you. But i have to /wb reload and it will work and then if someone relogs back in it may or may not enforce the borders for them. I dont know what triggers the problem. Let me know if theres anything i can provide you with.
There are also some minor bugs with /dynmap on/off always saying its disabled regardless of the option picked
-
View User Profile
-
Send Message
Posted Apr 8, 2012@deleted_8435363
Sorry, no.
@moose517
For "not following the chunks", are you talking about the padding added by the Fill command? As for flat and orthagonal maps not agreeing, they do. The orthagonal map shows the border at a height of 64 which might be confusing you.
-
View User Profile
-
Send Message
Posted Apr 8, 2012love that the border shows on dynmap now, however one of the two don't agree exactly how the ring should be projected, looking at the flat map its not exactly following the chunks ti generated.
-
View User Profile
-
Send Message
Posted Apr 8, 2012<<code no //>><</code>>Is it possible to set a border via WorldEdit's 'sel poly' command? ? that would be amazing! :)
-
View User Profile
-
Send Message
Posted Apr 8, 2012@deleted_7554077
Try to delete the indicated file yourself, or restart the server and try trimming again. As a side note, since it's region 0,0, you must have your available border area quite a long distance away from the normal world center area such that it's not even inside or near your border.
@JPieMC
Sorry guys, not planned.
-
View User Profile
-
Send Message
Posted Apr 8, 2012@Brettflan Can should I do when I get this message:
2012-04-08 13:24:00 [INFO] [WorldBorder] [Trim] Error! Region file which is outside the border could not be deleted: r.0.0.mca
-
View User Profile
-
Send Message
Posted Apr 7, 2012Heres my pipe dream: worldborder creates the borders based on a PNG file, where each pixel is a block, and if it's transparent, it is outside the border
-
View User Profile
-
Send Message
Posted Apr 7, 2012I also support the idea of difining the border with X,Y point1 and X,Y point 2 and let world border make a rectangular shape border.
I think WB is great, you rock!
-
View User Profile
-
Send Message
Posted Apr 6, 2012@yoh1len
Probably eventually.
@CVRipley
Sorry, but support for rectangular/ellipsoid border shapes is not planned.
-
View User Profile
-
Send Message
Posted Apr 5, 2012Can you please add the ability to make borders in rectangular shapes? a command such as /wb set 2000,2000x-1000,-1000
I'm going to edit my comment and be a little greedier with my request. This is a real pipe dream but ill request it anyway. How about polygonal borders. Able to adjust the border in simple ways Straight lines mind you so if I wanted to make a map shaped like a plus sign + i could do it even if it meant manually setting the borders in a config file with notepad
-
View User Profile
-
Send Message
Posted Apr 5, 2012Can you add possibility for admins to cross over border? It would be nice if players can not cross it but admin yes because it should help admins to continue in "world building" but players wont be able to see it :) Please think about it :)
Thx :)
-
View User Profile
-
Send Message
Posted Apr 4, 2012@Kartus
Confirmed. Looks like a copy-paste issue I missed. It's actually setting the value correctly, so you have nothing to worry about. It's just reporting the wrong thing back to you, checking whether debug mode is enabled instead of whether dynmap border display is enabled.
Will be fixed in the next release.
-
View User Profile
-
Send Message
Posted Apr 4, 2012bug: when i command /wb dynmap on, i get "DynMap border display disabled." in chat. i use newest 36.3 dynmap and all dynmap files updated on bukkit 1.2.5 R1.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Etsija
You fix it. Most likely fix: clear your browser cache.
EDIT: and if that doesn't fix it, then you have outdated JS files in your dynmap web folder which you need to properly update.
-
View User Profile
-
Send Message
Posted Apr 3, 2012We have WorldBorder 1.5.4 in use, and now the user of dynmap gets "The border of the world" EVERYWHERE he clicks on dynmap! Please fix.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Rowtag87
Just tested WorldBorder 1.5.4 on the latest CraftBukkit 1.2.5 Beta build and it's working fine. Please provide more details about the problem you're having, along with what versions of WorldBorder and CraftBukkit you're running.
-
View User Profile
-
Send Message
Posted Apr 3, 2012@domingo15
The size of region files which have chunks marked as nonexistent won't immediately change; the chunk data will remain until it's overwritten.
@Rowtag87
By RB do you mean Beta? It works with the current 1.2.4 RB, as that's what I'm using on my server. I haven't yet tested it with the new 1.2.5 Beta build. I don't expect it will have any problems, but I'll be testing it later today myself.
-
View User Profile
-
Send Message
Posted Apr 3, 2012Worldborder since latest bukkit RB is not working on all my players on the server.. thats strange!
-
View User Profile
-
Send Message
Posted Apr 3, 2012@Brettflan
because i set a 1000 border in a world then fill it, loading all the chunks until the 1000 border limit but i decide to shorten it to 500, after trimming the other haft there was no change on my region files. Still the same as when my border was 1000.
This world I'm using is world from minecraft v1.1