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 Feb 22, 2013@KanoAlgiz
If it's like it was doing before with only boats (nothing else), then not really. That's a problem with the client or CraftBukkit server. According to the CraftBukkit server the player is moved correctly back inside the border and it treats them accordingly, while in the client they see themselves as still being outside the border. So when a plugin like this one then checks their location coordinates, the server says they're inside the border where they were supposedly teleported. Nothing I can do about that.
@capobase
The minecraft map is unlimited by default. This plugin limits it. If you want it unlimited, don't leave a border set or if you have no use for the other features (fill and trim), don't use this plugin.
-
View User Profile
-
Send Message
Posted Feb 22, 2013hi, can you make minecraft map unlimited? the 30.000.000 border is so small thanks
-
View User Profile
-
Send Message
Posted Feb 21, 2013It is possible to cross the border on pig/boat/minecart.
-
View User Profile
-
Send Message
Posted Feb 16, 2013@CrossfireLR99
Why would something that limits the size of a world work well with a plugin that infinitely expands a world? If you can't expand past the border, you cant create more plots.
-
View User Profile
-
Send Message
Posted Feb 14, 2013Is there anyone who can maybe join my server and help me figure out how to use it? I've tried multiple times, but I can't seem to get it.
If you can help me out, just PM me and I will give you the IP to my server. :)
-
View User Profile
-
Send Message
Posted Feb 14, 2013@CrossfireLR99
This is the first I've even heard of PlotMe, so there's definitely no explicit support for it in WorldBorder.
Another dev who is familiar with it is welcome to submit a pull request to add integration with it.
-
View User Profile
-
Send Message
Posted Feb 14, 2013Is it correct that WorldBorder doesn't support PlotMe? Because my players can't do /plotme auto, than they always own a plot at the border of the world so they can't build on that plot.
-
View User Profile
-
Send Message
Posted Feb 14, 2013@IMathe172I
Great, thanks. That will definitely make it easier.
-
View User Profile
-
Send Message
Posted Feb 14, 2013@Brettflan
Thanks for the info! I added a pull request in case it makes it easier for you.
-
View User Profile
-
Send Message
Posted Feb 13, 2013@Brettflan
ok thank you. Maybe a conflict of some sort, only occurs the first couple of times users place, afterwards it seems ok. Thanks again for the quick response :)
-
View User Profile
-
Send Message
Posted Feb 13, 2013@CoasterCrazy
It's not WorldBorder. This plugin doesn't do anything related to blocks whatsoever.
-
View User Profile
-
Send Message
Posted Feb 13, 2013Hi!, I'm a first time user of worldborder. I noticed a bug in it after enabling it and setting a border is one of the worlds. Sometimes, when I place a block, that specific block disappears, along with the one under it. I have to place it 2-3 times before it stays there. Also, other regular players are reporting the same thing after enabling this plugin. Is this a known bug or something unique to my server?
Thank you.
-
View User Profile
-
Send Message
Posted Feb 13, 2013@IMathe172I
All right, I'll check over it when I have enough free time. For future reference, on GitHub you would Fork my project, commit your changes to it (as it's your fork), then submit a Pull Request to the main project. The main project author(s) (me in this case) can then review the changes on GitHub and accept the pull request, automatically merging the changes in. You'll also be shown as the author of the changes that way.
-
View User Profile
-
Send Message
Posted Feb 12, 2013@Brettflan
It seems I only have readonly access...or I'm just too stupid to use github :-)
For now, I uploaded it to dropbox: https://www.dropbox.com/sh/cbf1j2aastdmmmy/OoreefdDzT
There's a readme file where I added everything I changed.
-
View User Profile
-
Send Message
Posted Feb 11, 2013@IMathe172I
I'm not sure offhand on the reasoning for the reportTarget. I'd considered eventually coming up with a more precise progress report than the estimate it currently gives, but... I've just had too little free time, and too many things vying for what little free time I do have.
As long as it's decently written, doesn't cause problems with existing features, and is at least moderately tested, I'd be glad to add your support for rectangular/ellipsoid border shapes to the main plugin. You can submit it as a pull request on GitHub and I'll then review it soonish as I have time.
-
View User Profile
-
Send Message
Posted Feb 11, 2013Hello,
first, you've made a great job with this plugin! The only thing I missed was the ability to create rectangular borders...So I modified your code a little bit to support elliptic and rectangular borders. As far as I know, there are no problems, I have only one question:
In line 97 of WorldFillTask.java you have the following code:
I see that you calculate the size of the square around the border to calculate the progress, but why do you add "chunkWidth + 1"?
P.S.:It would be great if you could add support for rectangular borders in the original plugin. (I would be happy to give you my code :-) )
-
View User Profile
-
Send Message
Posted Feb 10, 2013@Hurainzone
As covered in the notes for the Trim command, restart your MC server and only then do a fullrender in DynMap. You might also clear your browser cache to be sure.
-
View User Profile
-
Send Message
Posted Feb 10, 2013@Brettflan
And the second question ? ;P
http://5.9.78.116:8123/#
Well i made the border smaller , but if u look where the old border has been, sometimes there are small pieces... ( on the Flat one )
-
View User Profile
-
Send Message
Posted Feb 10, 2013@Hurainzone
Not currently, no.
-
View User Profile
-
Send Message
Posted Feb 10, 2013Hi, is there an way to change the " Markername " of the WorldBorder at the Dynmap.
( I dont mean the msg if u click on the Border, i mean the name in the list where every Dynmap marker is , like Players , Spawn ... )
Another question too: Sometimes there are small pieces out the border which have been rendered for some reason too. What can i do ? Deleting the Map , wb fill , wb trim , and a new fullrender ?
Thx