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:
Is worldguard compatible with 1.1?
When using the /fill command the memory usage will constantly increase until it reaches its limit. Is this normal? Because it looks like a memory leak.
And my ticket got deleted for some reason.
When I start generation on the default (20) it will reach 100% at about 45% and then not do ANYTHING for the rest of the day because its waiting for memory that is never returned.
Anyone else getting weird results when added a WorldBorder to The End? Currently, ender portals warp me into mid air, then tell me I've hit the border, then warp me to spawn. The border is well beyond where the ender portal should lead me.
How would someone disable Dynmap to use WorldBorder's commands?
@Brettflan
I'm an absolute retard. I was running worldborder and borderguard at the same time. Sorry to waste your time.
Is WorldBorder running with CraftBukkit 1.0.1-R1?
@mcapplbee
1. Do you actually get a message from WorldBorder saying "you have reached the edge of this world"? 2. 5000,128,1 would be 128 for the Y (vertical) value. The highest altitude in normal Minecraft worlds is 127. Is your world specially modded to be taller than that?
removed, because I'm retarded.
My position hasn't changed, I just don't have the time or desire to implement support for rectangular/cuboid borders. If someone else has more time, the desire to implement it, and the ability to do so, the source is on GitHub and I'd happily accept such collaboration.
Great plugin! Have been using you for 4-5 months now.
It seems like rectangular border support is a key feature for alot of people. You "own" the border limitations plugin scene as it stands (tried all your competitors looking for this feature), so please don't let this issue be discarded. Yes, i did track down your post in the 'discussion' page, and was discouraged to hear that it isn't being implemented due to a lack of time/interest.
The plugins you write are of excellent quality, and well supported. I don't like the idea of having to switch to a plugin whose developer does not have your attention to detail, but without rectangular border support it may happen.
@slimpyman
That's a new one. Are you manually editing the file or something? Also, are there any errors output to the server console/log at server startup?
It seems this plugin keeps changing my preferences in the config.yml back to the default everytime i reset the server.
is there something that is causing this to regenrate the default config file wiping my settings?
@Nuinethir
It's due to some changes in the core server between the 1.9 beta and 1.0 full releases of Minecraft. As a result, you shouldn't really increase the frequency for the fill command beyond the default now as it seems to choke the server.
@Mario00037
Answered in the discussion topic.
This plugin works great. I have a 9200 meter radius world, haven't had a new chunk generate in months. Thank you!
Can I set a world border from one <x><z> and another <x><z> like a cuboid.
@Brettflan
I tried the wb fill 500 command when no one was on the server, from console. (The server is on a testing rig, so I can assure you no one logged on.) I have 2.5 GB dedicated to the server, but it starts high and slowly trickles down to a 24,1,24,1 chunk processed pattern. I left it on overnight, and when I came back to it just now, the server was frozen, only having completed "14931 total, 9.1%". The border is set to an area of 6000 x 6000 (3000 radius), square. Any reason why it is taking so long to generate chunks?
@Kaosvf
Correct, all regions that are completely outside your border will have the region file deleted. If the deletion fails for whatever reason, it is logged to the server console/log with the filename provided.
Hi, the trim command will delete all region.mcr files that are over the limits? Regards.
@kilorat2
Yeah I have the same problem.
@BlaZE_CrystaL
The error will have told you the filename of the region file it couldn't delete. You can try restarting the server and running the trim process again to see if that unlocks the file, or you can try manually deleting the indicated file yourself.