With the right configuration, you can turn your Assetto Corsa Competizione server into exactly the server you need for your league or race nights: your own name, the right track and car class, session lengths to suit you, and rules that keep the field clean. In this guide, we’ll show you which settings are available, where to find them in ZapX, and what you can adjust directly in the configuration files.
Your server reads its settings from three JSON files in the cfg folder:
configuration.json: network, ports, and connectionssettings.json: server name, passwords, car slots, and server rulesevent.json: track, weather, and sessions
However, you don’t need to change the most important values manually: you’ll find them in ZapX under the Configuration tab in Startup parameters. Every time your server starts, it writes the values from the startup parameters to the appropriate places in these files. All other entries remain unchanged, and you can edit them directly in the file, either in the raw text view under the Configuration tab or in the cfg folder under the Files tab.
Always change values that are available as startup parameters in the Startup Parameters, not directly in the file. Any changes made in the file will be overwritten with the startup parameter values the next time the server starts.
After you save, ZapX will offer to restart the server. Your server only reads the files when it starts, so your changes won’t take effect until after the restart.
| Startup parameter | Meaning |
|---|---|
| Server name | Your server’s name in the in-game server list. Default: ZapX Assetto Corsa Competizione Server |
| Server password | Password drivers need to join. Leave it blank for an open server. |
| Spectator password | Password for spectators who join without their own car. Spectators don’t occupy a car slot. |
| Max. players | The number of connections your server accepts at once, up to 64. Default: 24 |
| Vehicle slots | The number of cars allowed on the track at once. Default: 10; see below for more information |
| Show in lobby | Shows your server in the public in-game server list. Default: enabled |
| Track | The track used for racing, such as monza (default) or spa |
| Vehicle class | The car class on your server: GT3 (default), GT4, GTC, TCX, or FreeForAll |
| Practice duration | Duration of free practice in minutes. 0 skips practice. Default: 30 |
| Qualifying duration | Duration of qualifying in minutes. 0 skips qualifying. Default: 15 |
| Race duration | Duration of the race in minutes. Default: 20 |
| Ignore early quits | Off (default): Your server disconnects drivers if it doesn’t receive data from them for more than 5 seconds. On: It keeps them connected. |
Your server overrides the tcpPort and udpPort in configuration.json with the ports assigned to it by ZapX every time it starts. Changing them there won’t have any effect.
For Track, enter the track’s internal name exactly as shown in this list, using lowercase letters:
barcelona, brands_hatch, cota, donington, hungaroring, imola, indianapolis, kyalami, laguna_seca, misano, monza, mount_panorama, nurburgring, nurburgring_24h, oulton_park, paul_ricard, red_bull_ring, silverstone, snetterton, spa, suzuka, valencia, watkins_glen, zandvoort, zolder
You don’t need to include a year, as in monza_2019; your server removes it automatically.
Use Practice duration, Qualifying duration, and Race duration to configure your race weekend. Your server rebuilds the sessions in event.json from these values every time it starts. It sets the time of day as follows: practice starts at 12:00, qualifying at 14:00, and the race at 16:00. During the race, time passes twice as fast. If you edit the sessions directly in the file, your server will overwrite them the next time it starts.
Assetto Corsa Competizione requires at least one practice or qualifying session before the race. If you set both Practice duration and Qualifying duration to 0, your server automatically adds a 5-minute practice session.
The number of cars your players see as available slots in the game doesn’t depend on Vehicle slots alone. Your server automatically reduces the number if:
- Max. players is lower than Vehicle slots,
- the track has fewer pit boxes, such as Zandvoort with 25,
- your server is listed publicly in the lobby and the Safety Rating and Track Medals requirements are too low. Without requirements, a maximum of 10 cars is allowed; more than 30 is never possible.
See Car Slot Requirements to find out what values you need for more than 10 cars.
If you turn off Show in lobby, your server will no longer appear in the in-game server list, so your players won’t be able to find it there. For private races, leave this option enabled and protect your server with a Server password.
Your server doesn’t override these entries in cfg/settings.json, so you can change them freely:
| Entry | Meaning |
|---|---|
safetyRatingRequirement | Minimum Safety Rating (SA) required to join, from 0 to 99. -1 (default) disables the requirement. |
trackMedalsRequirement | Minimum number of Track Medals required to join. -1 (default) disables the requirement. |
racecraftRatingRequirement | Minimum Racecraft Rating (RC) required to join, from 0 to 99. -1 (default) disables the requirement. This doesn’t affect the number of slots. |
allowAutoDQ | 1 (default): Drivers who repeatedly cut corners are automatically disqualified. 0: Instead of disqualification, they receive a stop-and-go penalty of up to 30 seconds. Servers in the lobby always use 1. |
dumpLeaderboards | 1: Your server saves the results of each session as a JSON file in the results folder. Default: 0 |
Your server overrides the server name, passwords, Vehicle slots, Vehicle class, and ignorePrematureDisconnects with the values from the startup parameters every time it starts. It also sets the admin password (adminPassword) itself every time it starts: ZapX creates it automatically during setup. You can view it in the file, but changing it there won’t have any effect. See Become an Admin to learn how to make yourself an admin in the game.
In cfg/event.json, your server only overrides track and sessions. Set the weather there yourself:
| Entry | Meaning |
|---|---|
ambientTemp | Air temperature in °C, from 12 to 45. Default: 22 |
cloudLevel | Cloud cover from 0.0 (clear) to 1.0. Default: 0.1 |
rain | Rain from 0.0 (dry) to 1.0. Default: 0.0 |
weatherRandomness | 0 keeps the weather constant; higher values up to 10 make it more changeable. Default: 1 |
preRaceWaitingTimeSeconds | Waiting time before the race starts, in seconds. On servers in the lobby, the minimum is 80. Default: 80 |
sessionOverTimeSeconds | How long a session continues after time runs out, in seconds, so drivers can finish their lap. Default: 120 |
You can also add other files in the game’s format to the cfg folder for your server to read when it starts, for example:
entrylist.json: fixed race numbers, driver names, ballast, or admin rights for specific Steam accounts. An entry with"isServerAdmin": 1automatically makes the driver an admin.bop.json: Balance of Performance settings with ballast and restrictor values for each track and car model.assistRules.jsonandeventRules.json: permitted driving assists, as well as mandatory pit stops and stint times.
Some rules only apply to private servers that aren’t listed in the lobby: on a server in the lobby, your server ignores mandatory pit stops and stint times from eventRules.json and "forceEntryList": 1 in entrylist.json.
After each change to a JSON file, check that it’s still valid—for example, make sure all commas and brackets are correct. If configuration.json, settings.json, or event.json is no longer valid JSON, your server replaces it with a file containing default values the next time it starts, and your custom entries will be lost. Back up the files before making major changes. If entrylist.json is invalid, your server skips it on startup; you’ll find a notice about this in the Console.
Your Assetto Corsa Competizione server is now set up just the way you want it. See Connect to the Server to learn how to get your players onto the server, and Become an Admin to learn how to give yourself admin rights. If something isn’t working as expected, our Common Issues guide can help. If you have any other questions, our support team is available every day! 🙂
