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 14, 2013Hey, I was just wondering as I cant find any info about this...... Does the fill command generate Tekkit ores as this would be great to use, so I could generate my world before it goes live.
Thanks.
-
View User Profile
-
Send Message
Posted Jan 13, 2013@Flatline99
Should work fine, yes. If you run into a problem, report it.
-
View User Profile
-
Send Message
Posted Jan 12, 2013Does This work good with 1.4.7 or 1.4.6?
-
View User Profile
-
Send Message
Posted Jan 11, 2013@Kartus
It finds the X/Z coordinate inside your border by the specified knockback distance towards the border center. It then finds a location on the Y axis (vertical) to deposit the player, checking for the closest safe open location. That can end up being on the surface due to it being otherwise solid or unsafe blocks on the original Y-level for that X/Z spot.
I'd planned to go back and rework it (have a couple of ways to choose from for improving it), but I since ceased almost all active development a while back. I mostly just maintain the plugin for compatibility with newer Bukkit versions.
-
View User Profile
-
Send Message
Posted Jan 11, 2013Using WorldBorder since 1+ year. Thank you!
When a player is in the mines, in example y: 20 and he reaches the border and is teleported back, he is not teleported back near y: 20, he's teleported back to the overground. My player's are getting to abuse this to fast-travel to overground. is this fixable?
-
View User Profile
-
Send Message
Posted Jan 11, 2013@VietNg
Sorry, this plugin doesn't limit vertical movement.
-
View User Profile
-
Send Message
Posted Jan 10, 2013Is it possible to have the border so that players can't fly up higher than 255
-
View User Profile
-
Send Message
Posted Jan 9, 2013Very Impressed with this plugin. Works amazingly and very well planned and executed. Thank you very much for the hard work and time you have spent on this plugin it has exceeded my expectations.
-
View User Profile
-
Send Message
Posted Jan 9, 2013@hankanman
Yes, that would be my guess as to what it is, a leftover backup copy of a file from some map editor or other program. That's not a standard filename for a region file and it should be perfectly safe to remove.
-
View User Profile
-
Send Message
Posted Jan 9, 2013Hi There,
I recieved an error with the fill command, I set the border which comes up on dynmap fine. when i ran the fill command it generated an error:
[WorldData] Error! Region file found with abnormal name: r.0.-3[Conflict].mca
This map has been changed and updated a lot and im wondering if this is left over from an editor program or something?
-
View User Profile
-
Send Message
Posted Jan 8, 2013@Simo389
If no safe spot can be found a short distance back inside the border, the player is teleported to the spawn point for the world they are on. Presumably your End world spawn point is in an unsafe location.
@Dilluexe
Support for rectangular/ellipsoid border shapes is not planned, sorry.
-
View User Profile
-
Send Message
Posted Jan 8, 2013You need to add something where we can select 2 points (via coords) and you make a rectangle or square around them. Im using a special terrain map and it's needing a rectangular border. Do you think you could incorporate this?
-
View User Profile
-
Send Message
Posted Jan 8, 2013Hi, we've been running this plugin on our server for ages; and it's worked perfectly so far!
But we've spotted a bug. When players get to the world border in the end, they bug out and start falling continuously. Can you please fix this somehow. Maybe force players to go /spawn when they reach the world border in the end. Just some way to stop them being pushed back into empty space. Maybe even push them back as normal, but put a block below them if they aren't on a block when pushed back.
-
View User Profile
-
Send Message
Posted Jan 7, 2013i would start with 1000 block radius for every 10 players
-
View User Profile
-
Send Message
Posted Jan 5, 2013@Jakeio
I did 4000 blocks for servr with 30ish players... its more than enough. For yours do the math and you will have your radius :)
Cheers!
P.S. i did id round not square1
-
View User Profile
-
Send Message
Posted Jan 5, 2013I need a recommended radius!
-
View User Profile
-
Send Message
Posted Jan 4, 2013@Brettflan
Oh, I guess it must be my disk then. It's probably the slowest part of my setup. Gotta set up a ramdisk later. Thanks for the reply tho! :)
-
View User Profile
-
Send Message
Posted Jan 4, 2013@CreepCraft
The issue is that the actual new chunk generation is handled synchronously by the core Minecraft server, which works strictly in a single core, one chunk at a time, with I/O in the mix as each newly generated chunk then needs to be saved to disk.
-
View User Profile
-
Send Message
Posted Jan 4, 2013@Brettflan
Hmm alright. Even tho I still have around 6Gb more ram allocated thats not being used. CPU load seems to sit at 15% on one core aswell. But I'm 52% through and I guess I only have to do this once, so I'll leave it be :P
Thanks for the fast reply btw :)
-
View User Profile
-
Send Message
Posted Jan 4, 2013@CreepCraft
That would indicate it has capped out at the highest rate your system can handle.