Assetto Corsa Traffic Server Commands
Admin Commands from AssettoServer.org
Teleport player to pits #
/pit <id>
Parameter | Description |
---|---|
id | The car π ID or name of the player to be teleported |
Kick player #
/kick <id> <reason>
/kick_id <id> <reason>
Parameter | Description |
---|---|
id | The car π ID or name of the player to be kicked |
reason | Optional, will display a reason on why the player was kicked. |
Ban player #
/ban <id> <reason>
/ban_id <id> <reason>
Parameter | Description |
---|---|
id | The car π ID or name of the player to be banned |
reason | Optional, will display a reason on why the player was banned. |
Set server time #
/settime <time>
Parameter | Description |
---|---|
time | Time (HH:mm), for example /settime 13:45 |
Set weather configuration #
/setweather <weatherId>
Parameter | Description |
---|---|
weatherId | The ID of the weather specified in the server_cfg.ini For example, if you want to use WEATHER_0 , type /setweather 0 |
Get a list of CSP weather types #
/cspweather
Set weather type #
/setcspweather <weatherType> <transitionDuration>
Parameter | Description |
---|---|
weatherType | WeatherFX type (list of possible values below) |
transitionDuration | How long the weather transition should take (seconds), only functional when EnableWeatherFx is set to true in extra_cfg.yml |
Name | ID |
---|---|
LightThunderstorm | 0 |
Thunderstorm | 1 |
HeavyThunderstorm | 2 |
LightDrizzle | 3 |
Drizzle | 4 |
HeavyDrizzle | 5 |
LightRain | 6 |
Rain | 7 |
HeavyRain | 8 |
LightSnow | 9 |
Snow | 10 |
HeavySnow | 11 |
LightSleet | 12 |
Sleet | 13 |
HeavySleet | 14 |
Clear | 15 |
FewClouds | 16 |
ScatteredClouds | 17 |
BrokenClouds | 18 |
OvercastClouds | 19 |
Fog | 20 |
Mist | 21 |
Smoke | 22 |
Haze | 23 |
Sand | 24 |
Dust | 25 |
Squalls | 26 |
Tornado | 27 |
Hurricane | 28 |
Cold | 29 |
Hot | 30 |
Windy | 31 |
Hail | 32 |
Force headlights for a player #
/forcelights <on/off> <id>
Parameter | Description |
---|---|
on/off | On = Active forcing of headlights, Off = Disable forcing of headlights |
id | The car ID or name of the player |
Not specifying an id will enable/disable forced headlights for all players on the server.
NOTE: Forcing headlights for a player will still give him the opportunity to turn on/off his lights locally. His lights will however appear turned on for all other players.
Show player information (IP address, Steam profile) #
/whois <id>
Parameter | Description |
---|---|
id | The car ID or name of the player |
Change a configuration value #
/set <key> <value>
Parameter | Description |
---|---|
key | Name of the configuration field |
value | New value |
Values in server_cfg.ini are prefixed with Server.
, values in extra_cfg.yml with Extra.
.
Not all values can be changed at runtime.
Caution
Only use this for testing ! All changes made with this command will be lost after a server restart.
Examples
/set Server.Name Start 123
- changes Server name to Start 123
/set Extra.AiParams.MinAiSafetyDistanceMeters 100
- set minimum distance between AI cars to 100 meters
/set Extra.AiParams.SplineHeightOffsetMeters 0.2
- set spline height offset to 0.2 meters
Whitelist a SteamID #
/whitelist <guid>
Parameter | Description |
---|---|
guid | The SteamID of the player |