Skip to content

commands

Player commands#

Enabled when Config.EnableCommands = true (default).

CommandAliasDescription
/fixVehicle/fixvehicleFully repair the vehicle you are sitting in
/fv—Short alias for fix vehicle

The fix command:

  • Restores engine, body, and fuel tank health
  • Clears all active leaks (radiator, engine oil, fuel)
  • Resets damaged wheel state and tire collider sizes
  • Syncs repair state to the server

Requires you to be inside the vehicle (Config.RepairBodyWithTrigger = true).

Admin commands#

CommandPermissionDescription
/editLandResAdminOpens the land restriction editor UI in-game

editLandRes#

Sit in the vehicle whose class you want to configure

Run /editLandRes

Adjust handling type and speed limit per surface material

Save — settings are written to landData.json and synced to all clients

Handling types#

ValueEffect
normalNo change
slipperyReduced traction, weaker brakes
softModerate traction reduction
roughHigh traction, stronger brakes
resetRestore default handling values
customRuns Config.CustomHandlingThread(vehicle)

Events (for developers)#

EventSideDescription
fixVehicleClientTrigger full vehicle repair
onCarCrashedClientInternal crash handler
s4-wheeldamage:useToolboxClientOpen toolbox placement
s4-wheeldamage:repairEngineClientStart engine repair
s4-wheeldamage:repairRadiatorClientStart radiator repair
s4-wheeldamage:repairFuelTankClientStart fuel tank repair
syncCarsServerSync damaged wheel states