---
title: "Pregenerating Worlds - Minecraft | FPS.ms"
description: "Learn how to pre-generate your Minecraft world to avoid lag spikes and enjoy a smooth experience—read now."
url: https://fps.ms/docs/minecraft/pregenerating-your-minecraft-world
---
# Pre-generating Your Minecraft World

!!! danger "ATTENTION" "It is against the **FPS.ms** **Terms of Service** to run **Heavy Software** such as Pre-generation Plugins or Mods on our servers. Thus this guide will show you how to download and run your server locally for pre-generation and upload your new world."

### What is Pre-generation?
When you create a new Minecraft server, it generates a new world alongside it. At first only a small portion of this world will be generated on first launch and as you play your server will use processing power to generate the new locations you explore. Pre-generation means using [Plugins or Mods](https://docs.fps.ms/minecraft/installing-plugins-minecraft) such as [Chunky](https://modrinth.com/plugin/chunky) to generate a specified section of your world without having to explore during gameplay.

### What if I don't pre-generate?
When you are generating chunks during play, you might encounter:

- Lag spikes due to processing power being spent on world generation
- Entities entering a slow motion-like state where they hang in air or teleport around
- Low TPS and High MSPT causing a list of issues hindering your gameplay experience. 
Because of these and more, we recommend going through the short effort to pre-generate your world so you can have a smoother experience throughout.

### Why can't I pre-generate on my server?
As stated in our [Terms of Service](https://docs.fps.ms/legal/terms-of-service), "use heavy applications in such a way that they cause nuisance to the network and other containers and services" is not permitted. Pre-generation causes a very high load for many hours that hinder the experience of other users in our platform by stressing our hardware. Even ignoring this, pre-generation is very slow on your server due to how we allocate resources. What might take a day generating on your server might take only a few hours on your local computer.

### How do I start Pre-generating?
First of all, as with every task you should first start by turning off your server and taking a backup of your files. Afterwards install a pre-generation plugin or mod on your server. If you need a guide for that you can follow our [Installing Plugins](https://docs.fps.ms/minecraft/installing-plugins-minecraft) documentation. For this guide we will be using [Chunky](https://modrinth.com/plugin/chunky) on Fabric 1.21.11.

Next we will download our server files to run our server locally on our computer. 
1. Go on the **Files** tab and click the checkbox at the top left to select all your files.
2. Click **Archive** button at the bottom of your screen to compress your files into a Tar.gz archive.
3. In a few seconds you will see a new file titled "archive-*YEAR*-*MONTH*-*DATE*.tar.gz", click the 3 dots beside it and click **Download** to start the download.


Wait for the download to complete and extract the contents of the archive to a folder of your choosing. Once that's done, click and open **server.jar**. You should see a screen like this;

<img width="1920" height="1032" alt="javaw_YWohzUbWSW" src="https://github.com/user-attachments/assets/66856972-fc8e-4c9d-8e91-fabb9fe47e5e" />


First click the box at the bottom to type commands into the console. We will be first configuring chunky to specify what we want to pre-generate. Type these commands in order;

!!! info "INFO" "- chunky world overworld %% This sets which world Chunky will be pre-generating. We suggest only pre-generating the overworld to save on storage space. If you wish to pre-generate other worlds you can use "the_nether" or "the_end" respectively. %%
- chunky spawn %% This sets the center point for pre-generation to be the world spawn point %%
- chunky radius 5000 %% This sets the pre-generation distance to 5000 Blocks in every direction so totaling to a 25000 Block Area which should be a good starting point for most small scale SMPs %%
- chunky start %% This starts the pre-generation process %%"

!!! info "INFO" "Optionally if you wish to pause and continue or cancel the pre-generation task you can use;
- chunky pause %% This pauses the pre-generation task temporarily until you use the continue command %%
- chunky continue %% This continues the last paused pre-generation task %%
- chunky cancel %% This cancels the ongoing pre-generation task. It will ask for confirmation before proceeding %%
- chunky confirm %% This is the confirmation command to proceed with the cancellation %%"

The chunk generation will now start. You should be seeing progress notifications on the console. If you wish to see more commands you can use the command "**chunky help**" or check out the [Chunky Wiki](https://github.com/pop4959/Chunky/wiki). 


Once the pre-generation task is complete you can close the server window. Next archive the "**world**" folder in the same directory into a zip file and upload it to your server using [SFTP](https://docs.fps.ms/getting-started/connecting-to-sftp). Afterwards delete your existing world folder on the server and unarchive the newly uploaded zip file to extract your pre-generated world. Finally you can start your server and play!

---

[FPS.ms](https://fps.ms/index.html.md) · [All pages](https://fps.ms/llms.txt) · [Documentation](https://fps.ms/docs/llms.txt)
