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 9, 2015Just to repost:
With Bukkit now defunct, I don't plan to release any further updates for this plugin. I might be porting some functionality to a plugin for Sponge when/if it has a working build available.
I also will consider keeping this existing plugin up to date for Spigot if they manage to keep a download available without being DMCA'd again for a little while longer (which is looking more likely now).
From the code I've briefly looked at so far in Sponge and Spigot for the new MC 1.8 built-in /worldborder functionality, I'm not optimistic about being able to interface with it in a meaningful way, beyond possibly just porting over fill/trim covering its area. Their built-in border is strictly limited to a square shape.
-
View User Profile
-
Send Message
Posted Jan 9, 2015Sorry if this has already been answered but is there any chance of you adding support for the Bukkit 1.8.1 world border?
-
View User Profile
-
Send Message
Posted Jan 8, 2015@GumbyDammit
That would be a problem with Dynmap.
-
View User Profile
-
Send Message
Posted Jan 8, 2015When integrated with Dynmap, the red border hops around when you zoom in or out on the map.
-
View User Profile
-
Send Message
Posted Jan 6, 2015@Pingusman
If players were getting kicked due to a problem chunk, it should be indicating that in the logs. The fact that it's not apparently indicating any problems whatsoever in your logs when the people are being kicked is rather strange.
I'd guess that it's a problem with a plugin or mod that you're using. I can only recommend temporarily removing a bunch of them at a time to narrow down which one is causing your problems.
EDIT: just so it's clear, this plugin uses the chunk loading methods provided by Bukkit to generate new chunks. It also loads in adjacent chunks which is necessary to fully generate the chunks (details like dungeons, snow, and a lot of other stuff).
-
View User Profile
-
Send Message
Posted Jan 6, 2015Hi,
Thanks for a very good plugin
As you can see here : http://bukkit.org/threads/rollbacks-when-chunk-generating.333320/ I had a problem of rollback when chunk ware generated by players
I was advised to use your plugin to create a border, and generate chunk in all the map to remove this rollbacks
So since 2 days i was generating a map of 10000x10000 with /wb fill
Now rollbacks problem are gone, but sometimes bukkit is kicking every players without reason in the logs. I didn't have this problem before
Do you think it could come from a bad generation ? (I made it in two times beacause it was too long and laggy) I haven't change anything else so i think it comes from the plugin or from the world, but i don't know why
Thanks
-
View User Profile
-
Send Message
Posted Jan 2, 2015@kangarkooo
In any case where a safe location to teleport a player can't be found inside the border, they are normally teleported to the world's spawn location. The "player-killed-bad-spawn" option was provided by another dev; if enabled, it will kill the player in those instances instead of moving them to the world's spawn location.
Players will never be teleported into lava, though they could end up running off of a safe block into lava if they didn't notice in time after being teleported back inside the border.
I'm not certain what you mean by "stucking up" in the Nether; if you mean on top of the nether, that shouldn't be possible as long as the world's environment is properly identified by Bukkit as "NETHER".
@Retrinity
Assuming you're running version 1.8.1 of the plugin, this is relevant from the changelog:
Examples:
/wb worldName radius +16 - increase existing border radius size by 16 blocks for world "worldName".
/wb radius -100 - decrease existing border radius size by 100 blocks for the world you're currently in.
-
View User Profile
-
Send Message
Posted Jan 2, 2015Is it possible to add a command like "/wb expandborder <world name> 1000" Would expand the border with x blocks in the given world. (If you wonder why I need it send me a private msg).
-
View User Profile
-
Send Message
Posted Jan 2, 2015What does player-killed-bad-spawn means in the config?
I am having issue player teleporting to lava/stucking up in the nether when they reach the border. Can you make the teleportation back more saner please?
-
View User Profile
-
Send Message
Posted Dec 30, 2014@MikeGold
The portal target would be relocated inside the border, by default.
-
View User Profile
-
Send Message
Posted Dec 30, 2014Just wondering... If the player go to nether and walk a long way and create portal that would in normal case lead outside the range of the world border, what would happen to this player after teleporting back to the overworld?
-
View User Profile
-
Send Message
Posted Dec 30, 2014Could we have an option for setting the Dynmap Label (where you select showing / hiding WB not the border message) ?
So we can localize it :-)
-
View User Profile
-
Send Message
Posted Dec 29, 2014@Brettflan
if you do update it for spigot or sponge can you post a link here so we may find it easly.
-
View User Profile
-
Send Message
Posted Dec 23, 2014@Brettflan
Jokes aside, it works fine on spigot 1.8
-
View User Profile
-
Send Message
Posted Dec 20, 2014I hope this get updated with the new world border in minecraft 1.8.
-
View User Profile
-
Send Message
Posted Dec 15, 2014Working perfectly fine on Spigot 1.8 :) If this ever breaks and Brettflan wouldn't like to update due to being busy/etc I will have an update for it :)
-
View User Profile
-
Send Message
Posted Dec 12, 2014@live4redline
You're funny.
-
View User Profile
-
Send Message
Posted Dec 12, 2014@Brettflan
All the new Bukkit and Spigot 1.8 releases are out, running and regularly updating.
You didn't seriously think you were gonna be able to get out of it that easily did you? So get off your butt and remove all these minecraft is dead so my plugin must be dead also messages and get back to work!
)
-
View User Profile
-
Send Message
Posted Dec 11, 2014@Brettflan
NEVERMIND
You need to set the border shape FIRST to square, then it works. Thanks for your help though.
-
View User Profile
-
Send Message
Posted Dec 10, 2014Just to repost:
With Bukkit now defunct, I don't plan to release any further updates for this plugin. I might be porting some functionality to a plugin for Sponge when/if it has a working build available.
I also will consider keeping this existing plugin up to date for Spigot if they manage to keep a download available without being DMCA'd again for at least a month or two.