Short answer: the Assetto Corsa Competizione server is configured entirely through JSON files in the cfg folder of the server: configuration.json (ports and connections), settings.json (name, passwords, car group, slots), event.json (track, weather and sessions), plus eventRules.json and assistRules.json for private servers. Save them as UTF-16 LE. Everything below is from Kunos Simulazioni's ACC Server Admin Handbook, version 1.10.2.
Get the server and keep the files valid
The server files are in your ACC Steam installation, in Steam\steamapps\common\Assetto Corsa Competizione\server. For a first setup, copy that folder to your dedicated machine. For updates, copy and overwrite only accServer.exe. If the server does not start, read the log folder: when it detects an implausible configuration it prints a reasonably precise error and closes immediately.
- Encoding: files must be UTF-16 LE. Kunos warns that UTF-8 may seem to work but leads to wrong readings.
- Clean start: delete the
.jsonfiles and start the server once; it regenerates them with current defaults. - New properties: lower the
configVersionin a file to get new properties generated. Certain advanced settings stay hidden when they equal their default.
Kunos also advises against running a server on a private PC: it means forwarding ports onto your own system, and home upload bandwidth is often limited asymmetrically, which hurts server performance for everyone.
configuration.json: ports and connections
{
"udpPort": 9201,
"tcpPort": 9201,
"maxConnections": 85,
"lanDiscovery": 1,
"registerToLobby": 1,
"configVersion": 1
}
Both ports must be unique on the system, allowed by the firewall and reachable from the internet. Clients use the TCP port to connect and the UDP port to stream car positions and for the ping test; if your server never shows a ping value, the UDP port is not reachable.
maxConnections: the most connections accepted at once (it replaces the oldermaxClients). The gap between it andmaxCarSlotsis the room for spectators and entry list connections.registerToLobby: 0 keeps the server out of the lobby backend, which makes it a Private Multiplayer server and suits LAN sessions.lanDiscovery: whether the server answers LAN discovery requests; Kunos says it can be turned off for dedicated servers.publicIP: optional explicit public address; if used, the server must answer an extra handshake or it shuts down on connecting to the backend.
settings.json: identity and rules
{
"serverName": "Kunos Test Server #03",
"adminPassword": "adminPw123",
"carGroup": "GT4",
"trackMedalsRequirement": 3,
"safetyRatingRequirement": 49,
"racecraftRatingRequirement": -1,
"password": "accessPw123",
"spectatorPassword": "spectPw432",
"maxCarSlots": 30,
"dumpLeaderboards": 0,
"isRaceLocked": 1,
"randomizeTrackWhenEmpty": 0,
"allowAutoDQ": 1,
"shortFormationLap": 0,
"formationLapType": 3
}
That is Kunos' own example, with placeholder passwords. What each property does:
| Property | Meaning |
|---|---|
serverName | Name shown in the ACC UI. |
adminPassword | Password players type after /admin to elevate to server admin. |
carGroup | FreeForAll, GT3, GT4, GT2, GTC or TCX. FreeForAll accepts any car the driver picked as primary car; GTC covers Cup cars, TCX the BMW M2. |
trackMedalsRequirement | Track medals a driver needs for the track: 0, 1, 2 or 3. |
safetyRatingRequirement, racecraftRatingRequirement | Minimum rating to join, -1 or 0 to 99. |
password | Setting one makes the server Private Multiplayer. |
spectatorPassword | Lets people join as spectators. Must differ from password. |
maxCarSlots | Cars the server can hold. Overridden if the track has fewer pit slots, and capped at 30 for public multiplayer. |
dumpLeaderboards | 1 writes the final standings of each session to a results folder, which you must create by hand. |
isRaceLocked | 0 allows joining during a race session. Not useful on public servers. |
randomizeTrackWhenEmpty | 1 switches to a random track when the last driver leaves, which resets to the first session. |
allowAutoDQ | 0 hands out 30 second Stop&Go penalties instead of automatic disqualification, giving the race director 3 laps to use /dq or /clear. |
formationLapType | 3 is the default formation lap with position control and UI, 0 the old limiter lap, 1 a free formation lap for private servers. |
dumpEntryList | 1 saves an entry list at the end of any qualifying session, a quick start for building one. |
centralEntryListPath | Overrides the default cfg/entrylist.json so several servers can share one entry list. Use forward slashes; backslashes will not work. |
ignorePrematureDisconnects | Leave at 1 (default). Kunos says there is no sane reason to turn off the fix that stops drivers losing connections at random. |
event.json: the race weekend
This file defines the weekend the server loops through. It is designed to be swapped, so you can keep several templates and rename or overwrite them.
{
"track": "spa",
"preRaceWaitingTimeSeconds": 60,
"sessionOverTimeSeconds": 120,
"ambientTemp": 26,
"cloudLevel": 0.3,
"rain": 0.0,
"weatherRandomness": 3,
"sessions": [
{ "hourOfDay": 10, "dayOfWeekend": 1, "timeMultiplier": 1, "sessionType": "P", "sessionDurationMinutes": 20 },
{ "hourOfDay": 17, "dayOfWeekend": 2, "timeMultiplier": 8, "sessionType": "Q", "sessionDurationMinutes": 10 },
{ "hourOfDay": 16, "dayOfWeekend": 3, "timeMultiplier": 3, "sessionType": "R", "sessionDurationMinutes": 20 }
]
}
This follows the example in the handbook, which lists two qualifying sessions; the last one is changed to R here to show a race session. Kunos' rule is that at least one non-race session must be set up.
track: a track key from the handbook's track list. A wrong value prints the available keys in the log.preRaceWaitingTimeSeconds: preparation time before a race, never under 30 seconds.sessionOverTimeSeconds: how long after the timer hits 0:00 a session closes by force. Kunos recommends roughly 107% of the expected lap time and warns that the 2-minute default does not cover tracks such as Spa or Silverstone.cloudLevelandrain: 0.0 to 1.0 in steps of 0.1.weatherRandomness: 0 is static weather, 1 to 4 fairly realistic, 5 to 7 more sensational.- Session fields:
hourOfDay0 to 23,dayOfWeekend1 (Friday), 2 (Saturday) or 3 (Sunday),timeMultiplier0 to 24,sessionTypeP, Q or R, andsessionDurationMinutes. Avoid jumping backwards, for example from Saturday to Friday.
Weather presets from Kunos
| Goal | cloudLevel | rain | weatherRandomness |
|---|---|---|---|
| Anything can happen | 0.25 to 0.35 | 0.2 | 5 to 7 |
| Guaranteed overcast, no rain | 0.6 to 1.0 | 0.0 | 1 to 3 |
| Guaranteed sunny | 0.0 to 0.4 | 0.0 | 1 to 3 |
| Overcast with possible rain | 0.6 to 0.9 | 0.0 | 4 to 7 |
| Light to medium rain all weekend | 0.6 to 0.8 | 0.1 to 0.3 | 1 to 3 |
| Medium to heavy rain | 0.6 to 1.0 | 0.45 to 0.8 | 1 to 3 |
The track surface follows real time and is not sped up by timeMultiplier, while weather changes are.
eventRules.json and assistRules.json
Public multiplayer servers ignore both files and use defaults, so they apply to private servers.
eventRules.json sets pit stop rules: qualifyStandingType (1 fastest lap, 2 average lap, Kunos says to use 1), pitWindowLengthSec (-1 off), driverStintTimeSec (-1 off), mandatoryPitstopCount (0 off; a car that skips them is disqualified at the end), maxTotalDrivingTime (-1 off), maxDriversCount, isRefuellingAllowedInRace, isRefuellingTimeFixed, isMandatoryPitstopRefuellingRequired, isMandatoryPitstopTyreChangeRequired, isMandatoryPitstopSwapDriverRequired and tyreSetCount (experimental, not supported). Set driverStintTimeSec, maxTotalDrivingTime and maxDriversCount together and size them to the race length plus overtime. Kunos' example: a 3 hour race with a 65 minute stint time and 65 minute total driving time gives 65 minutes for entries of three drivers and 105 minutes for entries of two.
assistRules.json forces assists off or caps them: stabilityControlLevelMax (default 100), disableAutosteer (gamepad aid), and disableAutoLights, disableAutoWiper, disableAutoEngineStart, disableAutoPitLimiter, disableAutoGear, disableAutoClutch, disableIdealLine, each 0 or 1. Kunos warns that disabling an assist does not change how it looks in the menu, so tell your drivers first, and that stability control and autosteer are the usual candidates for league racing.
Next
For running the race once the server is up, see ACC server admin commands, penalties and entry lists. BlackBox does not sell Assetto Corsa Competizione servers; the Assetto Corsa Competizione page says what is on offer instead, and the games list shows what can be ordered.
Questions answered above
What encoding do ACC server JSON files need?
UTF-16 LE. Kunos says UTF-8 may seem to work but leads to wrong readings.
Which ports does the ACC server use?
configuration.json ships with udpPort 9201 and tcpPort 9201. Both must be unique on the machine, allowed by the firewall and reachable from the internet.
Sources
Settings, defaults and commands are as the developer published them on the dates shown. Games change between updates: check the source if a value looks different on your server.