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:
Anyone tried this version on a 1.10 spigot server? Was wondering if this version may work.
Please add another permission... I want give permission to group/player that can bypass world border. Or another command+permission /wb bypass [on/off] (which it means that you can turn myself bypass off/on, but cannot set other players wb bypass on/off) I can't give "worldborder.bypass" permission to this group, because they could set wb bypass to other players.
Ive noticed a bug with a spigot vanilla server with worldborder and worldedit(everything latest version), if i set a border there is always no snow, no trees etc on the chunk where the border is, after increasing the border the fail in chunkgeneration is still there und i cant repair it with regen from worldedit :/ also there is a new fail at the new position of the border... it happens everytime with vanilla setting, a new world etc. there was a bug similar to this in spigot since 1.9.4 but it got fixed is this maybe a fault by the plugin or still a bug in spigot?
EDIT: ive noticed that it happens after trimming the world , then there is the half of a chunk empty where the end of the trimmed world would be.
@Schneidertm
Thanks for the feedback, glad to know it is indeed working.
@Brettflan
I'm running worldborder 1.8.4 and dynmap 2.3 without these issue.
@Brettflan
It doesn't show the border for me too
@Sikatsuu
Can anyone else confirm the border not showing up on Dynmap 2.3?
Worldborder doesn't show the border anymore on dynmap 2.3.
Can you please fix that? :/
Any scheduled 1.10 update? :) I hope there will be one !
How can i set it to be visible? like the world border to be visible
@JD_Mortal
Except that that would possible break the EULA correct me if im wrong
any possibility of getting a visual indicator added? like fake red glass blocks that show up when you get close to it?
Has the nether border glitch been fixed?
@Chevels
That does indicate that nothing has been trimmed. Therefore, there was nothing outside of the border (with the specified amount of padding) that needed to be trimmed.
People have indeed had the same concern as you with thinking the Trim command didn't work. It has been user misunderstanding or error every single time.
@Brettflan
Thank you for the answer, but it does not work anyway. I tried several times, I reboot the server but nothing works. Anyway, this line indicates that worldborder did nothing right?
[WorldBorder] [Trim] 0 entire region(s) and 0 individual chunk(s) trimmed so far (100.0% done)
When I enter the command "/ wb trim confirm" WB responds instantly with this message. It seems to me that it should not be written "0 individual chunk" or "0 individual region". In addition it should take a little time, but I may be wrong.
This concern has never happened at earlier? what could cause this?
Regards,
@Chevels
If it says the Trim task successfully completed, then it successfully completed. After trimming, you always need to restart your server for the chunks to be recognized as no longer there by the server and any plugins, and mapping software often needs to be refreshed and potentially the cache cleared to likewise recognize the chunks as gone.
Having a problem with /wb fill producting cut-off end structures (ships, cities, ect). Anyone else receiving the same?
Hi, In first, thank you for this great plugin :) Is very usefull for years on my server! But, yes "but", I've a little problem:
when I use the / trim command, worldborder display this message: [02:26:10 INFO]: Chevels issued server command: /wb Heavy_nether trim [02:27:07 INFO]: Chevels issued server command: /wb trim confirm [02:27:07 INFO]: [WorldBorder] Trimming world beyond border at the command of player "Chevels". [02:27:07 INFO]: [WorldBorder] [Trim] 0 entire region(s) and 0 individual chunk(s) trimmed so far (100.0% done) [02:27:07 INFO]: [WorldBorder] [Trim] task successfully completed!
...and nothing happen. The map is not trimmed. Where I'm wrong please? Any suggestion to fix this?
Server version: Spigot 1.9.2 Worldborder version: 1.8.5
Cordialy,
@MasterTom013
So far I have no issues with both running, and a fair bit of testing.
@GioboiMC
Spigot still doesn't have it fixed. The Paper fork of Spigot has it fixed at the very least in regards to Nether portals, but related problems have been reported with End portals in even the Paper fork which cause various problems even on a vanilla server with no plugins. I don't know for sure whether other methods of teleportation between worlds are fixed in Paper, but I think they are. All of this as per:
https://hub.spigotmc.org/jira/browse/SPIGOT-1903
@MasterTom013
Yes, as with pretty much any plugin which modifies world generation.