# American Truck Simulator server_config.sii Reference (/docs/american-truck-simulator/server-config)



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

All ATS dedicated server settings live in `server_config.sii`, using the SCS `.sii` format. This file is auto-generated on first server launch.

File Location [#file-location]

<Files>
  <Folder name="American Truck Simulator" defaultOpen>
    <File name="server_config.sii" />

    <File name="server_packages.sii" />

    <File name="server_packages.dat" />
  </Folder>
</Files>

Editing the Config [#editing-the-config]

1. Stop your server
2. In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Files**
3. Open `server_config.sii`
4. Edit settings, save, and start your server

.sii File Format [#sii-file-format]

```
SiiNunit
{
server_config : .unnamed {
 lobby_name: "My ATS Server"
 max_players: 8
 ...
}
}
```

Settings use `key: value` format. Strings are in double quotes. Booleans are `true`/`false`.

***

Server Identity [#server-identity]

| Setting              | Default                                       | Max Length | Description                                                                      |
| -------------------- | --------------------------------------------- | :--------: | -------------------------------------------------------------------------------- |
| `lobby_name`         | `"American Truck Simulator Dedicated Server"` |  63 chars  | Server name in the session browser                                               |
| `description`        | `""`                                          |  63 chars  | Server description                                                               |
| `welcome_message`    | `""`                                          |  127 chars | Message shown when players join                                                  |
| `password`           | `""`                                          |  63 chars  | Join password (empty = public)                                                   |
| `server_logon_token` | `""`                                          |      —     | [GSLT token](/docs/american-truck-simulator/gslt-token) for persistent server ID |

Players & Vehicles [#players--vehicles]

| Setting                        | Default | Description                                  |
| ------------------------------ | ------- | -------------------------------------------- |
| `max_players`                  | `8`     | Max concurrent players (**hard cap: 8**)     |
| `max_vehicles_total`           | `100`   | Max AI vehicles across the entire server     |
| `max_ai_vehicles_player`       | `50`    | Max AI vehicles visible per player           |
| `max_ai_vehicles_player_spawn` | `50`    | Max AI vehicles that can spawn near a player |

Gameplay [#gameplay]

| Setting               | Default | Description                                        |
| --------------------- | ------- | -------------------------------------------------- |
| `player_damage`       | `true`  | Players take damage from other players' collisions |
| `traffic`             | `true`  | Enable AI traffic                                  |
| `force_speed_limiter` | `false` | Force the in-game speed limiter on all players     |
| `name_tags`           | `true`  | Show player names above trucks                     |
| `timezones`           | `0`     | 0 = disabled, 1 or 2 = time varies by map region   |

Collision & Ghosting [#collision--ghosting]

| Setting                | Default | Description                                      |
| ---------------------- | ------- | ------------------------------------------------ |
| `hide_in_company`      | `false` | Ghost players in company areas                   |
| `hide_colliding`       | `true`  | Hide colliding vehicles after teleportation      |
| `service_no_collision` | `false` | Disable collision at gas stations and rest stops |
| `in_menu_ghosting`     | `false` | Ghost players who are paused or in menus         |

Network [#network]

| Setting                     | Default | Description                        |
| --------------------------- | ------- | ---------------------------------- |
| `connection_dedicated_port` | `27015` | Game port (TCP + UDP)              |
| `query_dedicated_port`      | `27016` | Query port (TCP + UDP)             |
| `connection_virtual_port`   | `100`   | Steam relay virtual port (100–200) |
| `query_virtual_port`        | `101`   | Steam relay query port (100–200)   |

> 📝 **Note:** Virtual ports are for Steam relay and don't need port forwarding. Only the dedicated ports need forwarding.

Mods & Visibility [#mods--visibility]

| Setting          | Default | Description                                  |
| ---------------- | ------- | -------------------------------------------- |
| `mods_optioning` | `false` | Enforce mod requirements for joining players |
| `friends_only`   | `false` | Not applicable for dedicated servers         |
| `show_server`    | `true`  | Not applicable for dedicated servers         |

Moderators [#moderators]

```
 moderator_list: 2
 moderator_list[0]: 76561198001220177
 moderator_list[1]: 76561198012345678
```

See [Moderator Setup](/docs/american-truck-simulator/moderator-setup) for details.

Example Configuration [#example-configuration]

```
SiiNunit
{
server_config : .unnamed {
 lobby_name: "XGaming Trucking Co."
 description: "Casual trucking - all welcome!"
 welcome_message: "Welcome! Drive safe and have fun."
 password: ""
 max_players: 8
 max_vehicles_total: 100
 max_ai_vehicles_player: 50
 max_ai_vehicles_player_spawn: 50
 connection_dedicated_port: 27015
 query_dedicated_port: 27016
 server_logon_token: ""
 player_damage: false
 traffic: true
 hide_in_company: true
 hide_colliding: true
 force_speed_limiter: false
 mods_optioning: false
 service_no_collision: true
 in_menu_ghosting: true
 name_tags: true
 moderator_list: 0
}
}
```

Related Guides [#related-guides]

* [GSLT Token](/docs/american-truck-simulator/gslt-token)
* [Moderator Setup](/docs/american-truck-simulator/moderator-setup)
* [Mod Setup](/docs/american-truck-simulator/mod-setup)
* [Ports Reference](/docs/american-truck-simulator/ports-reference)
