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 12, 2014@FlOppythp
I sent you a PM a couple of days ago with a dev build link to test. I haven't heard back from you, so I'm still waiting for somebody who can somewhat thoroughly test out the compatibility fix for CombatTag.
-
View User Profile
-
Send Message
Posted Feb 12, 2014@leifstig
Based on the stacktrace it's either the world generator plugin you're using or CraftBukkit itself.
World generator plugin referenced:
-
View User Profile
-
Send Message
Posted Feb 12, 2014Hi. We were trying to add WorldBorder to out server this morning, but it didnt do as expected. It seems to have stopped at 4% at first and then after a server restart, it started right back where it left off and then got us this error in the log: http://pastebin.com/sdf67btu
Any clue as to what is doing this ?
-
View User Profile
-
Send Message
Posted Feb 11, 2014@Brettflan
I thought that might be the case. After all, it's only throwing errors when it generates BD structures and I have a lot of mods that add/change worldgen. So that makes sense.
Thanks again for such an awesome plugin!
EDIT: I do have one other question. I can't seem to figure out how to get dynmap to display the world border. I've tried toggling the /wb dynmap on/off command but no luck. Is there something I have to do with dynmap to make this work? Or is there a dynmap module I have to get aside from just dynmap itself? Sorry if I seem like a complete noob right now.
EDIT2: Never mind, I found the solution. Have to use DynmapCBBridge with MCPC+.
-
View User Profile
-
Send Message
Posted Feb 11, 2014@Hitorikirino
The stacktrace indicates the error is occurring in the code of the world generator plugin you're using. Take it up with them.
-
View User Profile
-
Send Message
Posted Feb 11, 2014Hi there. I love this plugin! But I'm running into a problem using it's fill function with Better Dungeons (Chocolate Quest) installed.
As it's generating the world it's also generating dungeons from BD, and sometimes these will cause the thread, or the server, to crash. Usually it's only the thread that crashes with one of the errors here. Rarely it does actually crash the server entirely. I will get a copy of the crash log if it winds up crashing the server again. If only the thread crashed, I can simply cancel the fill command and re-issue it to continue generating chunks.
I tried searching for anyone else having this problem but couldn't find any information about it. Is there anything I can do to fix this? I would really like to be able to use the fill command as it was intended, to generate my world completely autonomously. I'm using the 1.7.6 version of WorldBorder right now, is the 1.7.7 version compatible with 1.6.4? If so, would updating fix any of these errors?
Any help or ideas would be most appreciated, and thanks for the great plugin!
-
View User Profile
-
Send Message
Posted Feb 10, 2014@FlOppythp
It's only the duration of the combat tag. As I said, I think I have a fix, I just need somebody who can test it somewhat thoroughly.
-
View User Profile
-
Send Message
Posted Feb 8, 2014@Incompy
The padding value is an option for the command, as documented above.
-
View User Profile
-
Send Message
Posted Feb 8, 2014Is there a way to trim worlds at the border, so it doesn't trim blocks that are only 208 blocks away?
-
View User Profile
-
Send Message
Posted Feb 8, 2014@dotapurex1
Probably pretty soon. Particularly if somebody who uses CombatTag, knows of the problem, and can replicate it is willing to test out a dev build of WorldBorder to see if it takes care of the problem. It will take a decent bit of testing to make sure it's fully fixed, assuming it works. Feel free to PM me.
-
View User Profile
-
Send Message
Posted Feb 8, 2014@Brettflan
When do you think you're able to update it so combattag wouldn't affect it?
-
View User Profile
-
Send Message
Posted Feb 8, 2014@frol1
If it doesn't give any errors then the Trim was successful.
Be sure to do a "fullrender" in Dynmap after the server restart.
-
View User Profile
-
Send Message
Posted Feb 8, 2014I seem to be having some trouble.
Im doing /wb worldname trim and then wb trim confirm it then starts the trim and stops it pretty much right away. My border is only 230 radius. After it finishes the trim, I shut the server down and delete my dynmap files. but when the server starts backup and I do the full render it seems to still be displaying all the old chunks which leads me to believe that the trim hasnt worked.
Any ideas?
-
View User Profile
-
Send Message
Posted Feb 7, 2014@FlOppythp
Any standard teleportation attempts are redirected back inside the border.
The only thing so far which I know of that would allow anyone outside the border is if you have another plugin like CombatTag which prevents teleportation under certain circumstances (players in combat in that instance), since WorldBorder uses teleportation to put players back inside the border.
-
View User Profile
-
Send Message
Posted Feb 6, 2014@Brettflan
and now...a couple hours later, it is working....with nothing changed...I claim MAGIC! must of been something cached or whatever....anyways, thanks!
-
View User Profile
-
Send Message
Posted Feb 6, 2014@Octyenoch
Someone asked the same thing a while back and it turned out they just had something misconfigured.
What version of Dynmap are you using, v1.9.2-alpha-2?
Is anyone else having problems with borders not showing up in the latest version of dynmap?
-
View User Profile
-
Send Message
Posted Feb 6, 2014so dynmap just released a new version, and I see world borders are no longer showing up on the map. I am assuming this is due to how world border ties into dynmap? update coming?
-
View User Profile
-
Send Message
Posted Feb 3, 2014@inermotion
Don't add "x" or "z" to the start of the numeric values, just put the raw numeric values.
@GodsDead
WorldBorder doesn't delete borders except by command.
-
View User Profile
-
Send Message
Posted Feb 3, 2014So on the whim WorldBorder just decideds to delete the border I have set for my world, Is this a bug?
-
View User Profile
-
Send Message
Posted Feb 3, 2014Can someone please give me an example how to use the commands? I understand I need to set the border in x1 z2 x1 z2 format so I try this /wb setcorners x500 z500 x-500 z-500 & all I get is the error "The x1 z2 x z2 must be numerical. All I want to do is set a border for 2000 all around, The last time I did this was years ago & it has changed so I don't understand this. Thx for any help