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 Jan 4, 2013Hey there, lovely plugin. Really an awesome tool for when you are using Terraincontrol and dynmap to view your map on a bigger scale before letting people explore it!
I noticed something weird tho: Is it normal that when I fill a world using the default frequency, in chat it tells me every few sec that it processed around 150ish chunks, while I don't notice any lag (I checked, 20 TPS). But when I chose something like 500 freq or even 1000 freq, the messages in chat tells me roughly the same chunks processed, the percentage seems to increase at the same speed aswell. :S Isn't it supposed to be a lot faster?
It doesn't really matter tho, I have the patience to wait a few hours, I was just curious :)
Keep up the good work!
-
View User Profile
-
Send Message
Posted Jan 1, 2013@xeNiumw0w
Yes.
-
View User Profile
-
Send Message
Posted Jan 1, 2013/wb set 100 same as 100 left, right, forward & backward?
-
View User Profile
-
Send Message
Posted Dec 31, 2012@badda2k
It starts at the center point and spirals out.
-
View User Profile
-
Send Message
Posted Dec 31, 2012Just wondering, does the fill command start from the center of the map, where spawn is, or just some random location? :)
-
View User Profile
-
Send Message
Posted Dec 30, 2012@Draxick
When you have 'filled' the chunks (/wb fill) which will render all the chunks to the selected WB region, type /dynmap fullrender[:world] to render all the loaded chunk's tiles onto the dynmap. When this process has finished, it will then show the whole map on your dynmap :) I hope this is what you were meaning.
-
View User Profile
-
Send Message
Posted Dec 29, 2012@Intangir
Recalculating lighting unfortunately would require NMS calls, which would break this plugin with every new Minecraft version.
@Draxick
That generates the world. It's then up to Dynmap to update its map.
-
View User Profile
-
Send Message
Posted Dec 29, 2012Anyone know how to fill the and render all chunks from the dynmap to worldborder, like the exact command i tried /wb fill then i confirmed it but didnt render out the whole map
-
View User Profile
-
Send Message
Posted Dec 29, 2012update this to 1.4.6 please?
Ty!
-
View User Profile
-
Send Message
Posted Dec 28, 2012does anyone know of a mod to recalculate light on pre-generated chunks? mine have alot of glowstone but none of it is casting light, it looks ugly..
is this a feature/option that can be added to world border? to make the fill feature also calculate lighting?
-
View User Profile
-
Send Message
Posted Dec 24, 2012@Crunkatog
Nice to hear. :)
-
View User Profile
-
Send Message
Posted Dec 23, 2012Just wanted to give this a huge hug for making my life so much easier in 1.4.6.
We got all excited over TerrainControl updating early for dev 1.4.6 so I made a skylands generator. It lagged in realtime so I had to find a way to pre-generate the chunks with the terrain mod before uploading it to our tiny 1.5 gb instance.
MLG didn't work, the other automatic generator didn't work. Then I remembered the /wb world fill command. Worked like a charm. I now have a 5600 x 5600 rice cake of lag-free swiss-cheese awesomeness to play on with my mates for Christmas.
Thanks!
-
View User Profile
-
Send Message
Posted Dec 21, 2012@FuSe18
Another confirmation, World Border 1.6.1 is working fine for me on dev 1.4.6 with java7.
-
View User Profile
-
Send Message
Posted Dec 21, 2012@FuSe18
WorldBorder 1.6.1 is working perfectly for 1.4.6.
-
View User Profile
-
Send Message
Posted Dec 20, 2012@FuSe18
Care to expand on that? Here, I'll show you how it's done.
Tested WorldBorder 1.6.1 in CraftBukkit 1.4.6-R0.1 (Build #02551). Border knockback worked perfectly. Tested Fill and Trim commands, both ran through without error. No problems found.
See that? Oh, and you'll notice I found no problems in my quick testing. If you really did have a problem, you will need to provide more info. Like what specific CraftBukkit build you tested in, and most importantly an indication of what actual problem you had.
-
View User Profile
-
Send Message
Posted Dec 20, 2012World border does not work for 1.4.6
-
View User Profile
-
Send Message
Posted Dec 20, 2012@Brettflan
Not everyone has fully developed brains yet. For some it may take a life time to develop....
-
View User Profile
-
Send Message
Posted Dec 19, 2012To head off the inevitable breathless questions and demands for an update, yes, WorldBorder 1.6.1 appears to continue to work fine in the new RB of CraftBukkit 1.4.5-R1.0. No need for an update.
So, in advance, the inevitable people who ask about or demand such an update should be ashamed of themselves when/if they actually bother reading this after having blindly made such a post.
There, I think that's covered. :)
-
View User Profile
-
Send Message
Posted Dec 18, 2012@Darkllama23
If you don't want them to be so far apart, use MCEdit to copy the city and land over.
-
View User Profile
-
Send Message
Posted Dec 17, 2012Is it possible to add two borders??? I.E. One border around X:0 Z: 0 R:4000 and another around X:25000 Z:25000 R:500, because i am this awesome city, far away from spawn by using TP to coords command. And i Dont want to set the main border to 25000 or something.