zephyr_dispatch
| Field | Value |
|---|---|
| Version | 0.2.0 |
| Author | Vexy |
| Status | Stable |
Overview
zephyr_dispatch is the police and EMS dispatch system for Zephyr. It provides a live call list, BOLO management, unit tracking, and a job-chat panel via an in-game NUI tablet. It is compatible with the ps-dispatch event API, allowing third-party scripts to create calls without modification.
Dispatch calls are broadcast only to on-duty players whose job matches the targeted jobs on that call. Police and EMS calls are kept separate by default. BOLOs are shared with zephyr_mdt bidirectionally.
Features
| Module | Description |
|---|---|
| Call List | Live list of active calls with priority, location, responding units, notes. |
| BOLO Manager | Create, resolve, and sync BOLOs with zephyr_mdt. |
| Unit Tracker | Real-time map of all on-duty officers with callsign, status, and location. |
| Pursuit Tracking | Moving blip following the primary unit for active pursuits (10-80). |
| Job Chat | In-tablet job-scoped chat with configurable channels. |
| 911 / 311 | Player commands create calls. LB Phone integration creates a reply thread. |
| Auto-Alerts | Configurable automatic calls for shots fired, explosions, etc. |
| Persistence | Calls and BOLOs survive resource restarts (dispatch_store.json). |
| ps-dispatch | Full compatibility layer — scripts that use ps-dispatch work without changes. |
Dependencies
| Resource | Required | Notes |
|---|---|---|
ox_lib | Yes | UI, keybinds, and commands |
qb-core / qbx_core | Yes | Framework bridge |
zephyr_mdt | Optional | Bidirectional BOLO sync |
lb-phone | Optional | 911 Services reply thread integration |
oxmysql | Optional | Required only if lb-phone is used |
Configuration highlights
Key settings in config.lua:
| Key | Default | Description |
|---|---|---|
Config.DispatchJobs | police, etc. | Jobs that appear in the unit tracker and receive calls. |
Config.OnDutyOnly | true | Only on-duty players receive alerts and see the unit list. |
Config.AlertTime | 10 | Seconds an alert toast stays on screen. |
Config.MaxCallList | 50 | Maximum calls stored in the active list. |
Config.AutoClearMinutes | 5 | Auto-clear unattended calls after this many minutes. |
Config.PersistencePersistBolos | true | Keep BOLOs across resource restarts. |
Config.PersistencePersistCalls | false | Keep calls across resource restarts. |
Config.ForceOnDutyJobs | police, ambulance | Treat these jobs as always on-duty. |
Permissions
The dispatch tablet is opened with a configurable keybind (default .) or via the opendispatch command. Any player whose job is in Config.DispatchJobs and who is on duty can access it.