WorldBorder

WorldBorder logo r3


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 Donate.
Thanks to the following people who have appreciated the plugin 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.
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:


Screenshot 2


Of special interest are the Fill command and the Trim command features:
Before and After Fill Before and After Trim


Borders are also displayed automatically by default in DynMap if you have it:
DynMap Border Example

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Brettflan Brettflan Jul 29, 2014 at 12:13 UTC - 0 likes

    <<reply 2287568>>

    The vehicle should be teleported back inside the border to the same spot as the player and have its velocity set to 0. That's what is done for all vehicle entities. If that's not what you're seeing, please provide more info.

    As for leaving the player inside the vehicle, due to a very very longstanding bug/issue with CraftBukkit/Minecraft which causes horrible things to happen when trying to teleport an entity that has a passenger or is a passenger of another entity, they have to be dismounted before being moved back inside the border. Remounting them immediately afterwards can also cause problems if it's done before the client is informed of the movement. I tried having that done after a few ticks, but for a player with a high ping or if the server is under stress, it could still go wrong, which is why that's not enabled by default.

  • Avatar of Pixiyo Pixiyo Jul 29, 2014 at 11:32 UTC - 0 likes

    Could you please add vehile support? It's possible to fly over a border with uPlanes. Author of uPlanes says that's it will be fixed if you add vehicle support...

    Thanks

  • Avatar of Brettflan Brettflan Jul 24, 2014 at 06:27 UTC - 0 likes

    @RustyDagger: Go

    I'd planned to try implementing a pseudo-physical border (sent to client as "real" and blocking movement, but not really present in the world files on the server), but with the upcoming square physical border option (via /worldborder command, amusingly enough) in the dev builds of Minecraft itself, I'm going to wait on doing anything of the sort for now. It might be possible to co-opt their physical border method in some way, we'll see.

    Without a visual indicator of the border, a text warning that the person is approaching the border is of limited use since they'll only know it's probably in the general direction they're moving. There would also be the matter of whether to keep spamming them with warnings while they're near the border and annoying anyone wanting to hang around near it, or just telling them one or twice and then leaving them without further warning.
    It would also require an additional check (and further processing) to see whether a person is near the border or actually past it.

  • Avatar of RustyDagger RustyDagger Jul 24, 2014 at 06:15 UTC - 0 likes

    Im having an issue On my modded server we have planes Quite a few times now players have been flying them and hit the border They are teleported back in and the plane continues out side the border. the result is quite unfair. and normally my self or a staff member has to bypass and go fetch it.

    I was hoping to see an option for a glass border or something but Nope :( or maybe some kind or warning zone that lets them know they are getting close to the border.

    Current Job: Lead Dev for cybergaming.us

  • Avatar of LegndPowerdNube LegndPowerdNube Jul 19, 2014 at 23:23 UTC - 0 likes

    It is a little sad to see this plugin being pushed out in certain ways because of the new worldborder command in the snapshots.

    BFAK:90701487,f10294d3af913e4eff73e584910c0128f10bb9fd0cbb7a405b6facee14d5de57

  • Avatar of aasikki aasikki Jul 18, 2014 at 17:46 UTC - 0 likes

    @boniomri: Go

    You can use Worldguard to do that.

  • Avatar of Brettflan Brettflan Jul 17, 2014 at 14:01 UTC - 1 like

    @boniomri: Go

    Anyone who spawned outside the border would immediately be moved back inside the border, so that wouldn't work.

  • Avatar of boniomri boniomri Jul 17, 2014 at 13:12 UTC - 0 likes

    Is it possible to create the spawn outside the worldborder? I basically want to have an area you can't get in to, get out of will be done with buildings.

  • Avatar of Brettflan Brettflan Jul 15, 2014 at 23:18 UTC - 0 likes

    @BAI1: Go

    There are no plans for WorldBorder to support multiple borders on a single world or anything of the sort, sorry. It would however of course be possible to add another world with whatever features you desire and set a border on it wherever you want.

  • Avatar of BAI1 BAI1 Jul 15, 2014 at 11:20 UTC - 0 likes

    Is there any way to make a WorldGuard-like region that can bypass the border, however the rest of the border remains intact?

    I have a Mesa biome outside my border and I want players to be able to access it, however the border prevents it. Is there a way to allow players to reach that specific area without bypassing the rest of the border? It's become quite an issue as the nearest Mesa is outside the border by at least 6k. Thanks. BAI1

Facts

Date created
Aug 31, 2011
Categories
Last update
May 31, 2014
Development stage
Mature
Language
  • enUS
License
BSD License
Curse link
WorldBorder
Downloads
512,830
Recent files
  • R: 1.8.0 for CB 1.7.9-R0.1 May 31, 2014
  • R: 1.7.9 for CB 1.7.2-R0.3 Mar 19, 2014
  • R: 1.7.8 for CB 1.7.2-R0.3 Feb 22, 2014
  • R: 1.7.7 for CB 1.7.2-R0.2 Dec 21, 2013
  • R: 1.7.6 for 1.7.2 Oct 20, 2013

Authors