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 Feb 9, 2013@laseromich
Please explain what you want updated in the source, considering it's up-to-date for the latest CraftBukkit release.
-
View User Profile
-
Send Message
Posted Feb 9, 2013plz update source)
-
View User Profile
-
Send Message
Posted Feb 8, 2013So is there any fix for the /wb fill command for this plugin? I know you said it was bukkits problem but did they fix it yet? EDIT: I have tried the latest bukkit build and it seems to work with no errors but Its not updateing on dynmap so idk. maybe maybe not I guess I will see soon. Thanks for the great plugin
-
View User Profile
-
Send Message
Posted Feb 7, 2013@rapter13
The exception is occurring in CraftBukkit itself, it's not caused by WorldBorder.
-
View User Profile
-
Send Message
Posted Feb 7, 2013Hi, I am currently having this issue while trying to run /wb fill confirm, when I do it throws this exception, and after that if I pause or cancel, it spits this out. I am currently using the latest version of BukkitForge, if that is the issue then I will ask the developer to see what he can do.
-
View User Profile
-
Send Message
Posted Feb 6, 2013@Valoncz
WorldBorder uses Bukkit's built-in chunk loading and generation methods. You can use other plugins to specify different world generators and so forth, and that will work with WorldBorder's Fill command, but that's beyond the scope of what WorldBorder itself handles.
-
View User Profile
-
Send Message
Posted Feb 6, 2013Hi, can I fill my map with chosen seed? I have generated cca 10% of my map by moving players and when I set the borders and fill the map, it fill the map with another seed, so I have really ugly shaped chunks in my world...
-
View User Profile
-
Send Message
Posted Feb 5, 2013This plugin works flawlessly, I especially enjoy the fill feature. Thank you for this!
-
View User Profile
-
Send Message
Posted Feb 5, 2013@dennissub
The coordinates you gave below defined a 1000 x 3000 rectangle, not a square.
If you do want it to be square and know proper coordinates for the edges, figuring the center point is basic math.
-
View User Profile
-
Send Message
Posted Feb 5, 2013i want a square, but i have the coords already.
and this plugin only contains commands from that point where u stand actually.
but i need a config file or so to put in coords..
from xz to xz
-
View User Profile
-
Send Message
Posted Feb 5, 2013@dennissub
If all else fails, read the Commands and Permissions page linked above for every command and how they are used. Rectangular / ellipsoid border shapes are not supported, if that's what you're after.
-
View User Profile
-
Send Message
Posted Feb 5, 2013fine plugin, i like the trim and fill command, but i dont know how i can set the border using coordinates..
i want a border like this:
min-x: 3000 max-x: 4000 min-z: -1000 max-z: 2000
how can i handle this ?
-
View User Profile
-
Send Message
Posted Feb 5, 2013@Brettflan
Thank you, that works fine.
-
View User Profile
-
Send Message
Posted Feb 5, 2013@fungreenfox
Are you manually editing the plugin's config file while the server is running? If so, please explain why you think you need to. You shouldn't need to manually edit it in the first place.
Even if you for some reason need to do so, that's also dead simple: edit the file, then immediately use the /wb reload command to have WorldBorder load from the config file.
-
View User Profile
-
Send Message
Posted Feb 5, 2013Yor plugin is overwriting the config after user has adjusted it. Please fix.
-
View User Profile
-
Send Message
Posted Feb 4, 2013Nice new examples on the main plugin overview page i like it and keep it the work.
-
View User Profile
-
Send Message
Posted Feb 4, 2013Restructured the main page a bit, splitting off the "commands + permissions" and "further information" sections into their own pages linked at the top. Also made animated replacements for the Fill and Trim command example images.
EDIT: and added DynMap info and example image which I previously forgot to add to the main page feature list.
-
View User Profile
-
Send Message
Posted Feb 3, 2013@Yoshinat0r
That exception is within CraftBukkit itself. You should make sure you're using the latest build of it.
-
View User Profile
-
Send Message
Posted Feb 3, 2013I get this error when I confirm the fill process:
java.lang.NullPointerException at org.bukkit.craftbukkit.CraftWorld.isChunkInUse(CraftWorld.java:366) at org.bukkit.craftbukkit.CraftWorld.unloadChunkRequest(CraftWorld.java: 294) at org.bukkit.craftbukkit.CraftWorld.unloadChunkRequest(CraftWorld.java: 290) at com.wimbli.WorldBorder.WorldFillTask.run(WorldFillTask.java:205) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C raftScheduler.java:346) at keepcalm.mods.bukkit.forgeHandler.SchedulerTickHandler.tickStart(Sche dulerTickHandler.java:38) at cpw.mods.fml.common.SingleIntervalHandler.tickStart(SingleIntervalHan dler.java:16) at cpw.mods.fml.common.FMLCommonHandler.tickStart(FMLCommonHandler.java: 119) at cpw.mods.fml.common.FMLCommonHandler.onPreServerTick(FMLCommonHandler .java:287) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:588) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) at fy.run(SourceFile:849)
-
View User Profile
-
Send Message
Posted Feb 2, 2013@Homwer
A couple of other people had the same problem in the past, but IIRC we never figured out why they had that problem. It seems quite rare.
Have you tried temporarily removing all other plugins? Tried restarting the server and running it again with nobody on the server? If neither of those does any good, what specific build of CraftBukkit are you running and what version of WorldBorder?