Installation
Install Eleven Police MDT on your FiveM server with Qbox or QBCore: the folder, server.cfg, inventory items, convars, police-doctor and a first on-duty test.
This guide installs Eleven Police MDT, the FiveM police MDT/CAD tablet, on a Qbox or QBCore server. Check the Requirements first.
1. Download
Download the resource from Keymaster with the same Cfx.re account you bought it with. If this is your first time using Keymaster, follow the Install with Keymaster guide first.
The zip has a single folder, eleven-police: the tablet. Besides the code, it holds these files you will use:
| File or folder | What for |
|---|---|
config.lua | Your configuration. The only thing you keep when updating |
ox_inventory_items.lua and ox_inventory_items.es.lua | The items you have to register (step 4) |
extras/eleven_radio/ | The hooks to use Patrolink as the item radio |
penalcode/ejemplo.csv | The CSV layout to load your penal code |
MIGRATION_*.sql | Data migrations. Do not run them yourself: see step 6 |
Two optional add-ons are not in the zip:
- The photo studio map (
eleven-estudio-foto-data). If it is not in your Keymaster, request it by opening a ticket on our Discord. The tablet works the same without it. - The
pma-voicemulti-channel layer (eleven-police-extras-gplpackage, MIT license). Also requested by ticket on the Discord. See Optional: radio on several channels.
2. Copy the folder
Copy eleven-police into resources/ (or the subfolder you use).
Important
Do not rename the folder. The resource refers to itself as eleven-police in its events and in the interface; renaming it breaks it.
3. Add it to server.cfg
After your framework and its dependencies. On Qbox:
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure ox_target
ensure ox_inventory # recommended
ensure pma-voice # recommended
ensure screenshot-basic
ensure eleven-police
On QBCore, the framework line is ensure qb-core. If you use qb-inventory instead of ox_inventory, start it in its place:
ensure oxmysql
ensure ox_lib
ensure qb-core
ensure ox_target
ensure qb-inventory # or ox_inventory
ensure pma-voice # recommended
ensure screenshot-basic
ensure eleven-police
oxmysql, ox_lib, ox_target and screenshot-basic are required: without them the tablet does not start. ox_inventory and pma-voice are highly recommended. See Requirements.
4. Register the items
This is the one step the tablet cannot do for you.
With ox_inventory
Open eleven-police/ox_inventory_items.lua, copy its contents into the return {} table of your ox_inventory/data/items.lua and restart ox_inventory. ox_inventory_items.es.lua is the same list with Spanish labels. Details in Inventory items.
With qb-inventory (QBCore)
- In your
config.lua, setConfig.Inventory = 'qb'(the default is'ox'). - Register the same items from
ox_inventory_items.luainqb-core/shared/items.lua, with the same names (police_report,police_tablet,police_badge,license_cardand thelicense_*cards), in the format your QBCore version uses. - Point
Config.ItemsPhotoRouteat yourqb-inventoryimage folder so the Warehouse shows the icons.
With qb-inventory the tablet gives and removes items (badge, licenses, printed report), but the items you use from the inventory (reading the printed report, opening the physical tablet) are built for ox_inventory. And since qb-inventory cannot search by metadata, removing a badge takes any one of them.
Note
Item images are not included. ox_inventory looks for them in its web/images/ folder by item name (police_report.png). Without an image the item has no icon and works the same.
5. server.cfg convars
Uploading photos (mugshots, gallery, bodycams) needs a FiveManage key. It goes in server.cfg, with set and never with setr:
set eleven_police_fivemanage_key "your-key"
Without a key, captures are not uploaded and everything else works the same. If you prefer your own image storage, see Photos and branding.
6. Start it and check the console
The database creates itself: there is no .sql to run. The MIGRATION_*.sql files in the folder are also applied by the tablet on start, only when needed and only once (they fill in the plate of archived calls and the generation of relation types). Do not run them by hand.
On start, the tablet prints which systems it found:
[eleven-police] Config.MoneyType = 'auto' -> 'qbx' (qbx_management).
[eleven-police] Config.InvoiceType = 'auto' -> 'money'.
[eleven-police] Config.DepotType = 'auto' -> 'qbx'.
For the full diagnosis, type this in the server console:
police-doctor
It lists the required resources, which bank, billing, impound and phone it uses, which items are missing and which optional add-ons it detected. Green means found; red means missing, with the key to change.
7. Set the minimum
Open config.lua. It is almost empty on purpose: you only write what you want to change. First:
Config.Locale = 'en' -- the default; 'es' for Spanish
Config.PoliceJobNames = { 'police' } -- the jobs that count as police
Config.PoliceJobNames drives permissions, dispatch and who can see the tablet. If your job has another name, this is the line to change.
Then check Config.Departments: by default it has one example department (pd, grades 0 to 4 of the police job). Replace it with yours. See Config keys.
8. Test in game
Join with a character that has a police job and go on duty: off duty, the tablet does not open. Press HOME and the tablet opens. Each player can rebind it in GTA → Settings → Key Bindings → FiveM → "Open Police CAD".
If it does not open, see Troubleshooting.
9. Load your penal code
The tablet ships with an example penal code (two chapters, six articles) so you can see its shape. Edit it from the tablet or load yours in one go from a CSV:
police-penalcode-import my-penal-code.csv
See Penal code.

Optional: radio on several channels
With the official pma-voice you hear one channel at a time. Hearing unit, department and command together needs the multi-channel layer, which is not inside the resource: request it by opening a ticket on our Discord (eleven-police-extras-gpl package, folder pma-voice-multicanal, MIT license). Copy its two files over your pma-voice; its LEEME.md explains the steps and includes a .patch if your pma-voice is modified. See Radio.
Optional: Patrolink as the item radio
The tablet supports one item radio: Patrolink (resource eleven_radio, sold separately). It is the default value of Config.RadioItemType, so there is nothing to set in the tablet. What you do need is to copy extras/eleven_radio/hooks.lua over eleven_radio/config/hooks.lua and add your police jobs to Patrolink's config. If you use no item radio, set Config.RadioItemType = 'none'. See Patrolink (eleven_radio).
Optional: photo studio
- Copy
eleven-estudio-foto-dataintoresources/and addensure eleven-estudio-foto-datatoserver.cfg, beforeeleven-police. - In your
config.lua:Config.FeatureFlags = { estudioFoto = true }. - Restart the whole server.
Warning
eleven-estudio-foto-data streams a map. Do not start or restart it with ensure while players are online: it can crash their game. Add it and restart the full server.
You can also use a room on your own map instead. See Photo studio.
"You lack the required entitlement"
The server is not entitled to run the protected resource. It is almost always one of these:
- The server key (
sv_licenseKey) does not belong to the same Cfx.re account that bought the resource. - You have not restarted the server since the purchase.
- The artifact is older than 5181.
More detail in the Install with Keymaster guide and in Troubleshooting.
Updating later
When a new version comes out, back up your database first and replace the folder keeping your config.lua. The steps are in Updating.
Next
- The tablet: a tour of the sections.
- Permissions: who can do what, from the tablet.
- Feature flags: turn off what another resource already covers.