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 May 28, 2013Multiple borders within the same world aren't supported, sorry.
-
View User Profile
-
Send Message
Posted May 28, 2013@Brettflan I've been using this plugin on my server for a while now and have a question: is it possible to have two borders on the same world, or is that impossible with the way API functions at the moment? With this plugin and multiple borders, it's possible to have a multi-world typed environment without the second world :)
-
View User Profile
-
Send Message
Posted May 27, 2013@Brettflan
Thanks for the great tip :)
-
View User Profile
-
Send Message
Posted May 27, 2013@ThePlayingNoob
No, but if you find the two corner positions of the area (X and Z values for each) you can simply specify those in the /wb setcorners command.
-
View User Profile
-
Send Message
Posted May 27, 2013Can i make a border with worldedit?
-
View User Profile
-
Send Message
Posted May 24, 2013@Darthmineboy
That's what it does, yes.
-
View User Profile
-
Send Message
Posted May 24, 2013The fill command, does it actually already generate the chunks? If so, that would be nice, that will prevent laggs and cpu usage :D.
-
View User Profile
-
Send Message
Posted May 24, 2013@Brettflan
Thank you! I'm sorry I wasted your time, I'm sure this info is in the config as well.
-
View User Profile
-
Send Message
Posted May 24, 2013@edoreld
The default border shape is round/elliptic, so those coordinates would be outside the border. You can change the shape to square and reach those coordinates.
-
View User Profile
-
Send Message
Posted May 24, 2013Hey there,
I've got WorldBorder 1.7.2b & MCPC-Plus #457. I'm trying to set a radius of 10k to my world, so I ran:
/wb world radius 10000
at coordinates x0, z0 (I also tried a few of the other commands).
Then I tried teleporting to 9995x, 9995z. As soon as I did, I got teleported back to 7068x, 7068z, and got the "edge of the world" message.
Any idea why this is happening?
-
View User Profile
-
Send Message
Posted May 23, 2013@Brettflan
thanks for such quick release :) 1.7.2b works perfectly with mcpc
-
View User Profile
-
Send Message
Posted May 23, 2013@comniemeer
Ah, so that's fairly normal aside from Spigot freaking out about the low resources. There were no actual errors reported that I can see there.
@Aeden87
Go to the world in-game, then run:
/wb setcorners -6000 -6000 6000 6000
Then you might want to change the default border shape to square/rectangular:
/wb shape square
Or instead of that you might want to just override the default shape only for that single world, like so:
/wb wshape square
-
View User Profile
-
Send Message
Posted May 23, 2013Hi :)
Please Help i'm too bad on Maths lol ! I want to border my PVP map. My spawn is the center with circle or square. Players are playing inside x =-6000 to 6000 and z = -6000 to 6000 How to do that with the plugin ? I'm french so sometimes english command are difficult to understand.
Thanks a lot !.
-
View User Profile
-
Send Message
Posted May 23, 2013@Brettflan
Here is the full error-log: http://pastebin.com/srDVhmkV
-
View User Profile
-
Send Message
Posted May 22, 2013@comniemeer
You got [SEVERE] errors reported during the generation process? Post them with the full stack traces.
-
View User Profile
-
Send Message
Posted May 22, 2013@Brettflan
Hmm... During the WorldBorder generation task, the free memory dropped down and WB paused generating. Then, Spigot sent some [SEVERE]'s and then, the task continued normally. I don't know whether that could be the problem...
-
View User Profile
-
Send Message
Posted May 22, 2013@comniemeer
If WorldBorder indicated it completed the Fill process successfully with no errors, then you'll need to look to DynMap for why it hasn't rendered the newly generated chunks.
-
View User Profile
-
Send Message
Posted May 22, 2013Hello, can you explain me, why this map doesn't looks so good? Down right is that strange emptiness... I filled the world behind the border with /wb Grundstuecke fill and full-rendered the world with dynmap. What can I do now?
-
View User Profile
-
Send Message
Posted May 22, 2013@samriang
OK, I'm about to make a minor new release which catches that Dynmap integration NPE and simply disables our integration when Dynmap is available but not correctly loaded, like is currently the case with Dynmap in MCPC.
-
View User Profile
-
Send Message
Posted May 22, 2013@Brettflan
yep. same problem