# World Generation

We **strongly, strongly, strongly, strongly** **(strongly)** recommend pre-generating your worlds on your server before opening your doors to the public. This is because when players use /rtp (random tp), the server tries to find a location for them to go, and to do this it has to load chunks. This can cause intense stress on your server hardware and cause significant lag.

Pre-Generating worlds can take quite a few hours, so we'd recommend doing this overnight. It's also quite resource intensive, so ideally you don't want to be doing anything else on your server whilst you're pre-generating your worlds.

You'll want to pre-generate four worlds:

* Resource
* Resource\_nether
* Resource\_the\_end
* Claiming

## Creating your "Claiming" world

{% hint style="info" %}
To save file space, a Claiming world is not included in the download. You can easily create your Claiming world by typing the following command:
{% endhint %}

> Type **/mv create Claiming NORMAL**

You've now created your Claiming world! Follow the next steps below to find out how to pre-generate your worlds.

## How to Pre-Generate Worlds&#x20;

* Enter each world and type **/worldborder set 6000**. This will set your world size to 6kx6k. (Yes, this isn't a typo! You'll find out why it's 6,000 in a moment).
* Then, type **/chunky worldborder \<world name>**
* Then, type **/chunky start**
* Repeat the process for each world, and wait a few hours for it to complete. You can check console for updates on its progress, as well as an ETA.
* Once the world pre-generation is complete, type **/worldborder set 5000**. The additional 500 blocks on each side of the world is used as a "buffer" so that players can't just fly to the border and load in chunks, causing lag.

{% hint style="warning" %}
This will take a few hours to complete, but it is **essential** to do to ensure your server performance is optimal.
{% endhint %}
