Troubleshooting
Fixes for common Eleven Police MDT errors on FiveM: Keymaster entitlement, missing dependencies, the tablet won't open, hidden sections, radio and photos.
First: police-doctor
If you have just installed it, go over the installation guide first. Then type this in the server console:
police-doctor
It tells you what the tablet detected and what is missing. If you open a ticket, paste it in: it is the first thing we will ask for.
"You lack the required entitlement to use eleven-police"
The server is not entitled to run the protected resource:
- The server key 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.
"Could not find dependency oxmysql for resource eleven-police"
A required resource is missing, or it starts after the tablet. The message names which one: it can be oxmysql, ox_lib, ox_target or screenshot-basic. Install it and put it before ensure eleven-police in server.cfg. See Installation and Requirements.
The tablet does not open
- Check that your character has the police job and is on duty.
- Check that the job name is in
Config.PoliceJobNames. This is the most common mistake. - The default key is HOME. Change it in GTA → Settings → Key Bindings → FiveM → "Open Police CAD".
- If the officer is suspended, they only see the suspension screen.
A section is missing
- Permissions. Their grade lacks
viewon that section. See Permissions. - It is turned off in
Config.FeatureFlags. See Feature flags. - Transactions, Accounts and Car rentals need Eleven resources and switch off without them.
The chief cannot see Permissions
Viewing Permissions is a command action, and command is detected through permisosTablet, isboss or the highest grade. If nobody can see it, the tablet detects it on start and gives the command actions back to those grades. See Permissions.
I change the default permissions and nothing happens
That is expected: permissions are seeded once and then the database rules. Change them from tablet → Permissions.
I change config/defaults.lua and nothing happens
That file is overwritten on every update and is not where you configure things. Copy the key to your config.lua. See How the config works.
"Illegal mix of collations" in the console
The tablet's tables and your players use different collations (Qbox usually runs utf8mb4_unicode_ci and QBCore utf8mb4_general_ci). You notice it as failing searches or empty sections.
With Config.AlignCollation = true (default) the tablet aligns its empty tables to your players collation on start. Tables that already hold data are left alone: the console prints the exact ALTER for you to run yourself, after a backup. With false it changes nothing and only warns.
SQL error when opening a file
- Check
Config.PropertiesType: it must match your database ('qbx'or'qb'). - Check
Config.LicensesType:'columns'on a server that stores licences inplayers.metadata.licencesfails. Leave it on'auto'or set'meta'.
I revoke a licence and it stays
Look at the server console: the tablet says why it could not write. If your framework stores licences another way, set Config.LicensesType to your script's name or use Config.LicensesAdapter. See External systems.
I only hear one of my radio channels
With the official pma-voice you hear one channel at a time, and pressing another channel's push-to-talk moves you there. Install the multi-channel layer (requested by ticket on our Discord: eleven-police-extras-gpl, folder pma-voice-multicanal) and police-doctor will confirm it on the multicanal line.
If it used to work and stopped, did you update pma-voice? The update overwrites those files: copy them again.
The secondary radio does not tune from the tablet
Tuning the dial from the tablet needs Patrolink (eleven_radio), the only item radio the tablet supports. Type police-doctor: the secundaria line tells you whether it sees it, whether Config.RadioItemType names another resource (treated as 'none') or whether it is not running.
With Patrolink, a frequency can still be refused because it is out of range for its dial (1 to 500) or a reserved channel (Patrolink's Config.RestrictedChannels: add your police jobs there). The tablet tells you which one. See Patrolink (eleven_radio).
The tablet says "Radio off"
With Patrolink, the tablet radio follows its power switch: turn it on. If you use no item radio, set Config.RadioItemType = 'none' and the tablet radio turns on by itself when the officer carries the item.
Leaving the dial cuts the tablet radio
The Patrolink hooks are missing. Copy extras/eleven_radio/hooks.lua over eleven_radio/config/hooks.lua and restart. police-doctor confirms it on the ganchos line.
"You need a radio" while carrying one
By default the radio and radio_pl7 items (Patrolink's) count as a radio. If your inventory uses other names, set them in Config.RadioItemNames.
A report cannot be printed
Printing is off by default: turn on incidentPrint in Config.FeatureFlags. If it is already on, the police_report item is missing from your ox_inventory, or you added it without restarting the server. See Inventory items.
"Not enough space" with an empty inventory
ox_inventory returns that error when the item does not exist. It is missing from your data/items.lua. police-doctor tells you which.
The citizen gets no fine notice
The fine is still issued and charged; only the notice is missing. Out of the box only 'eleven-phone' sends notices. With another phone, connect it with Config.PhoneAdapter. See External systems.
The shop says there is no banking system
The tablet did not find your bank. Put its name in Config.MoneyType or use Config.MoneyAdapter. Until there is a bank, anything that costs money is not delivered, on purpose.
The Warehouse section is empty
That is expected until you declare your stashes in Config.Stashes, with the same id you use in RegisterStash. See Department.
Nobody shows up to sign an agreement with
The list of counterparties comes from Config.ConvenioFacciones, empty by default. Each entry needs key and account.
Photos are not uploaded
The FiveManage key is missing from server.cfg (use set, not setr), or your server has no outbound HTTPS to fmapi.net. See Photos and branding.
I need something that is not there
The code is protected: only config.lua and locales/ can be edited. Open a ticket on our Discord with what you need and the output of police-doctor.