# How to Create a Superflat World on Your Minecraft Server (/docs/minecraft/create-superflat-world)



A superflat world generates completely flat terrain, making it ideal for building servers, redstone testing, PvP arenas, and creative mode.

Creating a Superflat World [#creating-a-superflat-world]

<div className="fd-steps">
  <div className="fd-step">
    Stop your server [#1-stop-your-server]

    Access the [XGamingServer panel](https://panel.xgamingserver.com) and stop your server.
  </div>

  <div className="fd-step">
    Set the level type to flat [#2-set-the-level-type-to-flat]

    Go to `Files`, open `server.properties`, and set:

    ```
    level-type=minecraft\:flat
    ```
  </div>

  <div className="fd-step">
    Configure custom layers (optional) [#3-configure-custom-layers-optional]

    To customize the layers of your flat world, set the `generator-settings` field in `server.properties`. The format is JSON (1.13+):

    ```
    generator-settings={"layers":[{"block":"bedrock","height":1},{"block":"stone","height":3},{"block":"dirt","height":3},{"block":"grass_block","height":1}],"biome":"plains","structures":{"stronghold":{}}}
    ```
  </div>

  <div className="fd-step">
    Delete the existing world [#4-delete-the-existing-world]

    Go to `Files` and delete the `world` folder to generate a fresh world with the new settings.

    > ⚠️ **Warning:** This permanently deletes your current world. Create a backup via `Backups` first.
  </div>

  <div className="fd-step">
    Start your server [#5-start-your-server]

    Start the server. A new flat world will generate.
  </div>
</div>

Common Presets [#common-presets]

**Classic Flat (default):**

```
{"layers":[{"block":"bedrock","height":1},{"block":"dirt","height":2},{"block":"grass_block","height":1}],"biome":"plains"}
```

**Redstone Ready (stone slab surface):**

```
{"layers":[{"block":"bedrock","height":1},{"block":"stone","height":52},{"block":"sandstone","height":3}],"biome":"desert"}
```

**Void World (empty, for custom builds):**

```
{"layers":[{"block":"air","height":1}],"biome":"the_void"}
```

> 💡 **Tip:** The default superflat world is only 4 blocks deep, which means mobs can spawn in caves below. Use a deeper stone layer if you want to avoid this.

See also: [Change World Type](/docs/minecraft/change-level-type) | [Reset World](/docs/minecraft/wipe-world)

If you need help, join our [Discord](https://discord.xgamingserver.com/).
