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 Sep 16, 2012@aehooo
The final detailed lighting pass should run and update the chunk when a player gets close to it. If that's not working as it's supposed to, then I'm not sure how to fix it offhand.
Sadly that extra lighting pass is obfuscated and hard to keep track of for use in a plugin with each CraftBukkit release, as I talked about below, so that capability isn't in WorldBorder. Having new Minecraft releases break my plugin doesn't appeal to me.
-
View User Profile
-
Send Message
Posted Sep 16, 2012I used fill on a long portion of the map, but the generated terrain has many strange light problems.
Is this a commom issue? How to fix this? I found that just updating the place where the light problem is fixes it momentainly, but as soon as the user logs out and in again, the bug is still there.
Can something be done to recalculate the light of all the created chunks?
-
View User Profile
-
Send Message
Posted Sep 15, 2012@AeroEden
Sorry, but there is no feature to automatically create borders for new worlds. The source for this plugin is of course available on GitHub if somebody wants to try adding such a feature.
-
View User Profile
-
Send Message
Posted Sep 15, 2012Will it be possible to make it so it automatically sets World Borders that you have defined for each new world that is generated. This is because I have MystCraft on my server and don't want people to make their world sizes huge. Thanks.
-
View User Profile
-
Send Message
Posted Sep 14, 2012@tcadonau
Post the actual log data you're referring to.
-
View User Profile
-
Send Message
Posted Sep 14, 2012I keep getting a spam on my server log. all it says is the time [info] Problem! over and over agian. has anyone else seen this on their servers?
-
View User Profile
-
Send Message
Posted Sep 13, 2012@ray73864
File listings here on BukkitDev can be updated to indicate support for newer CraftBukkit versions. Said newer CraftBukkit versions don't always necessitate an update for the plugin as well.
@alexander_gq
Normally the fill process detects low memory and will pause and try to kickstart the garbage collector to clean up and free up wasted memory, but it's rarely possible for overly high fill rates to eat up memory too quickly to trigger that. Try running at a lower fill rate.
-
View User Profile
-
Send Message
Posted Sep 13, 2012Hello. I've successfully generated a large overworld, but when trying to generate the nether, when the RAM gets low, I get errors. Would you mind having a look at this pastebin?
pastebin.com/D2149pYw
-
View User Profile
-
Send Message
Posted Sep 13, 2012So i'm confused, how can the very latest version of WorldBorder have a release date of March 29th for CB-1.3.1-R1.0 when that version of CB didn't come out until half way into August?
Is dev.bukkit.org playing tricks on me?
-
View User Profile
-
Send Message
Posted Sep 12, 2012@godgodgodgo
Last I checked that would still require hooking into obfuscated Minecraft methods within CraftBukkit itself (rather than Bukkit) which tend to change between Minecraft versions, which would therefore break compatibility for this plugin whenever it happened.
The CraftBukkit team have been occasionally swapping in un-obfuscated method names over time. If/when they get to that one and I learn of it, I'd probably be willing to look back into implementing it.
-
View User Profile
-
Send Message
Posted Sep 11, 2012@Brettflan Hey, could you possibly add some extra variables for the world fill command? The one that I'd like the most is force lighting fixes like from this old plugin: http://dev.bukkit.org/server-mods/worldgenerationcontrol/
Thanks :)
-
View User Profile
-
Send Message
Posted Sep 8, 2012@NateBexx
It should. I don't recall any specific problem reports related to it being run on a Tekkit server.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@Brettflan
Do you think it will work fine with a Tekkit server?
-
View User Profile
-
Send Message
Posted Sep 8, 2012@NateBexx
WorldBorder 1.5.3 should work fine in CraftBukkit 1.2.5*.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@Brettflan , is there a 1.2.5 version? Can't find it anywhere here.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@QweSteR2221
The two main possible cuplrits would be:
I doubt it has anything to do with it being a multiworld setup. WorldBorder uses the world names as the identifier for the border data. The only thing which would keep it from continuing to apply to a specific would be if the world were renamed.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@Brettflan
Borders are created but players can pass through them.
-
View User Profile
-
Send Message
Posted Sep 7, 2012@QweSteR2221
You'll have to provide more info than "doesn't work". Details. What exactly (in detail) are you doing? What exactly isn't working? The setting of the border, or the function of the border after it's set, or what?
-
View User Profile
-
Send Message
Posted Sep 7, 2012@Brettflan
Borders creation doesnt work in the multiworlds.
WorldBorder 1.5.4 Multiverse-Core 2.5 (590) CraftBukkit 2352
-
View User Profile
-
Send Message
Posted Sep 3, 2012Thanks, this is really useful for a server with limited resources (like mine). Kudos for releasing this plugin! Also, _O_ for the Trim command.