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 Dec 17, 2012What is the recommended world radius size with these hardware specs: AMD Opteron 4238 - 12 cores CPU Speed - 3.3Ghz TurboCore Speed - 3.7Ghz Cache - 2x8MB DDR3 RAM - 8 GB Hard Drive - 500 GB SATA II
And an average of 150 players at one time
-
View User Profile
-
Send Message
Posted Dec 15, 2012@LaserCucumber:
I personally use multiverse to make the nether a different scale, that way the portals always land on a 1:1 ratio on the main world.
-
View User Profile
-
Send Message
Posted Dec 8, 2012Can you please help me defining the radius of my worlds? I've created an help topic on the forum. Link : http://forums.bukkit.org/threads/map-radius-to-disk-space.114053/
Thanks in advance.
-
View User Profile
-
Send Message
Posted Dec 6, 2012@VanillaNinjaz
This plugin doesn't offer block protection, sorry.
-
View User Profile
-
Send Message
Posted Dec 6, 2012How do I allow it so that inside the border you cannot manipulate any blocks?
-
View User Profile
-
Send Message
Posted Dec 5, 2012@Pythros
Mainly because having to check against multiple borders would impact performance. Besides that, my free time is extremely limited.
@Fubarthegreat
It's been requested before. Making it work smoothly would be a concern and have it not be completely jarring to players teleported to a completely different part of the world (likely with a different biome). That, and my free time is extremely limited.
@LaserCucumber
The only real issue is the generation of chunks outside the border; the player is moved inside the border. So... potentially I could prevent the creation of the portal to keep the chunks from generating (probably workable, though I'm not certain) and notify the player that it would have lead outside the border. However, how best for the player to figure out where they can create a portal that will lead to a location which is inside the border in the other world? Force them to use trial and error? I'm open to suggestions.
-
View User Profile
-
Send Message
Posted Dec 4, 2012I have an issue that I bet many other people are having.
People on my server keep making portals in the Nether that land out of the border in the Overworld. I don't want to set a border in the Nether, because that would make the Nether way too small.
So it would be great if the plugin prevented using portals that would land outside of the border of the Overworld.
-
View User Profile
-
Send Message
Posted Dec 3, 2012I don't know if this has been requested before, but I think it would be a cool idea. It would be awesome if a player was teleported to its exact opposite coordinate on the other side of the world upon entering the border restriction. In short, I guess you would call this world looping. Thus, it would resemble an actual planet, like earth.
-
View User Profile
-
Send Message
Posted Dec 2, 2012I think this may have come up a handful of times, is it possible to have multiple borders in a world? Just thought of it might be useful with the new permission node you added. ...bypass.border1 or bypass.border2.
Was it a technical limitation that multiple borders can't be done?
-
View User Profile
-
Send Message
Posted Dec 1, 2012@fjutte
I can only assume you're doing something wrong, then. Even if you have no permission plugin, Ops are granted all permissions within the plugin. Just tested it to be sure with no plugins other than WorldBorder running, worked as expected with Op able to use all commands and non-Op unable to use any of them.
@mattmess1221
I've considered adding a pseudo-physical border similar to what you're asking for, but I don't really have time for it and nobody has shown interest in sponsoring it.
@st0m
Support for rectangular/ellipsoid borders is not planned, sorry.
-
View User Profile
-
Send Message
Posted Dec 1, 2012wb doesn't read the ops.txt??
must use permissions plugin? :/
-
View User Profile
-
Send Message
Posted Dec 1, 2012Still needs to ability to fill the area beyond the border with air (or other blocks). Physical borders anyone?
-
View User Profile
-
Send Message
Posted Nov 30, 2012@st0m
/wb shape square
is the command you're looking for.
-
View User Profile
-
Send Message
Posted Nov 30, 2012Any chance of this being updated to allow rectangular borders? I'm using a 10,000x24,0000 map of the world and want to stop people going over the poles whilst still allowing them into east Asia and Alaska!
-
View User Profile
-
Send Message
Posted Nov 29, 2012@PaTr0N
If you can indeed find a way to reliably reproduce it, that would be quite useful.
@MickeeYman1
Teleports outside the border are stopped as well, yes.
-
View User Profile
-
Send Message
Posted Nov 29, 2012does it stop people from doing /jump to bypass the border?
-
View User Profile
-
Send Message
Posted Nov 29, 2012@Brettflan
These are the entries the operation left in my logs
2012-11-29 09:11:17 [INFO] PaTr0N issued server command: /wb trim 2012-11-29 09:11:30 [INFO] PaTr0N issued server command: /wb trim confirm 2012-11-29 09:11:30 [INFO] [WorldBorder] Trimming world beyond border at the command of player "PaTr0N". 2012-11-29 09:14:00 [INFO] Stopping server
So after two and a half minutes of the server not responding i had to shut it down which was also very slow i remember having to kill mcmyadmin once.
This incident repeated itself after one restart with me being the only player online. Once i have the time i will try to reproduce this on a test server with the same set of plugins and report back. (With Multiverse and Dynmap being some of my Key suspects)
-
View User Profile
-
Send Message
Posted Nov 29, 2012@FuRiouSOne
Yeah, I've tested it now and had it report my player entity location to the server console as I moved beyond the border in a boat. As far as the server is seeing the player location is correctly inside the border even while on the client side you're seeing yourself continuing on without being stopped.
I then retested with WB 1.5.4 and got the same result, so it's not due to a change in WorldBorder, it's further up the pipeline. The problem doesn't show up with minecarts or pigs, just boats, and didn't occur in older Minecraft versions.
So: yeah, client-side problem. Possibly something the Bukkit team can or should address, so feel free to poke them about it. You won't catch me doing so as I have better things to do with my time than deal with jackasses like TnT over on the Bukkit bugtracker or forum, though.
@PaTr0N
That shouldn't happen without any error being reported, but a few others have run into the same thing in the past. Try restarting the server and try running the command with no players on the server.
-
View User Profile
-
Send Message
Posted Nov 29, 2012Hello,
I just attempted to trim my world, but after confirming the trim job, the server stopped responding.
Latest beta + latest WB
-
View User Profile
-
Send Message
Posted Nov 28, 2012@Brettflan
Just had another player ride his boat outside the border while i watched. His boat and body does not go beyond the board on MY screen but he was telling me he was able to go beyond the border on his end so im guessing its a client issue?