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 Aug 6, 2012i dont know if world border is causing this, but as i do a world fill and the server gets near max ram i try to do a restart or stop and it fails to start either process and the fill continues to go.
running dev build of bukkit for a mc 1.3.1 server
-
View User Profile
-
Send Message
Posted Aug 6, 2012@lazy_architect
You can use the Amidst tool from the MC forum (Google it) if you want to preview a map's biomes. It's wonderful for scouting out a seed if you're looking for something specific.
-
View User Profile
-
Send Message
Posted Aug 5, 2012@ramius86
Yes and Yes All worked fine. I did a 20k largebiome map. The only thing I did not end up with is any Mushroom biomes
-
View User Profile
-
Send Message
Posted Aug 4, 2012@Pythros
Yeah, sounds like it.
@DeadDragons
If you don't want to get rid of the other plugin, you can use /wborder in place of /wb for WorldBorder commands.
-
View User Profile
-
Send Message
Posted Aug 4, 2012@DeadDragons Sounds like you have another plugin that is using the /wb command.
-
View User Profile
-
Send Message
Posted Aug 4, 2012hm evry time i try to set the border it just says u opend warkbench! not working right
-
View User Profile
-
Send Message
Posted Aug 3, 2012@lazy_architect thank you! and the new biome? temples ?
-
View User Profile
-
Send Message
Posted Aug 3, 2012@ramius86
Yes I'm using it right now and have not had any problems. Doing a fill on a 20k block world now.
-
View User Profile
-
Send Message
Posted Aug 3, 2012Does this plugin works with 1.3.1 ?
-
View User Profile
-
Send Message
Posted Jul 26, 2012Um is it possible to bypass the border as admin/mod ? would be really nice
-
View User Profile
-
Send Message
Posted Jul 21, 2012where do i give in the permissions?
-
View User Profile
-
Send Message
Posted Jul 19, 2012Is there a plugin that work well with the fill command to avoid/fix lighting bugs ?
-
View User Profile
-
Send Message
Posted Jul 19, 2012@marcovit66
Also based on your ticket:
The border checking routine is set to run every few ticks, by default every 200ms or so (1/5 of a second). Either you've changed the delay (/wb delay) to a ridiculously high number or you have something wrong with your server that is causing the task to be delayed for such a very very long time.
-
View User Profile
-
Send Message
Posted Jul 19, 2012I don't know how but players seem to get past the border. (default delay)
http://176.31.13.12:8123/?worldname=world&mapname=flat&zoom=4&x=827.5000000000001&y=64&z=2279.75
A user reported this to me and placed a sign as proof.
-
View User Profile
-
Send Message
Posted Jul 18, 2012believe it or not i think i know how to do that! in fact i think its mandatory on the world generator i want to use (terrain control).
-
View User Profile
-
Send Message
Posted Jul 17, 2012@deleted_7753621
That would generally mean that your server can't handle the fill rate which you specified in the command. You might try a lower fill rate next time.
@beastfeaster
WorldBorder uses Bukkit's built-in generation methods. IIRC others have had complete success by defining a custom world generator in bukkit.yml or similar.
-
View User Profile
-
Send Message
Posted Jul 17, 2012i have a question about terrain generation. as i understand it you can fully generate the world all the way out to the border when you first create the world.
my question is, does it use the vanilla terrain generator or can it also use custom terrain generators? skylands would be a good example but im specifically looking to use Terrain Control.
thanks!
-
View User Profile
-
Send Message
Posted Jul 15, 2012I'd like to report an... error, I guess I should call it? I started a fill task last night, before I went to bed. I noticed that as the task went on, the "free memory" that it shows you with every update slowly but surely got smaller. There were some exceptions, where it would pop back up, but it definitely happened. Until finally, I went to our minestatus page to vote this morning, and it said the server wasn't up. So I checked the console, searching for errors, and I got this:
I saw the text "WorldBorder.WorldFillTask.run" and I quickly assumed it had to do with the fill task I had started the night before. My console was also flooded with the usual "Can't keep up. Did the system type Change? Or is the server overloaded" messages. But many, many more than usual. So essentially, worldborder seems to have eaten at more and more memory for its fill task until it eventually overloaded and crashed the server.
-
View User Profile
-
Send Message
Posted Jul 12, 2012Wow! That is what searched! Thaaanks! Very good plugin!
-
View User Profile
-
Send Message
Posted Jul 12, 2012it would be cool if you add more than one border per world, if it is possibble of course