Skip to main content

Police impound

Officers stand next to a vehicle and run /impound (configurable in config/impound.lua). A dialog lets them pick:
  • Lot — which impound location the vehicle goes to
  • Reason — free text, shown to the owner (filtered by the word filter)
  • Hold time — from the configured timeOptions (default: immediately up to 7 days); the owner can’t retrieve the vehicle before the timer expires
  • Fee — what the owner pays on release
  • Retrievable — untick to require police interaction for release (e.g. evidence vehicles)
Nex.Config.Impound = {
  command = "impound",
  societyFund = "police",  -- fees are paid into this society (optional)
  timeOptions = { 0, 1, 4, 12, 24, 72, 168 }, -- hours
  maxFee = 50000,              -- hard fee cap, enforced server-side
  requireNearbyVehicle = true, -- officer must be near the vehicle
  nearbyDistance = 8.0,
}
Impound locations live in config/impound-locations.lua — restrict each lot to the jobs that should operate it via its job field.

Releasing vehicles

Owners open the impound lot like a garage, see the reason, fee and availability time, and pay to release. Officers whitelisted for the lot get extra actions: release without fee and return to owner’s garage.

Auto-impound

Vehicles left out in the world too long can be impounded automatically (config/features.lua):
autoImpound = {
  enabled = true,
  hoursOut = 72,            -- left out this long → impounded
  defaultLot = "Impound A",
  fee = 500,
  retrievable = true,
},
Left-out tracking uses the left_out_at column that the schema installer creates — auto-impound needs no extra setup.
Set the nex_garages_webhook_impound convar to log impounds, releases and returns to Discord.