Skip to main content
Version: 0.0.55

Admin Commands

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)
transitionDurationHow long the weather transition should take (seconds), only functional when EnableWeatherFx is set to true in extra_cfg.yml

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

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

Set ballast and restrictor

/restrict <id> <restrictor> <ballast>

ParameterDescription
idThe car ID or name of the player
restrictorFrom 0 to 400, cuts the car's engine power. It limits power in the top range of the power band, will not kill total power
ballastBallast to be added to the car in kg. Excessive ballast can severely affect handling and car behaviour

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