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,, D. Senff, Vik1395, TagCraftMC, D. Strickner, M. Wilson, Rhythmatic, W. Downey, P. V. Gretener, MiniCraft Server, Cosmic Craft,, polaris_iv (Forge port), matagin.
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.


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.


  • 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 Aug 22, 2016 at 05:53 UTC - 0 likes

    @ShadyVADER: Go

    Then you clearly haven't found the damaged file yet. It was right at 16.5% before as well, if you check. Based on those chunk coordinates mentioned in the error, it looks like that would be the "r.20.13.mca" file.

  • Avatar of ShadyVADER ShadyVADER Aug 21, 2016 at 23:57 UTC - 0 likes

    @Brettflan: Go

    I went through the region files and deleted the most recent one that had 0 Bytes. It still lead to the same thing.

    I went through it again and deleted all of the files that were 0 Bytes - 1.99 MB. It was running good, and then once it got to 16.5% complete, it did the same thing.

    I keep seeing these two lines appear before it stops the process, and they keep appearing regardless of removing the files:

    "[18:51:15] [Server thread/ERROR]: Chunk file at 655,439 is in the wrong location; relocating. (Expected 655, 439, got 655, 440) [18:51:16] [Server thread/ERROR]: Chunk file at 655,429 is in the wrong location; relocating. (Expected 655, 429, got 656, 428)"

    Here is the log where it transitions into stopping again:

  • Avatar of Brettflan Brettflan Aug 21, 2016 at 09:14 UTC - 0 likes

    @ShadyVADER: Go

    It means one of the world's region files is damaged/partial since the disk being full prevented it from being fully written. Stop the server, then look in the world's region folder for one of the .mca files with the latest "date modified" times which seems abnormally small, and remove it from the folder (backing it up just in case is always recommended). Then try running Fill again.

  • Avatar of ShadyVADER ShadyVADER Aug 21, 2016 at 08:27 UTC - 0 likes

    @Brettflan: Go

    So I finally got the server started, and I tried to continue with the filling. However, this keeps popping up and ending the process:

    Can you tell me what it means and/or how to fix it?

  • Avatar of Brettflan Brettflan Aug 21, 2016 at 08:09 UTC - 0 likes

    @WildWolfy777: Go

    I don't know, maybe you can figure out some way to do that which would be safe, but I doubt it.

  • Avatar of WildWolfy777 WildWolfy777 Aug 21, 2016 at 07:36 UTC - 0 likes

    @Brettflan: Go

    Hmm.. May be we have some other ways to make that? May be.. Some way to give to players bypass to border, but only if they were teleported by portal or command, and we will take that bypass back when they will be inside border again, so they can't pass that by just walking to it. Whats about that?

  • Avatar of Brettflan Brettflan Aug 21, 2016 at 07:28 UTC - 0 likes

    @ShadyVADER: Go

    [File IO Thread/WARN]: No space left on device

    Above is the relevant line. Looks like your hard drive is full.

  • Avatar of ShadyVADER ShadyVADER Aug 21, 2016 at 05:29 UTC - 0 likes

    @Brettflan: Go

    The server log doesn't say anything. It doesn't give messages about plugins shutting down at all.

    These are the lines in the log where it switched from filling to not having enough memory. The lines that say it has no memory continue to repeat for 10 hours.

  • Avatar of Brettflan Brettflan Aug 21, 2016 at 03:02 UTC - 0 likes

    @ShadyVADER: Go

    The memory available depends entirely on how much memory you have the Spigot/CraftBukkit server configured to use. When it automatically pauses, it tries to force garbage collection on the server to free up memory; this normally helps reclaim memory still in use from generated chunks that have since been unloaded, with the memory still not freed. It then waits and checks available memory every few seconds and continues when enough free memory is available. If for some reason sufficient memory is never freed up, it can indeed end up never starting back again.

    Part of your problem is likely that you don't have the server configured to use enough of the memory you have available.

    Memory usage while running the Fill process also depends on what plugins or mods you have that change the world generation process.

    If your server is failing to start, the server log should have some indication of what the problem is.

  • Avatar of ShadyVADER ShadyVADER Aug 21, 2016 at 00:37 UTC - 0 likes

    I have a serious issue with the newest version of WorldBorder.

    I attempted to do a /wb fill on my main world yesterday. It was running fine and it got to about 17.5%, and then said there wasn't enough RAM even though there was 3000 Mb left. 10 hours went by and it still refused to continue. I restarted my server because the website says that it would pause and continue when the server was back online. However, my server does not start anymore. At all.

    I tried uninstalling the plugin and then starting the server, but it made no difference.

    Please help :/


Date created
Aug 31, 2011
Last update
Aug 16, 2016
Development stage
  • enUS
BSD License
Curse link
Reverse relationships
Recent files
  • R: 1.8.6 for 1.10 Aug 16, 2016
  • R: 1.8.5 for 1.10 Jan 02, 2016
  • R: 1.8.4 for 1.8.1 Jun 23, 2015
  • R: 1.8.3 for 1.8 Mar 07, 2015
  • R: 1.8.2 for 1.8 Mar 01, 2015