Using the WorldBorder plugin for Spigot or Paper, you can trim out chunks of your Minecraft server world that are outside of your configured border using
If you don’t already have WorldBorder installed on your server, you’ll need to install it in order to follow the steps in this tutorial. You can download the WorldBorder plugin from the SpigotMC website, then follow our tutorial on installing plugins.
This tutorial assumes that you have the world you want to trim already loaded.
The command to trim a world is:
/wb [worldname] trim [freq] [pad].
- You can replace
[worldname]with the name of the world you want to trim. If you don’t specify a world name, the current world you are in will be used.
[freq]with the number of chunks per second WorldBorder will try to check for and trim off. For optimal performance, set this number to 20 or lower. A lower number will take longer, but will reduce lag on your server.
[pad]with a number representing the buffer to add beyond your border. The default is 208 and is suitable for most servers.
You can also use the
/wb fill command to generate missing chunks of your world that are within the border. To learn more, check out our article on pre-generating your world using WorldBorder.