Skip to content

np_dispatch ​

np_dispatch is the shared, job-agnostic call bus for FiveM. Server resources publish typed incidents; the bus persists them and routes privacy-filtered views to responders by channel and np_jobs capability feature.

Status: implemented MVP, v0.2.0. Call publishing, channel routing, field alerts, a dispatcher queue, unit status/callsigns/assignments, panic, reports, audit history, oxmysql storage and local integration events are shipped. See integrations for sibling APIs that still need work.

What it owns ​

  • A typed incident registry and shared channels for police, medical, fire, tow, taxi, security and addon channels.
  • Server-authoritative call lifecycle, dedupe, priority, expiry, reports and action logs.
  • dispatch.* capability features registered with np_jobs; jobs can combine dispatch with features from any pack.
  • A field alert stack and dispatcher console with channel-scoped call and unit actions.
  • Unit status, callsigns, attachments, panic alerts, waypoints, history and broadcasts.
  • Client privacy views that remove subject identifiers and redact medical data for recipients without medical access.

Start with ​

Calls are retained for 30 days by default; raw reports are retained for 7 days. Both settings live in config/config.lua. The resource does not fall back to job names or ACE permissions. Without a compatible np_jobs runtime, calls can still be stored but player dispatch actions are unavailable.