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:
can you make a permission node for admin something like worldborder.all to give all rights
Happy you did this BorderGuard is too outdated
Great plugin, thanks. I had been using BorderGuard, but the fill and trim commands that this plugin has are amazing. The only suggestion I've come up with is a walls command or something, although I'm not sure how easy or long it would take to code.
Something like this for an easy way to add walls to the border-
/wb walls [id] [height]
The [id] being whatever material you want the walls made out of and the [height] being the level you want the walls to go to.
Either way, keep up the good work.
@Brettflan Just to say: Thanks! ;)
@malabarth
You could try doing this:
http://forums.bukkit.org/threads/mech-worldborder-v1-4-4-feature-rich-world-size-limiting-plugin-1337.11309/page-14#post-831033
Is it possible to add a functionnality who teleport the player to the oposite of a rounded world? For making Minecraft's world like a planet: a sphere! :)
Thanks for you're answer, and forgive my bad english, I'm French! :D
@ProjectInfinity
See here: http://forums.bukkit.org/threads/mech-worldborder-v1-4-4-feature-rich-world-size-limiting-plugin-1337.11309/page-15#post-845480
Is it normal for a 8k radius square world to render at extremely slow speeds? I set it to do 40 chunks a second, it starts out fast then slowly degrades to 8 chunks a second and stays there. Is this normal?
So far it has taken me about 20 hours to render 11.8% of my square 8k radius world. (On bukkit 1562)
@Moe041991
Have you tried something like this for your custom world generator? It's been said to work fine, though I haven't personally tested it.
http://forums.bukkit.org/threads/mech-worldborder-v1-4-4-feature-rich-world-size-limiting-plugin-1337.11309/page-12#post-778355
ok it works as long as i use no worldgenerator. I assume the world generator is the issue (terraincontrol).
thanks for your assistance. :)
alright, i will try it out.
@Moe041991
Disable Dynmap temporarily when using the fill or trim command. It interferes.
it worked for a while, but now the fill command is buggy. I tested it on 2 Servers on 2 different machines with a lot of worlds.
Its a server with dynmap and worldboarder only. I did 2 dfferent trials on boath servers. same result.
1. Installed WB.
2. Installed Dynmap.
3. set a border and filled it.
4. checked dynmap.
5. deleted dynmap.
6. reinstalled dynmap
7.checked dynmap. (rendered again, reloaded page)
8. deinstalled dynmap and WB
9. installed dynmap again.
10. checked dynmap (rendered and reloaded).
The resulst is always the same. It just shows one big part of the world in this very shape and a lott of small parts. Not sure whats going on. Console dont indicate errors.
http://img7.imagebanana.com/img/wk9q2y1a/Untitled.jpg
Since i rendered the map again without any chance of WB interferring I assume its some problem with filling the map. its also worth mentioning that the black in dynmap within the borders is a bit lighter than the black outside the borders.
@Sk8Sanctified
Pretty sure it's just you. Unless you'd care to expand on that?
Is it just me, or does this plugin use a lot memory?
@nicklozon
Yeah, I had to increase the threshold after a workaround for a Bukkit bug a while back which made it potentially speed along and run out of memory before it could even detect it was low if you had the frequency set high enough.
I do need to update that info.
It says low memory threshold is 100mb, but it stops after 200mb? Has the threshold been increased and description just not updated? :)
@SirMonsterSlayer
After an RB of CraftBukkit is released based on Minecraft 1.0, and if an update is even necessary for compatibility, I will indeed make such a release then.
Will you do an 1.0 update soon ? :)
This is fantastic plugin! I'd been looking for something to limit the world until the actual release of minecraft, and this does it beautifully! Thanks a ton!