Player commands#
Enabled when Config.EnableCommands = true (default).
| Command | Alias | Description |
|---|---|---|
/fixVehicle | /fixvehicle | Fully 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#
| Command | Permission | Description |
|---|---|---|
/editLandRes | Admin | Opens 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#
| Value | Effect |
|---|---|
normal | No change |
slippery | Reduced traction, weaker brakes |
soft | Moderate traction reduction |
rough | High traction, stronger brakes |
reset | Restore default handling values |
custom | Runs Config.CustomHandlingThread(vehicle) |
Events (for developers)#
| Event | Side | Description |
|---|---|---|
fixVehicle | Client | Trigger full vehicle repair |
onCarCrashed | Client | Internal crash handler |
s4-wheeldamage:useToolbox | Client | Open toolbox placement |
s4-wheeldamage:repairEngine | Client | Start engine repair |
s4-wheeldamage:repairRadiator | Client | Start radiator repair |
s4-wheeldamage:repairFuelTank | Client | Start fuel tank repair |
syncCars | Server | Sync damaged wheel states |