Minecraft logo

Pregenerate Chunks on Your Minecraft Server

Optimize server performance by pregenerating world chunks

By the GhostCap teamUpdated

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 you can install from the panel. Plugins need a plugin edition such as Paper or Spigot, so you'll need Paper to follow this method.

Server Requirements

Your Minecraft server must run the Paper edition to install Chunky this way.

  1. Log in to the GhostCap Panel and select your Minecraft server.
  2. Stop your server before making changes.
  3. Open Mods and select Browse.
  4. Search for the Chunky plugin.
  5. Click Install, then start your server once installation completes.

Configuring Chunk Pregeneration

After installing Chunky, you can begin pregenerating your world chunks:

  1. Access your GhostCap Panel and select your Minecraft server.
  2. Open Console.
  3. Set your pregeneration radius by entering chunky radius <radius>
  4. 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.