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 Sep 21, 2013I keep getting an error when trying to set a border.
/wb set worldname 500 0 0
gives this error: The radius value(s) must be integers and the x and z values must be numerical.
This happens with any world and any radius. It started with 1.6.4
Thanks
edit: a similar problem happens with the command /wb worldname trim The frequency and padding values must be integers.
-
View User Profile
-
Send Message
Posted Sep 21, 2013I might have missed this question; Is it possible to disable the TP knock back? EX.When someone passes the world border, and it teleports them into it..
-
View User Profile
-
Send Message
Posted Sep 18, 2013@Brettflan
Thanks for the quick reply. Was really helpful. +1 for you, sir.
-
View User Profile
-
Send Message
Posted Sep 18, 2013@Traek
Sure, I'd consider it, but it would constitute a huge amount of work to implement. It would take a rework of the command system to allow some way of dealing with multiple borders per world instead of being able to assume there's simply one per world. Naturally the border checking system would need to be overhauled. Further, it would of course require reworking the Trim and Fill commands. And that's just the things I can come up with off the top of my head, there are undoubtedly plenty more that will crop up along the way.
So, honestly, it would probably take more time and effort than you'd be willing to sponsor.
-
View User Profile
-
Send Message
Posted Sep 18, 2013@Brettflan
I know you're not planning on multiple border support but is it a feature you would consider letting our server sponsor? This could be a critical feature for us as we expand our maps and is something we're prepared to help fund.
-
View User Profile
-
Send Message
Posted Sep 16, 2013@mlopezv
First, a note on how Minecraft worlds are stored on disk. The main world data is stored in region files. Regions are 512x512 block sections of the world, so each region file covers that area size.
When you run a Trim in Worldborder, any regions which are entirely outside your border (plus the specified padding) are indeed deleted entirely. So: yes.
However, regions which have chunks (16x16 block sections) in them that are still being used can't really have those chunks deleted from disk. This is due to the way they're stored and accessed within the region files. The chunk pointers are wiped, though, so that the data area for those chunks is made available to be overwritten.
-
View User Profile
-
Send Message
Posted Sep 16, 2013Is there any way to delete from hard disk the remaining world outside the new borders? Example: I have and old world, unlimited, where some players reached and generated chunks at let's say X: 25000 and X: -25000. Then I install world border and set a round border with a radius of 5000 blocks for that old world. Can I then destroy all the outside borders world chunks (and delete it's files form hard disk) since they're unreachable now using this plugin?
-
View User Profile
-
Send Message
Posted Sep 10, 2013hahahaha great just what i need tis works as i want it to work not like ChunkPrequote plugin fill trim world border yip best plugin ever + works wiht mods!
test it from 1.5.2 hexxit mod pack thank you have some diamonds
-
View User Profile
-
Send Message
Posted Sep 8, 2013Hey, just stoppin by to show some love. I've used this plugin for a LONG time. The dependability is very nice. Thanks for such a solid piece of work.
-
View User Profile
-
Send Message
Posted Sep 6, 2013@Brettflan
That actually happens also for square border where it will generate 400-700 for a period of time then go back to the original rendering, but no big deal as i don't see a difference in lag.
-
View User Profile
-
Send Message
Posted Sep 6, 2013@Noumpas13
Support for multiple borders per world is not planned, sorry.
-
View User Profile
-
Send Message
Posted Sep 5, 2013can you add more than 1 world border?
for example, portal that leads 7k block away with another portal and there are 2 cities with 2 world borders.
to avoid creating more worlds, you could make more world borders
-
View User Profile
-
Send Message
Posted Sep 5, 2013@mmuziek
If you're filling a round/elliptic world, that happens when you get out toward the edges as it skips over chunks which are outside the border since it goes out in a square spiral.
-
View User Profile
-
Send Message
Posted Sep 4, 2013found that out to . mabe its nothing but i found out when i am rendering a map wich is 5KM big.
when closer to the end. it is not following the max chunks per second setting sometimes rendering over 600 chunks in 5 seconds
-
View User Profile
-
Send Message
Posted Sep 4, 2013@mmuziek
If you're getting boat duping then you're using an old version of the plugin with a newer version of CraftBukkit which isn't fully compatible. You need to update.
-
View User Profile
-
Send Message
Posted Sep 4, 2013this is the most awesome plugin evah i have used it for so long now on different servers.
it failed only once when a boat touchet the border it dupes 100 times.
but nothing else. i now use it to prerender the space world big thanks
-
View User Profile
-
Send Message
Posted Aug 30, 2013So I am having trouble with WorldBorder loading the chunks within the border and sending them to Dynmap.. Everything is configured properly.. I am using Spigot... Anyone have any Idea on how to fix this?
-
View User Profile
-
Send Message
Posted Aug 25, 2013@rakyysekCZ
You're running an outdated version of Worldborder on a newer version of CraftBukkit. Update.
-
View User Profile
-
Send Message
Posted Aug 25, 2013Hi, I have a problem when I sail on the ship and stop me beyond the world. The ship will spawn and destroy (infinity wood)
-
View User Profile
-
Send Message
Posted Aug 25, 2013@Doruslol
Read the information for it linked above.
If you still have trouble, you'll need to be more specific about what problem you're having.