-
Notifications
You must be signed in to change notification settings - Fork 65
World borders
Most servers use a world border to limit the size of their world, usually for the following reasons:
- Preventing players from causing new chunks to generate
- Avoiding performance issues related to chunk loading
- Keeping the world size down to avoid large backups
- Rendering maps with clean looking boundaries
Below you will find a couple methods of setting up a border for your server.
This is the most common option for setting up a world border, which doesn't require an additional plugin to be installed on the server. One benefit of the vanilla world border is that it appears physically in the world and can be seen by players. However, it only supports square shaped worlds.
Here's an example setting a world border centered at 0, 0 with a radius of 10000 in the overworld:
worldborder center 0.0 0.0
worldborder set 20000
Note that above, we use the number
20000
since the vanilla world border is defined by diameter, so the radius would be half this number. You can convince yourself of this by teleporting to the corner which would be at 10000, 10000.
Further documentation of the vanilla world border can be found on the Minecraft Wiki.
ChunkyBorder (CB) is the official addon for setting up custom world borders. It supports any world shape that you can pre-generate with Chunky. It also supports every major map rendering plugin, and has extensive configuration when compared to similar plugins. However unlike the vanilla world border, it is not visible in-game. If players attempt to walk or teleport beyond the border they are simply teleported back inside.
Here's an example setting a world border centered at 0, 0 with a radius of 10000 in the overworld:
chunky radius 10k
chunky border add
Further information on ChunkyBorder can be found on SpigotMC.
WorldBorder (WB) is an older but still relatively popular option for setting up custom world borders. It only supports square and circle shaped worlds, and map rendering with Dynmap. Unlike the vanilla world border, it is not visible in-game. Players are teleported if they move beyond the border.
Here's an example setting a world border centered at 0, 0 with a radius of 10000 in the overworld:
worldborder:wb shape square
worldborder:wb world set 10000 10000 0 0
Further information on WorldBorder can be found on SpigotMC.