> For the complete documentation index, see [llms.txt](https://docs.oxygenserv.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oxygenserv.com/en/7-days-to-die/regenerer-une-carte-aleatoire-dans-7-days-to-die.md).

# 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.
