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 Nov 16, 2013Okay, I only ask :) What this code means?
-
View User Profile
-
Send Message
Posted Nov 16, 2013@Jacold
That's an error occurring in core Minecraft code, so it's not caused by WorldBorder.
-
View User Profile
-
Send Message
Posted Nov 15, 2013http://pastie.org/8484090
This appears sometimes when fill command is used.
-
View User Profile
-
Send Message
Posted Nov 4, 2013@Brettflan
And that is why you should make square default. Because if you want to run round then you must Saka if I enter 25k then it shall add the 3k more so that you get 25k.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@bunnyhop100
There is no option to automatically set a border for a new world. WorldBorder does accept commands through the console, however, so if you have some automated process to create new worlds you should be able to run a command to set a border for it as part of the process.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@Brettflan
Is it possible to set a default world border for all new worlds created or is it required to have to manually generate the new border after each world is created?
-
View User Profile
-
Send Message
Posted Nov 3, 2013@kikotte
So you still don't understand that at the "corner" of a round/elliptic border it's not going to be 25k X or 25k Z in Minecraft's block coordinate system? Right on the X or Z axis from the center it of course will be.
As a change shall I make you a nice graphic illustrating it since you still don't seem to understand?
-
View User Profile
-
Send Message
Posted Nov 3, 2013@brian163b
As you can see, if I write about 25k then I expect when I get 25k and not 17k.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@kikotte
Here's another important learning experience. Learn to read instructions before you just start typing in commands and blaming others for the outcome. From the "Full list of Command and Permissions" page (THE VERY FIRST LINK ON THIS PAGE):
/wb shape <elliptic|round|rectangular|square> - set the primary border shape to elliptic/round (default), or rectangular/square. Note that "elliptic" and "round" are interchangeable here, as are "rectangular" and "square".
From "Further Misc. Information" (THE 3rd LINK ON THIS PAGE):
The default border shape is round/elliptic. A round/elliptic border makes for a nicer world map, but takes a few more calculations...
-
View User Profile
-
Send Message
Posted Nov 3, 2013@Brettflan
I listen to my friend and he has been running this plugins for many years. Then it says nothing on the website.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@kikotte
Among other places, it tells you the current world shape in the information when you start up the server. Example:
Why would you assume anything anyway and run a command which is intended to remove/destroy parts of your world without fully knowing what you were doing and further without backing up your world beforehand?
Regardless, without a world backup, anything you got rid of with the Trim command is indeed gone. I recommend taking it as a learning experience and being more careful in future.
-
View User Profile
-
Send Message
Posted Nov 3, 2013Because I did.
/wb set 25000 /wb trim
Then it will be the default square.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@kikotte
It wouldn't have taken away your house unless you ran the Trim command without knowing what you were doing and without making a backup and with your house a large distance outside the border (with the default Trim padding taken into account).
So again, explain what you're talking about better. "It took away my house" makes no sense without a better explanation of the problem.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@Brettflan
For it took away my house. And I lose playing thanks to you.
-
View User Profile
-
Send Message
Posted Nov 3, 2013Everyone knows if you put this.
/wb set 25000
-
View User Profile
-
Send Message
Posted Nov 3, 2013@kikotte
The default shape is elliptic/round by default because most people want that shape rather than rectangular/square.
How does a round border ruin anything for anyone? You seem very confused.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@Brettflan
shapeRound = cfg.getBoolean("round-border", true);
putting it to true is your fault. You did this to ruin it for everyone.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@kikotte
If you have a valid problem, report it in detail. Otherwise go troll somewhere else.
EDIT:
and to your other question:
@kikotte
The /wb shape command (for the default for all worlds) or the /wb wshape command (for an individual world) is what you want. These are covered in the documentation linked at the top of the page and in the in-game help from simply running the root /wb command.
-
View User Profile
-
Send Message
Posted Nov 3, 2013Does not use this plugins it destroys your world. He has made plugins are made so that all of your house will go away.
Will report this to the courage of a crappy plugins.
-
View User Profile
-
Send Message
Posted Nov 3, 2013@Brettflan
how do you get it to the square?