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 Dec 10, 2013@Brettflan
I'd also like the option to disable auto-saving during fill operations, at least in 1.7 it generates a lot of lag and I already have an auto-saving plugin.
Edit: Preeetty sure that's the force arg, /wb <world> fill <freq> <pad> <force>, correct me if I'm wrong. Can't afford to test now, I have too many players on <.<Also, if it's possible to do easily, unloading chunks once generated would be appreciated, I want to do a fill operation on a 25k radius circle but can't because generation becomes completely bogged down after 40k chunks are loaded at once.
Don't know if this is an issue on your end or Bukkit's, but I know that ChunkPrequote manages to unload chunks just fine. If only I was just interested in a square map :p
-
View User Profile
-
Send Message
Posted Dec 10, 2013@z1haze
spoke too soon i see
-
View User Profile
-
Send Message
Posted Dec 10, 2013@Brettflan
thank you for the quick reply
-
View User Profile
-
Send Message
Posted Dec 10, 2013@Brettflan
the fill one is what im talking about.
12:16:56 PM WorldBorder: [Fill] Saving the world to disk, just to be on the safe side. (free mem: 12656 MB) 12:17:20 PM WorldBorder: [Fill] 1 more chunks processed (1503742 total, 92.0%) (free mem: 11655 MB) 12:17:26 PM WorldBorder: [Fill] 1195 more chunks processed (1504937 total, 92.1%) (free mem: 11190 MB) 12:17:30 PM WorldBorder: [Fill] 1130 more chunks processed (1506067 total, 92.1%) (free mem: 10713 MB) 12:17:36 PM WorldBorder: [Fill] 1146 more chunks processed (1507213 total, 92.2%) (free mem: 10237 MB) 12:17:41 PM WorldBorder: [Fill] 228 more chunks processed (1507441 total, 92.2%) (free mem: 9761 MB) 12:17:45 PM WorldBorder: [Fill] 1113 more chunks processed (1508554 total, 92.3%) (free mem: 13261 MB) 12:17:45 PM WorldBorder: [Fill] Saving the world to disk, just to be on the safe side. (free mem: 13261 MB) 12:18:11 PM WorldBorder: [Fill] 0 more chunks processed (1508554 total, 92.3%) (free mem: 12325 MB) 12:18:15 PM WorldBorder: [Fill] 1135 more chunks processed (1509689 total, 92.4%) (free mem: 11859 MB)
look at how much time is lost each save.. its unneccessary.. ive been filling my region for nearly 24hrs and no ones been able to play.
-
View User Profile
-
Send Message
Posted Dec 10, 2013@z1haze
What autosave are you talking about? There is none that happens every 5 seconds that I recall. There's one during the Fill process which runs every 30 seconds, but it shouldn't normally cause problems.
-
View User Profile
-
Send Message
Posted Dec 10, 2013how to disable the autosave feature every 5 freakin seconds? its so unnecessary and causes a lot of lag on my server.. not to mention slows the progress down immensely.. i didnt see an option to disable auto save for worldborder, did i miss it?
-
View User Profile
-
Send Message
Posted Dec 8, 2013@AlienArtificial
That error is a bug in your CraftBukkit build. You'll need to look to them for the fix. I think somebody posted a workaround for Spigot in the comments below, which also may be the only release of CraftBukkit having this problem.
@Volturnus
I'll reconsider it.
-
View User Profile
-
Send Message
Posted Dec 8, 2013@chsedv
This plugin is not fully compatible with 1.7.2: See this: http://dev.bukkit.org/bukkit-plugins/worldborder/tickets/90-world-border-is-not-compatible-with-1-7-2-blocks/
-
View User Profile
-
Send Message
Posted Dec 8, 2013This plugin works great, even on 1.7.2.
It however is a bloody shame you can not set up permanent bypasses for a certain group, or users.
We admins got a place outside the border, and its extremely annoying to be unable to set a permanent bypass.
Could this pretty please be implemented?
-
View User Profile
-
Send Message
Posted Dec 8, 2013@chsedv
WorldBorder works perfectly with 1.7.2! I just filled a 5000block radius circle and everything works as described..
-
View User Profile
-
Send Message
Posted Dec 8, 2013pls update to bukkit 1.7.2
-
View User Profile
-
Send Message
Posted Dec 7, 2013@dalphi
Well, I guess we all stay late at night to debug servers...why not share :D
You do realize that this plugin merely makes the cause visible, right? Bukkit is buggy. The plugin is superb.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@stgram
Thanks, that saved me from asking, had the same problem as PunJedi.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@SheerAwesomeness
Correct.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@Brettflan
So I set the border to square - /wb shape square Then I set the radius to 15,000. Would that still make a square border (size 30kx30k)?
-
View User Profile
-
Send Message
Posted Dec 7, 2013@SheerAwesomeness
That size is correct, yes. However, the default border shape is round/elliptic rather than square/rectangular.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@Brettflan
If I were to set a square border of radius 15,000, that would become 30,000x30,000, right? And then filling it would fill a square?
-
View User Profile
-
Send Message
Posted Dec 7, 2013@bukkitCensoresComments
I don't know. You'd do best to head over to the Dynmap BukkitDev page for info about it.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@bukkitCensoresComments
All versions hosted here on BukkitDev have the Fill command; that feature was added earlier than the first version hosted here. Just be sure to get a version of WorldBorder listed as compatible with whatever version of CraftBukkit you're running.
-
View User Profile
-
Send Message
Posted Dec 6, 2013@bukkitCensoresComments
AFAIK, it won't work unless the custom world generator is a registered Bukkit plugin.