# Server Settings & Player Limits (/docs/assetto-corsa-freeroam/server-settings)



Beyond AI traffic and weather, `cfg/extra_cfg.yml` controls how the server treats players. The most useful settings:

```yaml
MaxPing: 500                 # players above this ping (ms) are kicked
MaxPingSeconds: 10           # how long they can stay over before the kick
EnableAntiAfk: true          # kick idle players
MaxAfkTimeMinutes: 10        # idle time before an AFK kick
UseSteamAuth: false          # require a valid Steam session to join
ServerDescription: "Cruise & Traffic | XGamingServer"
```

| Setting             | Recommended               | Notes                                                        |
| ------------------- | ------------------------- | ------------------------------------------------------------ |
| `MaxPing`           | 400–600                   | Lower keeps the server smooth; too low kicks distant players |
| `EnableAntiAfk`     | `true`                    | Frees slots taken by idle players                            |
| `UseSteamAuth`      | `true` for public servers | Blocks cracked/pirated clients                               |
| `ServerDescription` | your tagline              | Shown to players in Content Manager                          |

Server **name**, **password** and **max clients** are set in the panel's Startup variables, not here.

Generate a full file with the [Freeroam Config Generator](https://xgamingserver.com/tools/assetto-corsa/freeroam-config), then paste it into `cfg/extra_cfg.yml` and restart.
