With the right configuration, you can turn your AssettoServer (Freeroam) game server into exactly the server you have in mind: your own name, password, favorite track, suitable cars, and rules such as time of day, driving assists, or damage. 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.
AssettoServer reads its settings from several files in the cfg folder, which you can find in the Files tab:
cfg/server_cfg.ini: your server's basic settings, such as its name, track, cars, time of day, driving assists, and weather.cfg/entry_list.ini: your server's car slots, which determine which car is assigned to each slot.cfg/extra_cfg.yml: AssettoServer's advanced settings, such as plugins, Steam authentication, and AI traffic.
You don't need to enter the most important values in the files manually: you can find them in ZapX under Configuration → Startup parameters. If you change a value there, your server writes it to cfg/server_cfg.ini the next time it starts. All other lines in the file are yours and remain as you entered them.
Each time it starts, your server only resets these values in cfg/server_cfg.ini:
- The
UDP_PORT,TCP_PORT, andHTTP_PORTports MAX_CLIENTSfrom Max. players
It's best to always change the server name, server password, list in lobby, track, track layout, and cars in the Startup Parameters. If you enter one of these values only in the file, the panel will continue to show the old value. As soon as you change the value in the startup parameters later, it will overwrite your entry in the file.
After you save the startup parameters, ZapX will offer to restart the server. Changes to files also only take effect after a restart. It's best to edit the files while the server is stopped.
| Startup parameter | Description |
|---|---|
| Server name | Your server's name in the server list. Default: ZapX AssettoServer |
| Server password | Password required to join. Leave blank for a public server without a password. |
| Show in lobby | 1 lists your server in the public server list (lobby) (default); with 0, players can only reach it by direct connection. |
| Max. players | The number of players who can drive on your server at the same time. Default: 10 |
| Track | The track's folder name under content/tracks. Default: imola |
| Track layout | The track layout, if it has more than one, for example layout_gp. Leave blank for tracks with only one layout. |
| Vehicles | The cars' folder names under content/cars, separated by ; or ,. Default: abarth500_s1 |
| Time zone | Your server's time zone, for example UTC (default) or Europe/Berlin. |
During setup, your server copies the original tracks and cars from the Assetto Corsa Dedicated Server to the content folder. You can also upload custom tracks and cars, as described in Installing mods.
- Open Startup parameters in the Configuration tab.
- For Track, enter the exact folder name of the track from
content/tracks. Capitalization matters. - If the track has multiple layouts, enter the name of the layout folder found inside the track's folder in Track layout.
- Save and restart your server.
After startup, you can see which track is actually running in the Console, on the line containing Track:.
If your server can't find the folder specified under Track, it will start on the first track it finds under content/tracks and write a warning to the Console. If the specified Track layout doesn't exist for that track, it will leave the layout blank.
Some tracks require a minimum version of the Custom Shaders Patch (CSP) and are stored in the content/tracks/csp folder for this reason. Enter these tracks in the format csp/<Version>/../<Foldername>. Your server creates the required folders automatically at startup.
For Vehicles, enter the folder names from content/cars, for example abarth500_s1;my_car. Your server checks the list at startup:
- It skips names that don't have a corresponding folder.
- It counts a car listed more than once only once.
- If it can't find any matching cars, it uses the first one it finds under
content/cars.
You can see which cars are active in the Console, on the line containing Cars:.
You can open and edit cfg/server_cfg.ini in the cfg folder in the Files tab. Settings such as time of day, driving assists, and damage are in the [SERVER] section. ZapX sets these values during setup:
| Entry | Description | Default |
|---|---|---|
SUN_ANGLE | Time of day as the sun's position: 0 is 1:00 PM, and each increase of 16 means one hour later. So 16 is 2:00 PM, and -208 is midnight. | 16 |
TIME_OF_DAY_MULT | How quickly time passes. 1 corresponds to real time. | 1 |
FUEL_RATE | Fuel consumption as a percentage; 100 is normal. 0 = no consumption | 0 |
DAMAGE_MULTIPLIER | Vehicle damage as a percentage; 100 is normal. 0 = no damage | 0 |
TYRE_WEAR_RATE | Tire wear as a percentage; 100 is normal. 0 = no wear | 0 |
ALLOWED_TYRES_OUT | How many tires are allowed off the track. -1 = unlimited | -1 |
ABS_ALLOWED | ABS allowed (1) or disabled (0) | 1 |
TC_ALLOWED | Traction control allowed (1) or disabled (0) | 1 |
STABILITY_ALLOWED | Stability control allowed (1) or disabled (0) | 0 |
AUTOCLUTCH_ALLOWED | Automatic clutch allowed (1) or disabled (0) | 0 |
TYRE_BLANKETS_ALLOWED | Preheated tires (1) or cold tires (0) | 0 |
WELCOME_MESSAGE | File containing the welcome message players see when they join | welcome.txt |
The welcome message itself is in the welcome.txt file in your server's root folder. If you don't want to show a message, leave the value after WELCOME_MESSAGE= blank. If you delete the entire line, your server will add welcome.txt again the next time it starts.
You can configure the weather in the [WEATHER_0] section using GRAPHICS; the default is 3_clear. The [PRACTICE] section with INFINITE=1 ensures that the Freeroam session runs indefinitely and players aren't sent back to the pits when a fixed time limit expires.
As an admin, you can also change the time in the in-game chat while the server is running, for example with /settime 15:30. See Become an admin to learn how to become an admin. If you'd rather configure server_cfg.ini using a form, you'll find the AssettoServer Configuration Generator in the Tools tab.
The admin password is in the ADMIN_PASSWORD= line. ZapX generates it automatically during setup. Your server never replaces an existing admin password. If the value is blank, your server will add an admin password again the next time it starts. So, any custom password you enter here will be kept.
As long as you don't edit cfg/entry_list.ini yourself, your server recreates it every time it starts: it creates as many slots as specified under Max. players, assigns the cars from Vehicles to them in order, and uses the first skin for each car.
If you edit the file or upload your own, for example with specific skins or slots for AI traffic, your server keeps it each time it starts. The Console will then show Entry list: keeping your cfg/entry_list.ini. It automatically adds the cars from your list to the car list in server_cfg.ini. To restore the automatically generated list, delete cfg/entry_list.ini. Your server will create it again the next time it starts.
Your custom cfg/entry_list.ini must contain at least one entry, such as [CAR_0], or your server won't start. Each car in the list must have a corresponding folder under content/cars; otherwise, the Console will show a warning.
AssettoServer can fill slots in entry_list.ini with AI cars, for example to add traffic on large highway maps. Here's how:
- Set
EnableAi: trueincfg/extra_cfg.yml. - In
cfg/entry_list.ini, mark slots for AI traffic withAI=fixedand player slots withAI=none:
[CAR_0]
MODEL=abarth500_s1
SKIN=<Ordnername der Lackierung>
AI=none
[CAR_1]
MODEL=abarth500_s1
SKIN=<Ordnername der Lackierung>
AI=fixed
- The track needs an AI fast lane, for example
fast_lane.aipin the track'saifolder:content/tracks/<Strecke>/ai/fast_lane.aip. - Save the files and restart your server.
When AI traffic is enabled, slots marked with AI=fixed don't count toward the player slots. Your server then loads all the entries in the list, as long as the number of player slots doesn't exceed the value set under Max. players. If there are more player slots, it loads only the first entries and shows a warning in the Console. Mark the additional slots with AI=fixed or increase Max. players.
AssettoServer creates cfg/extra_cfg.yml automatically on its first startup, with all settings, their default values, and brief explanations. If the file is empty, your server creates it again the next time it starts. Here are the most important entries:
| Entry | Description | Guide |
|---|---|---|
EnablePlugins | List of plugins your server loads | Installing plugins |
UseSteamAuth | Steam authentication for players; required for permanent admins in admins.txt | Become an admin, Whitelist |
EnableAi | Enables AI traffic | see above |
EnableWeatherFx | Weather through the Custom Shaders Patch, with rain and smooth transitions; players need CSP version 0.1.76 or later | Installing plugins |
IgnoreConfigurationErrors | Allows the server to start despite certain errors, for example missing track parameters | Common issues |
extra_cfg.yml is a YAML file: indentation and colons must be correct. Plugin settings are at the very bottom in their own blocks, each starting with ---. It's best to back up the file before making major changes.
Your AssettoServer (Freeroam) is now configured the way you want it. See Installing mods to learn how to upload custom tracks and cars, and Connect to the server to find out how to join. 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! 🙂