Skip to main content
Version: 0.0.55

Admin Commands

Get admin privileges

/admin <adminPassword>

ParameterDescription
adminPasswordThe admin password that has been set in server_cfg.ini

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.

Force next session

/next_session

ParameterDescription
NoneForces the server to move to the next session.

Restart session

/restart_session

ParameterDescription
NoneRestarts the current session.

Teleport player to pits

/pit <id>

ParameterDescription
idThe car ID or name of the player to be teleported.

Set server time

/settime <time>

ParameterDescription
timeThe time in 24-hour format, 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

List available CSP WeatherFX types

/cspweather

ParameterDescription
NoneLists all available CSP WeatherFX types.

Set CSP weather

/setcspweather <weatherType> <transitionDuration>

ParameterDescription
weatherTypeName of the WeatherFX type, list of possible values or use /cspweather ingame.
transitionDurationWeather transition duration in seconds, requires EnableWeatherFx set to true in extra_cfg.yml

Set rain properties

/setrain <intensity> <wetness> <water>

ParameterRangeDescription
intensity0 - 1The rain intensity.
wetness0 - 1The track wetness.
water0 - 1The amount of standing water on the track.

Set track grip

/setgrip <gripValue>

ParameterRangeDescription
gripValue0 - 1The track grip value.

Calculate distance to player

/distance <id>

ParameterDescription
idThe car ID or name of the player to calculate the distance to.

Force player headlights

/forcelights <on/off> <id>

ParameterDescription
on/offOn = Enable 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 them the opportunity to turn on/off their lights locally. Their 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 restrictor

/restrict <id> <value>

ParameterRangeDescription
idThe car ID or name of the player.
value0 - 400Limits power in the top range of the power band, will not kill total power.
Calculation: HP_Final = HP_Original * (1 - rpm * (restrictor / 4000000))

Set ballast

/ballast <id> <ballast>

ParameterDescription
idThe car ID or name of the player.
ballastBallast to be added to the car in kg. Excessive ballast can severely affect handling and car behaviour.

Set server configuration parameters

caution

Only use this for testing! All changes made with this command will be lost after a server restart.

/set <key> <value>

ParameterDescription
keyThe name of the server configuration parameter to set.
valueThe value to set the parameter to.
note

Parameters in server_cfg.ini are prefixed with Server., Parameters in extra_cfg.yml with Extra.
Not all values can be changed at runtime.

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 <steamId>

ParameterDescription
steamIdThe SteamId of the player.

Send Chat Message as CONSOLE

/say <message>

ParameterDescription
messageThe message to send to the ingame chat.
For example: /say Hello World will result in CONSOLE: Hello World ingame.