Chunky is a Bukkit plugin (and a mod), that can be used to pre-generate chunks for a Minecraft server. World pre-generation helps with reducing CPU usage in the long-term, since players move through chunks that are already generated. Thus, allowing your server to be more optimized and reduce the risks of lag spikes, and more.
This guide will walk you through installation and usage of Chunky on your Minecraft server!
To get started with pre-generating your world on a Bukkit-based server, download the plugin’s JAR file from SpigotMC.
Before using the plugin, place the downloaded JAR file into your
plugins folder (either drag and drop the jar into the file manager or use SFTP).
Forge or Fabric-based servers
To pre-generate worlds on modded servers, download the mod’s file from CurseForge or Modrinth. Once downloaded, place the downloaded JAR file into your
/mods folder (either drag and drop into the file manager or use SFTP).
Restart the server and Chunky should be good to go!
Note that pre-generation increases world size substantially, so make sure you have enough free space on your disk. Check out onlinemo.de/world to calculate how large your world(s) will be before pregenerating them.
Using the plugin is fairly easy, however always take a backup of your server before you start, just to be on the safe side.
Chunky is a powerful tool with loads of commands, but we will only use these:
/chunky radius <chunk-size>- sets the radius from the center to be pre-generated
- the radius is how many blocks from the center chunk will be pre-generated
/chunky center <x> <z>- sets the center of the chunks to be pre-generated
- the center is the chunk that the pre-generation will start from, most people should leave it as default, but it can be changed
/chunky setcorners <x1> <z1> <x2> <z2>- sets the corners of the chunks to be pre-generated
/chunky start- starts the generation process
/chunky pause- pauses the generation process
/chunky resume- resumes the generation process
/chunky stop- stops the generation process
/chunky status- shows the status of the generation process
See Chunky’s documentation for more commands and useful tips.
To pregenerate a 5000x5000 chunk area centered at
0,0, you would use the following commands:
/chunky radius 5000
/chunky center 0 0
Don’t go crazy high with the radius! It can take a while (hours in fact) to pre-generate a world.
Although you can play while running the plugin, you will experience some noticeable lag, so it’s best to start it before you head to bed and wake up to a pre-generated server in the morning.
Once Chunky is done, all the chunks from X 5000 and Z 5000 to X -5000 and Z-5000 have been pre-generated.
If you have any questions, feel free to ask in our Discord server!