Feature flags
Every Config.FeatureFlags switch in Eleven Police MDT for FiveM with its default value: turn off sections or whole modules that another resource already covers.
How to use them
Everything the tablet does can be turned off. In your config.lua you only name the flags you change; the rest keep their defaults.
Config.FeatureFlags = {
dispatch = false, -- I already have my own dispatch
estudioFoto = true, -- turn on the photo studio
}
There are two kinds:
- Whole modules: when off, they register nothing (no events, no commands). For servers that already have their own dispatch or bodycams.
- Sections: when off, they are not in the menu or the search, and they disappear from the permissions screen. Saved data stays; turning it back on restores it as it was.
Modules
| Flag | Default | What it turns off |
|---|---|---|
dispatch | true | Dispatch, units, callsigns and TAC |
radio | true | Frequency radio |
commandRadio | true | Command channel across departments (needs radio) |
codeCommands | true | Radio code commands (/10-03…). The Codes tab stays |
referencias | true | On-duty colleagues on the map |
dispatchCallerId | false | Sender ID on the dispatch call card |
findAlerts | true | Call archive inside POLICE FIND |
tienda | true | Station shop and its NPC |
celdas | true | Cells |
deposito | true | Vehicle impound |
bodycams | true | Body cameras |
convenios | true | Agreements with businesses |
libreta | true | Notebook and quick note without opening the tablet |
suspension | true | Suspension without pay |
Sections and features
| Flag | Default | What it turns off |
|---|---|---|
briefings | true | Briefings wall |
condecoraciones | true | Decorations, medals and stripes |
diplomas | true | Diplomas |
contratos | true | Contracts and the Requests inbox |
estudioFoto | false | Photo studio. See Photo studio |
officerDetail | true | Detailed officer file |
officerOfMonth | true | Officer of the month with rules (one per department, lock, decoration) |
badgeTiers | true | Badges per rank family (Config.BadgeTiers) |
divisiones | true | Divisions |
licencias | true | Internal licences |
almacen | true | Warehouse |
legal | true | Searchable penal code |
galeria | true | Gallery |
jornada | true | Time record |
sancionarV2 | true | Fine on top of the current screen. Off, it is a separate screen |
wantedVehicles | true | Wanted plates |
wantedExpiry | true | Duration and charges on wanted entries |
relations | true | Declared citizen relations |
incidentLinks | true | Links between incidents |
incidentWorkflow | true | Incident statuses and time of events |
incidentPrint | false | Printing the report (police_report item). Turn it on once the item is registered and the server restarted |
citizenLock | true | Password-locked files |
duplicateIdBilling | true | Charging for a duplicate ID |
dniExpiry | true | ID expiry and renewal |
stolenReports | false | Owner-filed stolen reports, on the file |
Flags that depend on Eleven resources
Three sections read data from Eleven resources that do not ship with the tablet. They switch off on their own even if you turn them on, when their source is missing, so you never get an empty section:
| Flag | Default | Needs |
|---|---|---|
transactions | true | Config.MoneyType = 'eleven-banking' |
cuentas | false | Config.MoneyType = 'eleven-banking' |
alquileres | true | Config.RentalsSource = 'eleven-logs' |