# How To Configure Your Eco Server (/docs/eco/configure-your-server)



import { Step, Steps } from 'fumadocs-ui/components/steps';
import { Files, Folder, File } from 'fumadocs-ui/components/files';

Eco server settings are stored in `.eco` configuration files inside the **Configs** folder on your server. Each file controls a different aspect of the server.

Server File Structure [#server-file-structure]

<Files>
  <Folder name="Eco_Data" defaultOpen>
    <Folder name="Server" defaultOpen>
      <Folder name="Configs" defaultOpen>
        <File name="Network.eco" />

        <File name="WorldGenerator.eco" />

        <File name="Difficulty.eco" />

        <File name="Disasters.eco" />

        <File name="Users.eco" />
      </Folder>

      <Folder name="Storage">
        <File name="Game.eco" />

        <File name="Game.db" />

        <Folder name="Backup" />
      </Folder>

      <Folder name="Mods" />
    </Folder>
  </Folder>
</Files>

| File                 | Purpose                                                                                        |
| -------------------- | ---------------------------------------------------------------------------------------------- |
| `Network.eco`        | Server name, ports, password, public/private visibility, max connections                       |
| `WorldGenerator.eco` | World size, seed, biomes (**requires wipe to apply**)                                          |
| `Difficulty.eco`     | Skill cost / XP multipliers and difficulty modifiers                                           |
| `Disasters.eco`      | **Meteor settings** — `CreateMeteor` and `MeteorImpactDays` live here, not in `Difficulty.eco` |
| `Users.eco`          | Whitelist and admin list                                                                       |

How to Edit Config Files [#how-to-edit-config-files]

<Steps>
  <Step>
    Stop your server [#stop-your-server]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Console** in the sidebar and stop the server. Eco overwrites config files on shutdown — always edit while stopped.
  </Step>

  <Step>
    Open the Configs folder [#open-the-configs-folder]

    Click **Files** in the sidebar and navigate to `Eco/Eco_Data/Server/Configs/`.
  </Step>

  <Step>
    Edit and save [#edit-and-save]

    Click any `.eco` file to open it in the editor. Make your changes (the format is JSON-like), click **Save Content**, then start your server from **Console**.
  </Step>
</Steps>

Key Settings [#key-settings]

Server Name and Description [#server-name-and-description]

In `Network.eco`:

```json
"Name": "My Eco Server",
"Description": "A friendly Eco community server"
```

Public or Private [#public-or-private]

```json
"PublicServer": true
```

Set to `false` to hide from the server browser. Players can still connect via direct connect.

Game and Web Ports [#game-and-web-ports]

The default ports are **3000 (UDP)** for the game and **3001 (TCP)** for the web interface:

```json
"GameServerPort": 3000,
"WebServerPort": 3001
```

World Size [#world-size]

In `WorldGenerator.eco`. **This requires a server wipe** — keep dimensions divisible by 4:

```json
"Size": {"x": 100, "y": 100}
```

| Size                 | Recommended Players |
| -------------------- | ------------------- |
| 72×72 (Small)        | 5–15                |
| 100×100 (Medium)     | 15–30               |
| 140×140 (Large)      | 30–50               |
| 200×200 (Very Large) | 50–100              |

Applying Changes [#applying-changes]

Most settings take effect after restarting the server from **Console**.

> **Important:** Changes to `WorldGenerator.eco` (world size, terrain) only apply when you [reset the server](/docs/eco/reset-server) and regenerate the world.

> **Tip:** Before making major changes, go to **Backups** in the panel sidebar and create a backup. You can roll back instantly if something goes wrong.

Related Guides [#related-guides]

* [Connect to Your Server](/docs/eco/connect-to-your-server)
* [Set a Password](/docs/eco/set-a-password)
* [Adding Admins](/docs/eco/adding-admins)
* [Reset Your Server](/docs/eco/reset-server)
