AssettoHosting.com - Server hosting for Assetto Corsa

Assetto Corsa Traffic Server Commands

Admin Commands from AssettoServer.org

Teleport player to pits #

/pit <id>

ParameterDescription
idThe car πŸš— ID or name of the player to be teleported

Kick player #

/kick <id> <reason>
/kick_id <id> <reason>

ParameterDescription
idThe car πŸš— ID or name of the player to be kicked
reasonOptional, will display a reason on why the player was kicked.

Ban player #

/ban <id> <reason>
/ban_id <id> <reason>

ParameterDescription
idThe car πŸš— ID or name of the player to be banned
reasonOptional, will display a reason on why the player was banned.

Set server time #

/settime <time>

ParameterDescription
timeTime (HH:mm), for example /settime 13:45

Set weather configuration #

/setweather <weatherId>

ParameterDescription
weatherIdThe 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>

ParameterDescription
weatherTypeWeatherFX type (list of possible values below)
transitionDurationHow long the weather transition should take (seconds), only functional when EnableWeatherFx is set to true in extra_cfg.yml
NameID
LightThunderstorm0
Thunderstorm1
HeavyThunderstorm2
LightDrizzle3
Drizzle4
HeavyDrizzle5
LightRain6
Rain7
HeavyRain8
LightSnow9
Snow10
HeavySnow11
LightSleet12
Sleet13
HeavySleet14
Clear15
FewClouds16
ScatteredClouds17
BrokenClouds18
OvercastClouds19
Fog20
Mist21
Smoke22
Haze23
Sand24
Dust25
Squalls26
Tornado27
Hurricane28
Cold29
Hot30
Windy31
Hail32

Force headlights for a player #

/forcelights <on/off> <id>

ParameterDescription
on/offOn = Active forcing of headlights, Off = Disable forcing of headlights
idThe 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>

ParameterDescription
idThe car ID or name of the player

Change a configuration value #

/set <key> <value>

ParameterDescription
keyName of the configuration field
valueNew 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>

ParameterDescription
guidThe SteamID of the player