How To Pregenerate the World on a Modded Minecraft Server

4 min. readlast update: 01.17.2024

There are two options if your server is crashing when you are exploring and loading chunks in your world - upgrading your server or pregenerated chunks. 

Pregenerating your world is especially helpful on modpack servers that are running large modpacks like All The Mods, Better Minecraft, or DawnCraft. Luckily, it is extremely easy to pregenerate a world, and this guide shows you exactly how. †

Step 1: Finding Your Minecraft Version & Modloader

First things first, we will need to find your Minecraft version. If you are installing your own mods, you will most likely already know the Minecraft versions and mod loader. 

However, if you are using a modpack, here is a quick guide on finding the Minecraft version and modpack loader using the CurseForge App. We are assuming you already have the modpack downloaded via CurseForge.

  1. Open the CurseForge App and navigate to the "My Modpacks" tab. 
  2. Click on the modpack you running on your server. 
  3. Here, you will see the Minecraft version and the mod loader. Typically, the mod loader will be Forge, Fabric, NeoForge, or Quilt depending on the mod loader you have. Make note of the Minecraft version and mod loader.
undefined

Step 2: Download Chunky

Now, we can download Chunky. This is the Minecraft mod that we will use in order to pregenerate your world. The download process is the same just make sure you download the one for the mod loader you're using. 

Once you are on the download page for Chunky, click on the "Files" tab. Here you will see all of the different versions Chunky can be downloaded for. Download the version for the Minecraft version you are using by clicking on the three dots next to it, and selecting "Download File". 

You may need to keep or save Chunky depending on your browser. 

Step 3: Adding Chunky to Your Server

Now, we need to add Chunky to your server. Luckily, Chunky only needs to be added to the server, and it doesn't need to be added to your local game in anyway. 

  1. Open up the game panel, and select your server. 
  2. Click on the "File Manager" tab. 
  3. Select the "mods" folder in the File Manager. 
  4. Click the "Upload" buttion, and select and upload the "Chunky" file you downloaded. 
  5. Once it is finished, click on the "Console" tab in the menu bar. 
  6. Click the "Restart" button on the console to restart your server and activate Chunky. We can now pregenerate your world.

Step 4: Starting Your World Generation 

Once your server is restarted, it's very easy to generate your world. Just use these commands in the following order. 

/chunky world <world>

  • Selects another world on the server to pregen. By default, the overworld will generate. 
  • Options
    • the_nether
    • the_end
    • overworld

/chunky center <x> <z>

  • Sets the center point of the pregeneration.

/chunky radius 1000

  • The number can change depending on how large of pre-generation you want to do. The larger the pregeneration, the longer it will take. This will be a 1,000 block radius meaning 1,000 blocks wide.

/chunky start

  • Starts the pregeneration.

Pregenerations can take hours depending on the world size, but generally, a 1,000 radius takes under 30 minutes. Keep an eye out for crashes and potential issues you may run into in the next section. 

Crashes & Potential Issues

It is extremely common for crashes to occur during chunky pregeneration. It is a process that is designed to use as much RAM as possible on your server, and occasionally, it uses too much. 

When your server crashes, you may need to use the "Kill" button on the console page. You will get a warning, but you are good to progress anyway. 

After the server has restarted or been started again using the "Start" button, just run the above commands in step 4 again. Chunky will automatically skip already generated chunks. 

This may have be repeated multiple times per chunk generation. 

Was this article helpful?