Setting up an Assetto Corsa server with AI traffic using AssettoServer and CSP
This guide explains how to turn a standard Assetto Corsa (2014) server into a freeroam server with AI traffic, using AssettoServer, Content Manager and Custom Shaders Patch. It does not apply to Assetto Corsa EVO.
By Salem ASSADI • Published 5 November 2026 • Updated 26 November 2026 • Related plan: Assetto Corsa server
Why an Assetto Corsa server with AI traffic needs a specific setup
A "standard" Assetto Corsa server can run practice, qualifying and race sessions between human players. What it cannot do is have server-driven civilian cars circulate on a large highway map. Freeroam traffic servers, where you weave through cars at high speed, rely on a separate community server and on Custom Shaders Patch (CSP) on the player side. This guide covers the original Assetto Corsa (2014) and AssettoServer, not Assetto Corsa EVO.
This guide covers the difference between the official server and AssettoServer, player-side requirements, preparing the pack in Content Manager, the server_cfg.ini, entry_list.ini and extra_cfg.yml files, where the AI spline goes, the CSP version requirement, the ports assigned by the panel, and finally troubleshooting the most common problems. Available plans and resources are detailed on the Assetto Corsa server hosting page.
Official acServer or AssettoServer: what changes
acServer is the dedicated server shipped by Kunos with the game. It reads cfg/server_cfg.ini and cfg/entry_list.ini and handles sessions, the lobby and slots, but has no concept of AI traffic. Every car on track is a connected player.
AssettoServer is an open-source community server, compatible with the game's protocol, that uses the same server_cfg.ini and entry_list.ini files and adds a cfg/extra_cfg.yml file. That file is what enables AI traffic, sets its density and enforces client-side requirements (notably a minimum CSP version). AssettoServer also supports CSP-specific features and a plugin system. Its official documentation is available at assettoserver.org.
| Criterion | acServer (Kunos) | AssettoServer |
|---|---|---|
| AI traffic | No | Yes (via extra_cfg.yml and an AI spline) |
| Configuration files | server_cfg.ini, entry_list.ini | The same, plus extra_cfg.yml |
| CSP version requirement | Possible via the Content Manager track-name trick | Dedicated setting in extra_cfg.yml |
| Typical use | Races, trackdays, drift | Freeroam, plugin-based servers |
In the Pelican panel, open your server's Startup tab to check which executable is launched and which variables are exposed. On RXCORP, the Trackday and AI Traffic plans start AssettoServer; for another plan, ask support before editing any files.
Requirements
Server side: choosing the right plan
For a freeroam server with AI traffic, the RXCORP product page points to the Freeroam (AI traffic) plan at €7.99 per month: 4 GB of RAM, 2.5 Intel Core i7-8700K vCPUs and 30 GB of SSD storage, for up to 32 drivers. The Discovery (1 GB) and Trackday (2 GB) plans target drifting on short tracks and track days in open sessions respectively. A large freeroam map, its cars and the traffic computation use considerably more memory and CPU than a drift track. The hardware (Intel Core i7-8700K for this plan, SSD storage, anti-DDoS filtering) is described on the infrastructure page.
Player side
- Assetto Corsa (Steam version), up to date.
- Content Manager: an alternative launcher that is practically essential for joining a modded server, downloading missing content and preparing the server pack.
- Custom Shaders Patch, installed from Content Manager (Settings, then Custom Shaders Patch). The server can enforce a minimum version: every player must install at least that version, otherwise the connection is refused.
- The server's track and cars, in versions identical to those uploaded to the server.
Step 1: prepare the server pack in Content Manager
- In Content Manager, open the Server tab and create a new preset.
- In the preset's main tab, choose the track (and its layout), the allowed cars, the server name and the passwords.
- In the entries tab (entry list), add as many slots as needed, taking into account the cars intended for the AI (see step 3).
- For a freeroam server, configure a single long, open Practice session, with no qualifying or race.
- Click Pack. Content Manager generates an archive containing the
cfg/folder and the content files the server needs incontent/.
Stop your server from the panel, then upload the contents of the archive to the server root using the web file manager or SFTP. For a large map, SFTP is more reliable than uploading through the browser.
On an RXCORP server (Trackday and AI Traffic plans), the server name, the passwords and the number of slots are set in the Startup tab of the panel: at every start they replace those of cfg/server_cfg.ini. Set the “Nombre de places” (number of slots) field to the number of cars in your entry_list.ini, traffic included: the extra cars are not loaded. The console must show “Loaded N cars” with N greater than zero.
Step 2: configure server_cfg.ini
The cfg/server_cfg.ini file contains the general settings. Here is an annotated excerpt for a freeroam server (the track and car values are examples to replace with the exact names of your folders in content/):
[SERVER]
NAME=Mon serveur Freeroam | Trafic IA
CARS=ma_voiture_1;ma_voiture_2;ma_voiture_trafic
TRACK=nom_du_dossier_piste
CONFIG_TRACK=nom_du_layout
MAX_CLIENTS=24
PASSWORD=
ADMIN_PASSWORD=motdepasse_admin_long
UDP_PORT=9600
TCP_PORT=9600
HTTP_PORT=8081
REGISTER_TO_LOBBY=1
PICKUP_MODE_ENABLED=1
LOOP_MODE=1
[PRACTICE]
NAME=Freeroam
TIME=600
IS_OPEN=1
Things to watch:
CARSmust list every model present inentry_list.ini, including those used by the traffic.CONFIG_TRACKstays empty if the track has no layout.PICKUP_MODE_ENABLED=1lets players take any free slot instead of a slot reserved for their GUID.- On RXCORP, the three ports are rewritten by the panel at every start (step 5): you do not have to correct them.
Step 3: entry_list.ini, player slots and AI slots
With AssettoServer, each entry in cfg/entry_list.ini can take an AI key that indicates whether the slot can be used by traffic:
AI=fixed: slot reserved for the AI, never assigned to a player.AI=auto: slot used by the AI as long as no player occupies it; it becomes available to a player who connects.- No
AIkey (orAI=none): player-only slot.
[CAR_0]
MODEL=ma_voiture_1
SKIN=
SPECTATOR_MODE=0
DRIVERNAME=
TEAM=
GUID=
BALLAST=0
RESTRICTOR=0
[CAR_1]
MODEL=ma_voiture_trafic
SKIN=
SPECTATOR_MODE=0
DRIVERNAME=
TEAM=
GUID=
BALLAST=0
RESTRICTOR=0
AI=fixed
Section numbers must be consecutive (CAR_0, CAR_1, CAR_2…). The number of AI slots determines how many traffic cars the server can run at the same time: without AI=fixed or AI=auto slots, no traffic will appear, even if AI is enabled. On RXCORP, MAX_CLIENTS is set in the Startup tab of the panel, “Nombre de places” (number of slots) field, 18 at delivery: enter the total number of entries, traffic included, otherwise the extra cars are not loaded. Keep in mind that each additional AI car uses CPU and bandwidth.
Step 4: enable traffic in extra_cfg.yml
On first start, AssettoServer creates a cfg/extra_cfg.yml file with its default values if it does not exist. So start the server once, stop it, then edit that generated file rather than writing one from scratch: it contains every valid key for your version, with their comments.
# Excerpt from cfg/extra_cfg.yml (AssettoServer)
# Minimum CSP version required from players (CSP build number)
MinimumCSPVersion: 2144
# Enables AI traffic
EnableAi: true
AiParams:
# Maximum number of AI cars handled by the server
MaxAiTargetCount: 300
# Target number of AI cars around each player
AiPerPlayerTargetCount: 10
The EnableAi, AiParams and MinimumCSPVersion keys are the basic settings. The other parameters in the AiParams section (traffic density, speeds, spawn distances, behavior at intersections…) vary between AssettoServer versions: refer to the comments in the generated file and to the official documentation rather than to examples copied from another server. The values above are indicative; the CSP number must match the build your content actually requires.
The track's AI spline
Traffic follows a spline, i.e. a path line stored in the track's ai folder. On the server, it must be in the folder of the track (or layout) in use:
content/tracks/nom_du_dossier_piste/nom_du_layout/ai/fast_lane.ai
# or, for a track without a layout:
content/tracks/nom_du_dossier_piste/ai/fast_lane.ai
The Content Manager pack does not necessarily include this file, since the official server does not need it: check that it is there and copy it from your local installation or from the traffic spline provided by the map's author. Some freeroam maps ship a dedicated traffic spline that differs from the original racing line; AssettoServer can also use a precomputed format (fast_lane.aip). Follow the track author's instructions.
Step 5: UDP, TCP and HTTP ports
An Assetto Corsa server uses three ports: a UDP port for in-game synchronization, a TCP port for client connections and an HTTP port that serves server information to the lobby and to Content Manager. On RXCORP, these ports are assigned by the Pelican panel: check the network tab (allocations) and the Startup tab of your server on panel.rxcorp.me. On the Trackday and AI Traffic plans, the panel rewrites UDP_PORT, TCP_PORT and HTTP_PORT in server_cfg.ini at every start: the values of your pack (9600 and 8081 by default) are replaced, you have nothing to correct.
Step 6: server-side CSP options
Beyond the minimum version, CSP can receive additional options sent by the server (sometimes called CSP "extra options"), for example to allow or restrict certain features. With AssettoServer, these options go in a dedicated file in the cfg/ folder (usually csp_extra_options.ini); their content depends on what you want to enable and on the CSP documentation. With acServer, Content Manager offers to require a CSP version by modifying the track name sent to the client. In every case, clearly state the required CSP version in the server description or on your Discord.
Then start the server and watch the Pelican console: AssettoServer reports loading the track, the AI spline and the available slots there. Any loading error shows up at this stage.
Troubleshooting common problems
No visible traffic
- Check that
EnableAi: trueis present inextra_cfg.ymland that the YAML indentation is correct (spaces, no tabs). - Make sure
entry_list.inicontainsAI=fixedorAI=autoslots, and that their models are listed inCARS. - Make sure
fast_lane.ai(or the provided traffic spline) is in the correctaifolder of the configured track and layout. - Read the console at startup: a missing or unreadable spline is reported there.
- Confirm in the Startup tab that AssettoServer, not acServer, is the one being launched.
Players rejected because of the CSP version
The player must update Custom Shaders Patch from Content Manager to a version at least equal to the one required by MinimumCSPVersion. If many players are blocked, check that the value is not higher than your content needs.
Desync, cars jumping
- Reduce the number of AI cars (
AiParamssettings) and slots, then watch CPU and RAM usage in the panel. - Check that the plan matches the use case: a large map with dense traffic on a 2 GB RAM plan will be unstable.
- Make sure the UDP ports are the ones from the panel; an incorrectly copied port prevents proper synchronization.
- Check status.rxcorp.me if you have any doubt about the network status.
Track or car missing on the client
Content Manager reports missing content when joining the server. The player must install exactly the same track and cars as the server; a different version causes a rejection by the integrity check. Provide download links in the server description or on your Discord. On the server side, check that the folder names in content/cars and content/tracks exactly match CARS, TRACK and CONFIG_TRACK.
Conclusion
A freeroam server with AI traffic relies on three elements: AssettoServer and its extra_cfg.yml file, an entry_list.ini that reserves slots for the AI, and a traffic spline placed in the track folder. On the player side, Content Manager and a sufficient CSP version are essential. Make a backup from the panel before every configuration or content change.
To compare plans, see the Assetto Corsa server page, and the hardware details on the infrastructure page. More tutorials are available in the RXCORP guides. For any question, support is reachable on Discord or at [email protected].