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 Jan 23, 2014@Brettflan
That's amazing man, just what I needed. ETA on this next release? have any Dev builds I can test out?
-
View User Profile
-
Send Message
Posted Jan 23, 2014@Mortalsinn
All border related commands can be run from the console. As for setting it to the spawn point, the set command will have that option in the next release.
-
View User Profile
-
Send Message
Posted Jan 23, 2014Question - I'm setting up an automated "create your own world" perk on my site and I have everything working except the border
Is there some way to add the ability in to create a border based off the default spawn point in the world via a console command? that'd be super super handy. This way I could auto setup borders on all the worlds my server creates with out having to do it manually
-
View User Profile
-
Send Message
Posted Jan 21, 2014@Brettflan which frequency would you suggest? is it something that has to be reported?
edit: never mind, worked with lower frequency and spigot #1257.
-
View User Profile
-
Send Message
Posted Jan 21, 2014@squeezer2k
As slow as it was running it would probably work faster for you at a lower frequency, but the error itself appears to be a world generation bug in Spigot/CraftBukkit based on the stacktrace.
-
View User Profile
-
Send Message
Posted Jan 20, 2014hi brettflan,
i tried to use the fill command but after a while i got this: http://pastebin.com/CG9Mrpvz that happens everytime. seems like it is running out of mem? i'm using spigot #1253. the frequency was 1000.
kind regards
-
View User Profile
-
Send Message
Posted Jan 19, 2014@TonyVS
There isn't a way to have a border automatically added, sorry. In the next release however you will be able to add a border using the set command which centers on the spawn location for the specified world. It's not automatic, but it should simplify things. Even in the current version, if you know the coordinates where you want to set a border, you don't need to be standing there to use the set or setcorners command.
Also, commands for WorldBorder can of course be run through console or by other plugins.
-
View User Profile
-
Send Message
Posted Jan 19, 2014Hello, just want to say you have an awesome plugin here. I do have one question. How to I automatically apply borders to dimensions that do not exist yet, mystcraft ages, dimensional door ages, glacticraft planets, twilight forest, promised land (granted those are forge mods) but I can if standing there create the world border no problem. Is there a way to apply a border on a dimension creation? Thank you
-
View User Profile
-
Send Message
Posted Jan 18, 2014@FingersMeller
Yes.
-
View User Profile
-
Send Message
Posted Jan 17, 2014Is this compatible with CraftBukkit Beta Build (1.7.2-R0.2)?
-
View User Profile
-
Send Message
Posted Jan 17, 2014@Maximvdw
It deletes the region file for any entire regions that are trimmed. If there are chunks in the region which aren't to be trimmed, the region file of course can't be deleted.
-
View User Profile
-
Send Message
Posted Jan 17, 2014@Brettflan
Got a question. Does the trim command actually deletes the region files? I had a 8k x 8k map and I trimmed it to 2k x 2k but the file size is the same (4GB)
Best Regards, Maximvdw
-
View User Profile
-
Send Message
Posted Jan 17, 2014@KJ_Shipp
As far as I know, yes.
-
View User Profile
-
Send Message
Posted Jan 16, 2014Hi, I'm curious as to if this plugin will accept terrain generators used in conjunction with Multiverse with the fill command. i.e. CityWorld generator for a single MV created world.
-
View User Profile
-
Send Message
Posted Jan 15, 2014@setzer1411
WorldBorder only intercepts portal movement or teleportation where the target is outside of the border for the target world.
-
View User Profile
-
Send Message
Posted Jan 15, 2014Hey there, I am hoping that someone might be able to help me. I am setting up a Horizons 1.0.9 server. Worldborder is currently preventing anyone from using the portals made by the mod "Enhanced Portals" When they step through they are bounced back to the origin portal and there is a message in console stating the player moved to quickly. This only happens with world boarder installed.
http://www.minecraftforum.net/topic/2143651-164-enhancedportals-3/
Anyone know of a solution?
-
View User Profile
-
Send Message
Posted Jan 15, 2014@Drzell
If the world generator is registered through Bukkit and you have it enabled (IIRC the generator normally needs to be specified in your Bukkit config file), then it should definitely work.
-
View User Profile
-
Send Message
Posted Jan 15, 2014Does the Fill command supports World Generators? Like PlotMe or CleanroomGenerator?
I have tested with PlotMe and doesn't work Any solution?
-
View User Profile
-
Send Message
Posted Jan 15, 2014@ChengZi368
It should, based on how the plugin is written, but I haven't actually tested it so I can't guarantee it.
-
View User Profile
-
Send Message
Posted Jan 15, 2014@Brettflan
Does 1.7.7 support bukkit1.6.2?