Admin Commands - compujuckel/AssettoServer Wiki

Teleporting a player to pits

/pit <id>

Parameter Description
id The car ID or name of the player to be teleported

Kicking a 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.

Banning a 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.

Unbanning a player

/unban <steamId>

Parameter Description
steamId The steamID64 (Dec) of the blacklisted player

The server does not need to be restarted for the command to take effect.

Setting the servers time

/settime <secondOfDay>

Parameter Description
secondOfDay 0 - 86400, second of day that the time is to be set to

Setting the servers weather

/setweather <weatherId>

Parameter Description
weatherId The ID of the weather specified in the server_cfg.iniFor example, if you want to use WEATHER_0, type /setweather 0

Setting the maximum afk time

/setafktime <minutes>

Parameter Description
minutes The time in minutes a player can be afk without getting kicked.

Forcing 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.