# Regenerate a random map on 7 Days to Die

{% hint style="info" %}
RWG (Random World Generation) generation recreates a new map on 7 Days to Die. It's useful for a reset, a new season, or a corrupted world.
{% endhint %}

{% hint style="warning" %}
A new RWG generation creates a new world. Bases and progression from the previous world will no longer be accessible. Make a backup beforehand.
{% endhint %}

### Objective

* Enable RWG in `serverconfig.xml`.
* Force the creation of a new world via `GameName`.
* (Optional) Change the seed (`WorldGenSeed`).

### Step-by-step guide

{% stepper %}
{% step %}
**Stop the server**

Stop the server from the dashboard.\
Avoid modifying the config while it is running.
{% endstep %}

{% step %}
**Make a backup (recommended)**

Create a backup before the reset.\
Guide: [Create a backup and restore it](/en/dashboard/creer-une-sauvegarde-et-la-restaurer-sur-son-serveur.md).
{% endstep %}

{% step %}
**Edit the `serverconfig.xml`**

In the **FTP**, open the file `serverconfig.xml`, then search for `GameWorld`.

Set the value `RWG`.
{% endstep %}

{% step %}

```xml
<property name="GameWorld" value="RWG" />
```

{% endstep %}

{% step %}
**Force a new world with `GameName`**

Search for `GameName`. Set a **unique**.

```xml
<property name="GameName" value="MyNewWorld" />
```

Avoid accents and special characters.
{% endstep %}

{% step %}
**(Optional) Change the RWG seed**

If your file contains `WorldGenSeed`, change it.

Or keep the same seed if you want to regenerate an “identical” world.

```xml
<property name="WorldGenSeed" value="Oxygenserv-2026" />
```

{% endstep %}

{% step %}
**Save then restart**

Save the file.\
Restart the server.

On first start, the server generates the map.\
This can take several minutes.

Check the console at startup.\
If needed, retrieve the logs: [Find and share your server logs](/en/dashboard/trouver-et-partager-ses-logs-serveur.md).
{% endstep %}
{% endstepper %}

### Common issues

#### The world does not change after restart

* `GameName` has not changed. Edit it, then restart.
* The server was not stopped during editing.
* The edited file is not the correct one `serverconfig.xml`.

#### The server is stuck on “Generating world”

* Wait a few minutes. Initial RWG generations are long.
* Reduce the world size if you changed it.
* Check for errors in the console.
* If it is stuck, open a support ticket with the logs: [Contact Oxygenserv support (ticket dashboard and Discord)](/en/dashboard/contacter-le-support-oxygenserv-ticket-dashboard-et-discord.md).

### FAQ

#### `GameName` or `WorldGenSeed` : what do I change?

Change `GameName` if you want a **new world folder**.\
Change `WorldGenSeed` if you want a **different generation**.

#### Do I need to stop the server before modifying?

Yes, it prevents files from being modified while they are being written.


---

# Agent Instructions: 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:

```
GET https://docs.oxygenserv.com/en/7-days-to-die/regenerer-une-carte-aleatoire-dans-7-days-to-die.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
