Pregenerating chunks loads world terrain in advance, significantly reducing lag and performance issues when players explore new areas. This process prevents the server from struggling with real-time chunk generation during gameplay.
Follow this guide to set up chunk pregeneration on your Minecraft server.
Installing a Pregeneration Plugin
This tutorial uses Chunky, a popular pregeneration plugin available through our plugin manager. The plugin manager primarily supports Paper and Spigot versions, so you'll need Paper to follow this method.
Server Requirements
Your Minecraft server must run Paper edition to use the GhostCap Plugin Manager for this installation method.
- Log into your GhostCap panel
- Stop your server before making changes
- Navigate to Tools > Plugin Manager
- Search for and locate the Chunky plugin
- Click Install and start your server once installation completes
Configuring Chunk Pregeneration
After installing Chunky, you can begin pregenerating your world chunks:
- Access your GhostCap panel
- Go to the Console section
- Set your pregeneration radius by entering
chunky radius <radius>
- Start the generation process with
chunky start
World-Specific Generation
By default, Chunky pregenerates the overworld. To pregenerate other dimensions, use these commands:
Nether:
chunky start the_nether
End:
chunky start the_end
Monitor pregeneration progress through your server console, which displays completion percentages and estimated time remaining.
Performance Considerations
Chunk pregeneration consumes significant server resources during the process. Expect temporary performance impacts, especially on worlds with numerous entities or complex terrain. Consider running pregeneration during low-traffic periods to minimize player disruption.
Pro Enhancement
Combine Chunky with the ChunkyBorder plugin to automatically set world borders matching your pregenerated area, preventing players from accessing unloaded chunks and maintaining optimal performance.