Oxide Police
Complete law enforcement department builder for FiveM — database-driven departments, MDT, custody, evidence, and prison systems.
Oxide Police is a complete law enforcement department builder for FiveM. It replaces the legacy qb-policejob / esx_policejob flow with a database-driven, runtime-configurable system: departments, stations, grades, garages, armories, charges, prison points, and speed cameras are all set up from an in-game admin panel (/police admin) rather than from config files. The resource ships with an MDT, a dispatch overlay, a custody and booking pipeline, a prison job and shop system, an evidence registry, and a fleet of field tools (handheld and vehicle radar, megaphone, breathalyzer, bodycam, CCTV, evidence camera, tracking bands, wheel clamps, mouth tape, headbags, zip ties, scissors, lockpicks, and spike strips). It supports QBCore, QBX (Qbox), and ESX Legacy through o-link, and pairs with oxide-dispatch as its alert source for the MDT Dispatch tab.
Key Features
- Department Builder — Full runtime in-game admin (
/police admin): departments, stations, grades, badges, salaries, jail config, stripping rules, speedcam ignored jobs - Per-Station Setup — Clock-in zone, armory, personal locker, boss menu, evidence locker and lab, mugshot booth, jail and holding cells, station bell, trash bin, firearm registration desk
- MDT — Dashboard, cases, charges, fines, warrants, BOLOs, criminal records, dispatch overlay, officer locations map, plate search, person search
- Custody Pipeline — Front/rear cuffs, escort, search, vehicle put-in, mugshot capture, booking flow, jail sentence, automatic prison stripping (locker / wipe / whitelist), prison revive cutscene, automatic release on timeout
- Prison Economy — Prisoner mining, cleaning, and electrical jobs with money / item drops, plus a prison shop with admin-defined paid catalog and a free meal at configurable meal windows
- Field Tools — Handheld speed radar (
WEAPON_RADAR), vehicle radar (front/rear lock), placeable speed cameras with admin placement UI and configurable fines - Evidence Registry — Blood, bullet, and fingerprint drops with auto-cleanup, GSR check, vehicle fingerprint capture, weapon ballistics, evidence camera, and per-case evidence lockers
- Weapon Registry — Statewide firearm record keyed by serial number, fed by a civilian registration desk at stations and by evidence submissions, with an MDT Weapons tab for tracing and flagging (stolen / seized / revoked)
- Bodycam & CCTV Viewers — Bodycam viewer (
/police bodycams) and CCTV viewer (/police cameras) with same-department filtering - Treasury & Payroll — Department treasury, automatic payroll on a configurable interval, unpaid-hours accrual for boss settlement, optional armory loadout charges
- Multi-Department Officers — Optional
Config.AllowMultiDepartmentlets a character hold several departments at once, each with its own badge, callsign, grade, and pay, with the active one following their selected job - Framework Compatibility Shims —
qb-policejob,esx_policejobbackground callbacks (police:GetCops,IsHandcuffed, etc.), live cop count broadcast for QB robbery scripts, and g-multijob multi-job menu integration - 100 Pre-Loaded Charges — Codes, fines, and jail times across infractions, misdemeanors, and felonies
- Locale-Driven UI — Locale strings (
locales/*.json) for the MDT, admin panel, custody, prison shop, and notifications
Requirements
Required
| Resource | Purpose |
|---|---|
o-link | Framework abstraction for character, job, money, inventory, notify, target, dispatch, banking, doorlock |
ox_lib | Locale, callbacks, skill checks, keybinds, UI helpers |
oxmysql | Database persistence |
screenshot-basic | Mugshot capture upload |
| Framework | One of qb-core, qbx_core, or es_extended |
Recommended
| Resource | Purpose |
|---|---|
oxide-dispatch | Powers the MDT Dispatch tab (live alerts, respond/close) |
oxide-banking | Fine invoicing, treasury accounts, payroll |
pma-voice / yaca-voice | Optional — megaphone voice channels |
Supported Frameworks
| Framework | Support |
|---|---|
QBCore (qb-core) | Full |
QBX (qbx_core) | Full |
ESX Legacy (es_extended) | Full |
Quick Start
Place oxide-police in your server's resources directory.
Start ox_lib, oxmysql, screenshot-basic, o-link, your framework, optional oxide-banking and oxide-dispatch, and oxide-police in that order.
Run sql/install.sql to create every Oxide Police table.
Review shared/config.lua and the files under shared/config/. After first boot, resource-wide settings are managed in-game with /police settings — the database becomes the source of truth.
Follow the framework-specific setup (QBCore, QBX, or ESX) to register items, the radar weapon, and disable legacy police resources.
Run /police admin in-game to create departments, stations, garages, armories, and prison points.
See the Installation Guide for the full setup flow.
Documentation
Installation
Generic install hub.
Configuration
Per-key reference for shipped config and DB-backed settings.
QBCore Setup
QBCore-specific install.
QBX Setup
QBX-specific install.
ESX Setup
ESX Legacy install.
Features
Feature-by-feature reference.
Exports & Integration
Server export API.
Admin Tools
Commands, keybinds, and /police admin.
Troubleshooting
Common issues and fixes.