WorldBorder Plugin 1.7.2
This plugin is intended to efficiently provide a border for each of your worlds, which nobody is allowed beyond except for people temporarily granted bypass access. 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.
- 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 temporarily allow specific players to go beyond the border.
- 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.
WorldBorder Plugin Changelogs:
- Two new variations of the set command are available thanks to sponsorship from Rhythmatic:/wb [world] set <radiusX> [radiusZ] spawn – uses the world’s spawn point. /wb set <radiusX> [radiusZ] player <name> – centers a border on the specified player.
- Added new command /wb denypearl <on/off> to toggle existing “deny-enderpearl” option on or off, which requires the new permission worldborder.denypearl to use. Changed this existing “deny-enderpearl” config setting to only deny ender pearls which are thrown past the border, and switched it to be enabled by default.
- Added TeleportCause.PLUGIN indicator to the teleport methods used by border knockback, so other plugins can see that the teleport was triggered by a plugin and potentially not interfere if they otherwise would have. Specifically, this should take care of CombatTag preventing WorldBorder knockback if the player is considered to be in combat.
- Added config option “fill-memory-tolerance” which defaults to 500. If/when the Fill process pauses due to low memory (<200 MB), this setting is the amount of free memory (in MB) required to be available before it automatically continues. This option isn’t made available to change through a command as most people shouldn’t change it. It’s been made available for people who are running extremely low memory (and thus necessarily tiny) servers which have less than 768 MB memory available to their CraftBukkit server.
- Some minor code refactoring and cleanup. (by Zeluboba)
/wb [world] set <radiusX> [radiusZ] spawn – uses the world’s spawn point.
/wb set <radiusX> [radiusZ] player <name> – centers a border on the specified player.
/wb denypearl <on/off> – toggle option which cancels ender pearls which are thrown past the border, rather than just adjusting their target location. Requires permission worldborder.denypearl.
- Added option to Fill command which will force it to load all chunks instead of automatically skipping chunks which are already fully generated. To use this option, use a full length Fill command with “true” specified on the end to enable the option.
Example: /wb fill 20 208 true
or with world specified: /wb world fill 20 208 true
- Added option to kill player instead of teleporting to spawn. Option is “player-killed-bad-spawn”, only available by manually editing the config file. (by rourke750 with assistance from erocs)
- Changed “Teleport cause” debug log message to remove WARNING status, as that was unnecessarily worrying some people who had debug output enabled