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:
@kikicro262626
Spigot bug which they should have fixed long ago, and which effects all plugins that rely on player location information being correct. The author of the Paper fork submitted a pull request with a fix for the bug about 3 months ago, but for whatever reason the Spigot devs have ignored the bug and pull request.
Bug report with Spigot:
https://hub.spigotmc.org/jira/browse/SPIGOT-1903
I recommend switching to the Paper fork of Spigot which has this bug fixed:
https://paper.emc.gs/
Big Problem if I limit Nether when player go to end of border he is teleport out of world and then spam me to give him back items because he lost items
@dadee971
Not specifically, no.
Hi,
Is there a way for Worldborder trim to ignore Worldguard regions?
@Gweedo358
You're welcome.
@Brettflan @Brettflan went thru the comments read over a 100 of them nobody has stated they were running any version later than 1.9 that is why I asked the question. If you would have answered me the first time I wouldn't have had to ask the second time. I am not shutting down a complete server saving a 16k map saving all the plugins to "try" a version that is not been tested again that is why I asked. Maybe you shouldn't assume everyone on here is 12. I dont like posting on bukkit anything due to this is what you get smart ass answers from people. I give people one shot to answer like an adult the ones that do get donations from me the ones that don't get nothing. I know plugins and development of said plugin is hard work and I am old enough to give back for hard work. Think about that next time you decide to be a jerk.
@iRaiyan
Check your server log, there's probably an error there from world generation caused by either a plugin that modifies the world generation process or from a bug in Spigot/CraftBukkit/NMS.
@Gweedo358
Is it that hard to try it yourself? The answer to "does it still work in the latest version" tends to be "of course" unless you see a bunch of people posting here about problems they're having in the latest version and/or me posting saying I'll release an update.
Heyo!
Currently running spigot 1.9.4, but /wb fill just 'stops at 57.3% for me. No error, no 'stopping' message. 'Pause' still works on/off, it just does 'more chunks processed ' until 57.3% then stops.
screenshot http://puu.sh/pTclt.png
just wondeirng if you had any idea what this might be, happens consistently.
2nd time asking, Will this version 1.8.5 run on 1.10. Has anyone tried. Is there an update to 1.10 in the works.
@RebornMerch
Beats me, but it's definitely not normal.
@Brettflan
What sort of plugin would I be looking out for? Why would a plugin want to kill the process? :/
@RebornMerch
Basically just what the error says. Something on your server is killing the timed task which WorldBorder uses to make sure everyone is inside your borders. You'll need to figure out what is doing that, most likely another plugin doing it deliberately for some reason.
This keeps happening -
WARN Border-checking task was not running! Something on your server apparently killed it. It will now be restarted. INFO [CONFIG] Border-checking timed task stopped. INFO [CONFIG] Border-checking timed task started.
@Pingusman
It does, but no longer through the /worldborder command, since the native game added its own functionality which uses that command. The command is /wb or /wborder, take your pick.
Hi,
It seems that the /worldborder fill doesn't exist in 1.8.5, is it true ?
Does another plugin exist to do that ?
Thanks
Amazing plugin, Been using this since forever :D
Is the nether portal issue fixed in 1.10?
@Brettflan
Thank you, it works!
@Cheshirees
This is the relevant line, you've got a rather oddly named region file in there:
[01:11:32 INFO]: [WorldBorder] [WorldData] Error! Region file found with abnormal name: 1-badrock,2-255 - air.mca
I'm guessing you or somebody else renamed a region file in there for some reason? Or maybe a plugin you've used did it? The region files are normally only named like "r.0.0.mca", with the "0"s in that being positive or negative numbers indicating the position offset of that region.
[01:11:32 INFO]: [WorldBorder] world: mir_servera padding: 128 repeats: 5000 ticks: 1 [01:11:32 INFO]: WorldBorder map generation task for world "mir_servera" started. [01:11:32 INFO]: [WorldBorder] [WorldData] Error! Region file found with abnormal name: 1-badrock,2-255 - air.mca [01:11:32 WARN]: [WorldBorder] Task #24867 for WorldBorder v1.8.5 generated an exception java.lang.NullPointerException at com.wimbli.WorldBorder.WorldFileData.getRegionData(WorldFileData.java:188) [?:?] at com.wimbli.WorldBorder.WorldFileData.doesChunkExist(WorldFileData.java:128) [?:?] at com.wimbli.WorldBorder.WorldFileData.isChunkFullyGenerated(WorldFileData.java:137) [?:?] at com.wimbli.WorldBorder.WorldFillTask.run(WorldFillTask.java:192) [?:?] at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) [spigot-1.9.2.jar:git-Spigot-e6f93f4-935f18b] at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.9.2.jar:git-Spigot-e6f93f4-935f18b] at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:729) [spigot-1.9.2.jar:git-Spigot-e6f93f4-935f18b] at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.2.jar:git-Spigot-e6f93f4-935f18b] at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.2.jar:git-Spigot-e6f93f4-935f18b] at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.2.jar:git-Spigot-e6f93f4-935f18b] at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]