Using the WorldBorder plugin for Spigot or Paper, you can pre-generate worlds on your Minecraft server so that they are ready for players using /wb fill
.
If you don’t already have WorldBorder installed on your server, you’ll need to install the plugin specific to your server version in order to follow the steps in this tutorial. You can download the WorldBorder plugin from the links below, then follow our tutorial on installing plugins.
- Server Version 1.13.x - 1.14.x: https://www.spigotmc.org/resources/worldborder.60905
- Server Version 1.15.x - 1.16.x: https://www.spigotmc.org/resources/worldborder-1-15.80466/
The command to trim a world is: /wb [worldname] fill [freq] [pad] [force]
.
- 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. - Replace
[freq]
with the number of chunks per second WorldBorder will try to check for and generate a chunk. For optimal performance, set this number to 5 or lower. A lower number will take longer but will reduce lag on your server. - You should always leave
[pad]
at 208 as it will be suitable for most servers. - Replace
[force]
with “true” if you want to force WorldBorder to load all chunks instead of skipping chunks that are already generated.
You can also use the /wb trim
command to generate missing chunks of your world that are within the border. To learn more, check out our article on Trimming your World using WorldBorder.