How to Pregenerate Chunks with Chunky
Why Pregenerate Chunks?
Chunk pregeneration allows you to:
- Reduce lag when exploring new territories
- Improve performance of the server
- Avoid slowdowns during gameplay
- Stabilize TPS (Ticks Per Second)
Prerequisites
- Administrator access to your game panel
- OP or administrator permissions on the server
- Sufficient disk space (pregeneration increases world size)
Step 1: Installing Chunky
Download the Plugin
- Visit the official page: https://www.spigotmc.org/resources/chunky.81534/
- Download the latest version of Chunky
- Also download ChunkyBorder if you want to set a world border
Install on the Server
- Log in to your game panel
- Go to the Files or File Manager section
- Open the
pluginsfolder - Upload the
Chunky.jarfile - Restart your server
Step 2: Basic Configuration
Connect to the Server
Connect to your Minecraft server with an administrator account (OP).
Set the Pregeneration Center
By default, Chunky uses the world spawn. To set a custom center:
/chunky center <x> <z>
Example:
/chunky center 0 0
To use your current position:
/chunky center ~
Set the Pregeneration Radius
Choose the size of the area to pregenerate in blocks:
/chunky radius <blocks>
Recommended radius examples:
/chunky radius 1000
For a small server (approximately 2000x2000 blocks)
/chunky radius 2500
For a medium server (approximately 5000x5000 blocks)
/chunky radius 5000
For a large server (approximately 10000x10000 blocks)
Step 3: Start the Pregeneration
Basic Commands
To start pregeneration of the current world:
/chunky start
To start on a specific world:
/chunky world <world_name>
/chunky start
Pregenerate Multiple Worlds
For the overworld:
/chunky world world
/chunky radius 2500
/chunky start
For the Nether:
/chunky world world_nether
/chunky radius 1000
/chunky start
For the End:
/chunky world world_the_end
/chunky radius 1000
/chunky start
Step 4: Manage the Pregeneration
Check Progress
To see real-time progress:
/chunky progress
This command displays:
- Completion percentage
- Number of chunks generated
- Estimated time remaining
- Generation speed
Pause
To pause the generation:
/chunky pause
To resume:
/chunky continue
Stop Completely
To permanently stop the current task:
/chunky cancel
Step 5: Advanced Configuration
Set a Custom Shape
By default, Chunky generates in a circle. To use a square:
/chunky shape square
To return to circle:
/chunky shape circle
Adjust Generation Speed
To avoid overloading the server, you can limit the speed:
/chunky pattern <type>
Available types:
concentric: Spiral from center (default, recommended)loop: Square loopspiral: Different spiral
Manage Multiple Tasks
List all current tasks:
/chunky tasks
Continue a specific task:
/chunky continue <world>
Cancel a specific task:
/chunky cancel <world>
Step 6: Performance Optimization
During Pregeneration
To minimize impact on players:
- Launch pregeneration during off-peak hours (night, few players)
- Use a moderate radius to start
- Monitor TPS with
/tpsor monitoring plugins - Pause if the server slows down too much
Monitoring Commands
Check server TPS:
/tps
If TPS drops below 18, consider:
- Pausing the generation
- Reducing the number of connected players
- Allocating more RAM to the server
Step 7: Add a World Border (Optional)
Install ChunkyBorder
- Download ChunkyBorder from SpigotMC
- Place it in the
pluginsfolder - Restart the server
Set the Border
The border will prevent players from going beyond the pregenerated area:
/chunky worldborder
This command automatically synchronizes the world border with your Chunky area.
Tips and Recommendations
Time Estimation
Pregeneration time depends on:
- The size of the chosen radius
- Your server's power
- Terrain complexity (mountains, caves)
Approximate estimates:
- Radius 1000: 30 minutes to 2 hours
- Radius 2500: 2 to 6 hours
- Radius 5000: 8 to 24 hours
Required Disk Space
Plan for approximately:
- 50-100 MB for a radius of 1000 blocks
- 300-500 MB for a radius of 2500 blocks
- 1-2 GB for a radius of 5000 blocks
These figures vary depending on terrain type.
After Pregeneration
Once complete:
- Pregeneration stops automatically
- You can remove Chunky if you no longer need it
- Server performance will improve during exploration
- Remember to backup your world
Command Summary
Here's a complete workflow to pregenerate the overworld:
/chunky world world
/chunky center 0 0
/chunky radius 2500
/chunky shape circle
/chunky start
Check progress:
/chunky progress
Pause if necessary:
/chunky pause
Resume:
/chunky continue
Troubleshooting
Server Lags During Generation
- Pause with
/chunky pause - Wait for off-peak hours
- Reduce generation radius
- Increase RAM allocated to the server
Generation is Very Slow
- Check that you have enough RAM
- Temporarily close resource-intensive plugins
- Check available disk space
- Consider a smaller radius
"World not found" Error
- Check the exact world name with
/chunky worlds - The name is case-sensitive
- Use the full name (example:
world_nether)
Pregeneration Won't Start
- Check that you are OP:
/op <your_username> - Make sure you have set a center and radius
- Restart the server if necessary
Conclusion
Chunky is a powerful tool for optimizing your Minecraft server. Good pregeneration significantly improves player experience by reducing lag during exploration. Remember to monitor performance during the process and adjust settings according to your server's needs.


















