Browse docs

Advanced Speed Camera

Store speed-camera captures for evidence review, plate recognition, offence matching, and authorized billing.

Manual review instead of instant billing

Set Config.SpeedCam.advanced.enabled = true to store each valid speed-camera capture in the Police Tablet instead of immediately issuing an invoice. Authorized officers review the evidence and either approve the linked fine or discard the capture.

The Speed Camera Reviews app shows pending, approved, and discarded captures with:

  • Camera name and capture time
  • Plate and registered owner, when resolved
  • Measured speed, limit, tolerance, and overage
  • Matched offence ID, category, and fine amount
  • Front or rear capture side
  • Uploaded evidence image
  • Suspected fake-plate state
  • Reviewing officer and review time

Capture workflow

  1. A deployed camera detects a vehicle inside its configured radius and direction cone.
  2. The server validates the camera, vehicle, speed, limit, tolerance, cooldown, and capture side.
  3. The configured plate-recognition sides decide whether owner lookup may be used.
  4. The offence catalogue is matched from the authoritative speed overage.
  5. A pending review is stored before the evidence upload begins.
  6. The capturing client receives a short-lived, source-bound upload token for this review only.
  7. An authorized officer approves and sends the invoice, or discards the capture.

Plate recognition

recognizedSides accepts front, rear, or both. A rear-only configuration is useful when the camera angle reliably shows the vehicle plate from behind. Captures from another side can still be stored, but are not treated as an authoritative registered-owner match.

Unregistered vehicles can be retained for investigation with storeUnregisteredVehicles = true. Suspected cloned or fake plates remain blocked from approval unless allowSuspectedFakePlateApproval is enabled explicitly.

Configuration

SettingPurpose
enabledEnables manual review and disables immediate billing for captured reviews
recognizedSidesCapture sides allowed to use registered plate ownership
reviewPermissionBoss Menu permission required to approve or discard
requireEvidencePrevents approval before an evidence image is attached
storeUnregisteredVehiclesRetains captures without a registered owner
allowSuspectedFakePlateApprovalAllows approval despite a suspected fake plate
pageSizeDefault number of reviews per tablet page

The default review permission is 18 (Manage Billing). The app may be visible to an on-duty officer while the approve and discard actions remain unavailable without that permission.

Billing requirements

Approval requires an active billing adapter, a registered online owner, a matched offence with a positive fine, and evidence when configured. The invoice reason includes the offence name and stable offence ID. If billing fails, the review returns to pending rather than being marked approved.

Exploit protection

Review authority is resolved on every request from Sky_Jobs.PlayerCache. The server checks police job membership, duty, the configured Boss Menu permission, review ownership, current status, registered owner, evidence, offence, amount, and billing availability.

The server claims a pending review as processing before billing, preventing two reviewers from approving the same capture. An officer cannot approve or discard a capture owned by their own character. Evidence uploads require a single-use token bound to the capturing source and review, expire after 60 seconds, and accept only bounded HTTP(S) URLs.

There is no public client event or client export for approving, discarding, changing a plate, changing a speed, or sending an invoice. Integrations may read deployed camera data on the server or listen to read-only client state events, but review mutations stay inside the authenticated server workflow.

Integration reference