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 Aug 24, 2013This is a really great plugin very useful and easy to use but I don't fully understand how to use the command /wb [world] fill [freq] [pad]. Any help?
-
View User Profile
-
Send Message
Posted Aug 16, 2013@Brettflan
In a PvP plugin I think called war you set a border around your arena and you can't see it, but when players try to cross it a glass wall shows up only where they try to pass it which doesn't allow the player to cross the border. I think this is something that you could look into to help. Then you can allow a choice in a block.
-
View User Profile
-
Send Message
Posted Aug 16, 2013So any chance that github change will be merged?
-
View User Profile
-
Send Message
Posted Aug 16, 2013I wish there was a way to just tell the program to set the maps edge at the current generated edge.
-
View User Profile
-
Send Message
Posted Aug 12, 2013@Brettflan alright thanks for the answer, i will test it and see if it works alright.
-
View User Profile
-
Send Message
Posted Aug 11, 2013@n33dy1
An actual physical border isn't planned. I do still plan to look into a pseudo-physical border which wouldn't be stored in the actual world files but would be sent to players as such.
-
View User Profile
-
Send Message
Posted Aug 11, 2013Can you add the option to slowly generate a bedrock wall around square-shaped borders, with a configurable height?
-
View User Profile
-
Send Message
Posted Aug 10, 2013@emfjop
You choose the limits and the center location. Please read the documentation and/or watch the video above.
-
View User Profile
-
Send Message
Posted Aug 10, 2013One question: If i have set a spawn with essentialsspawn, but maybe it is on the x=10000 and y=10000. where will the border be set? maybe it will be set and collapses with the spawn? I mean, from where are the limits set?
Thanks
-
View User Profile
-
Send Message
Posted Aug 6, 2013@Arton123
I think the latest version should still be backwards compatible with 1.5.2, but I haven't tested it so I can't promise it. Otherwise I'd have added it to the supported version list on the file listing; it's possible to display compatibility with up to 3 CraftBukkit versions on a single file listing.
-
View User Profile
-
Send Message
Posted Aug 6, 2013Does this still work for 1.5.2?
-
View User Profile
-
Send Message
Posted Aug 6, 2013@GreenGrizzlyBear
The target location for the teleport is redirected inside the border.
-
View User Profile
-
Send Message
Posted Aug 6, 2013What happens is someone does /tppos [coordinates outside of the border] ?
-
View User Profile
-
Send Message
Posted Aug 4, 2013Hello We want to add world border to our current map/server. Our issue is we have no idea how far people have gone away from spawn. If we set up a boarder what happens to those players claims outside of the boarder.
If it helps we downloaded our map off the host to see how much ram we were using. We are at 960 mb. We understand that other things effect this number.
We just really have no idea how far to set our boarder.
Any suggestions, Thanks BooyahMC
-
View User Profile
-
Send Message
Posted Aug 2, 2013@ViscousSummer88
Bukkit /Minecraft normally generates chunks of the world as a player gets near them. The Fill process goes through and generates everything inside your border along with a buffer zone just outside your border. The trim process removes any generated chunks that are outside your border's buffer zone.
Dynmap of course displays only the chunks that have been generated in the world.
-
View User Profile
-
Send Message
Posted Aug 2, 2013Im confused about this fill and trim. The fill and trim show on dynmap? The fill feature, is like dynmap render?
-
View User Profile
-
Send Message
Posted Jul 30, 2013Wow I am stupid. I never used the trim command. Thanks!
-
View User Profile
-
Send Message
Posted Jul 29, 2013Quick video of WorldBorder
Click here to view
-
View User Profile
-
Send Message
Posted Jul 28, 2013@mrpickles71
You should keep your plugins updated when you update CraftBukkit.
@ChimpSwag
It all depends on how many people you have, how much space you want per person, and just what sort of world you want to have. People fighting for land, or vast expanses to get lost in. 30,000 does sound like pretty big border radius though. If you've generated that much of the world and want to make it smaller, and don't mind potentially trimming off areas which players might have built in, you can of course use the Trim command.
-
View User Profile
-
Send Message
Posted Jul 28, 2013There is a dupe bug that allows players to retrieve unlimited wood when they ride a boat into the border.