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 14, 2015Normally chunks only tick when they're within the render distance of a player. I don't know of a way to force trigger a chunk tick. I also don't know of a way to otherwise force the lighting to update within a chunk via code.
-
View User Profile
-
Send Message
Posted Dec 14, 2015I set random light updates to true in spigot.yml which calculated lighting on the first tick of the chunk... In the past, I had black shadows after filling maps. Is it possible to 'TICK' a chunk (thus triggering the light update) while map filling ? Leaving random light updates on after the map is rendered causes a performance hit. The optimal result would be a fully filled map with all the lighting correct and not having to use random light updated in spigot. Any suggestions for the black/shaded areas after filling the map ? Thanks. I have used this forever, regardless of lighting issues.
-
View User Profile
-
Send Message
Posted Nov 9, 2015@Curtis4321
Dad, How would I ever find you here =D I'm DfieldJr
-
View User Profile
-
Send Message
Posted Oct 30, 2015Hello,
Can you add a feature so I can make a worldborder out of a actual 1.8 border? If you have seen a legit singleplayer border for it to look just like that!
Here a video so you can see it in action: https://www.youtube.com/watch?v=hPp-EFa5jrI
So looking just like that ^
-
View User Profile
-
Send Message
Posted Oct 27, 2015@Curtis4321
This plugin does not provide any damage protection. My guess is that you're using a plugin which prevents damage to players who just teleported or something similar.
-
View User Profile
-
Send Message
Posted Oct 27, 2015Hey,
Currently using the version of WB: 1.8.3
I am wondering if there is away to prevent my players abusing a bug with it, they can constantly run into a border and it'll infinitely push them back and they can take 0 damage. From players, TNT, mobs etc.
Do you have any suggestions?
-
View User Profile
-
Send Message
Posted Oct 22, 2015@Bruchpilot13
There's no way to automate that within the plugin, sorry. You could use another plugin or tool to send a command to shrink or increase the border radius at certain intervals, though. Example command to shrink a border radius by 15 blocks for a world named "mainWorld":
wb mainWorld radius -15
-
View User Profile
-
Send Message
Posted Oct 22, 2015Hey there,
is it possible to configure the worldborder that everyday the radius gets less by 15 blocks?
-
View User Profile
-
Send Message
Posted Oct 11, 2015@ShankTankOP
/wborder is actually the main command, so it should work for you. /wb is the shorter and more commonly used command alias.
I used to have /worldborder as another command alias, but Minecraft got its own vanilla border in 1.8 which uses the command /worldborder, so I removed that alias from this plugin.
-
View User Profile
-
Send Message
Posted Oct 11, 2015Could you possibly change the command to something rather than "/wb" because "/wb" is for the Workbench for essentials. I know you can make a alias but I have no idea how to do that and most people do not as well. I tried "/worldborder" but it just repeats the same message which says "/worldborder <set:center:damage:warning:get> ...".
-
View User Profile
-
Send Message
Posted Oct 9, 2015@Inmeperial
This plugin will never teleport anyone inside a block, unless your world's spawn location is somehow inside a block (you'd need to mess that up yourself) and circumstances come together to make WorldBorder use that location since it can't find a viable safe knockback location itself. Considering you are the only person to EVER report such a problem, it is much much more likely that something else is causing your problem. Especially considering your problem persists after removing this plugin, at which point the plugin can obviously not do anything on your server.
Look elsewhere, and consider trying to properly pinpoint the cause of a problem before laying blame where it doesn't belong and badmouthing a plugin which doesn't deserve it.
-
View User Profile
-
Send Message
Posted Oct 9, 2015I dont really like this plugin. I have alot of troubles (i have 7 world in 1 server) and they all have the same error "X suffocate in a wall". And now i even put "wb clear all" and all the things. Even delete the plugin .jar and i still have the problem. And the bypass dont work btw.
Such a bad plugin.
-
View User Profile
-
Send Message
Posted Oct 4, 2015@Deweyoxberg
Most tools and plugins should be able to only make changes to specific parts of a world (chunks or regions) rather than just the whole world, if that's what you're asking, yes. I can't speak for MC Merge specifically though.
As always, before potentially making any drastic changes to a world, it's a good idea to make a backup just in case.
-
View User Profile
-
Send Message
Posted Oct 4, 2015Thanks Brettflan.
We do have Biome's O Plenty installed and have been "living" on the world for some time. The harsh clashes in some places as seen in the screenshot are in areas where there has been some exploration already.
I have surfed about the web and stumbled across MC Merge which allegedly tackles such clashes to a reasonable degree. Understanding that you may or may not have heard of it, any idea if such tools can re-work those conflict areas without affecting player built structures already in the world? I doubt there would be impact as the areas where there are player items are already fully loaded prior to the fill attempt. I may be able to get lucky and continue with the fill and use something like MC Merge or equivalent to deal with the jaggedness, yeah?
Other than that, loving the plugin and will be making extensive use of its features in the very near future; definitely want to leverage trim and the dynmap functions.
Very well done and solid development; bravo!
-
View User Profile
-
Send Message
Posted Oct 4, 2015@MinePuppeh
No idea. I haven't done any performance testing against the newish vanilla implementation, which would be a bit difficult to do anyway.
@Deweyoxberg
This plugin uses Bukkit's chunk loading method to trigger generation of chunks. If you're seeing problems in the generated chunks not lining up, it would be down to a few possibilities. Old worlds brought from older Minecraft versions to newer ones where world generation methods have changed (new biomes or such mostly) can be affected like that. I've also heard of a world being partly corrupted and the world seed changing somehow which has a similar result. Finally, and this is most likely in your case, if you are using any mods or plugins which affect world generation, any changes to them can cause various problems.
There may be other things which can cause such a problem, but again, whatever the cause, this plugin isn't responsible. The problem would be further down the pipeline.
-
View User Profile
-
Send Message
Posted Oct 3, 2015Support question please:
Used the fill command to generate chunks out to the border (20K radius from spawn), and noticing a lot of generation where the world seed does not seem to be respected:
https://imgur.com/lxgXjup
Is this intended behavior? If it is, is there a way to roll back the generation without affecting the progress players have made today?
If this is not intended behavior, what is the correct way to ensure the generation uses the existing seed?
Love the plugin, hope this can be resolved.
-
View User Profile
-
Send Message
Posted Oct 3, 2015Is there a difference in performance versus vanilla world borders?
-
View User Profile
-
Send Message
Posted Sep 19, 2015@Brettflan
But a graphical representation, other than DynaMap, would be great! Thanks for your time.
-
View User Profile
-
Send Message
Posted Sep 13, 2015@MCTylerPVP
The native world border which was added in Minecraft 1.8 is very limited in what can be done with it in regards to a plugin. It is square shaped only (no rectangle/circle/ellipse), so it sadly can't really be adapted to be of use to this plugin.
-
View User Profile
-
Send Message
Posted Sep 13, 2015Why not add the Squiggly lines as like Vanilla? Is this copy-righted or something?