> For the complete documentation index, see [llms.txt](https://docs.nexstudios.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexstudios.org/survival-plus-setup/world-generation.md).

# 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.nexstudios.org/survival-plus-setup/world-generation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
