Config keys
Eleven Police MDT config keys for FiveM: default value and purpose of each, from PoliceJobNames and Departments to dispatch, radio, cells and agreements.
How to read this page
These are the keys in config/defaults.lua. To change one, copy it to your config.lua. Keys marked "table" are lists or catalogues: open config/defaults.lua to see their shape and copy the whole thing. External systems are in External systems and flags in Feature flags.
Basics
| Key | Default | What it does |
|---|---|---|
Config.Locale | 'en' | Language: 'en' or 'es' (any file in locales/) |
Config.PoliceJobNames | { 'police' } | Jobs that count as police: permissions, dispatch and who opens the tablet |
Config.OpenTabletKey | 'HOME' | Default tablet key (each player can change it) |
Config.LibretaQuickNoteKey | 'J' | Quick note key. false removes it |
Config.Branding | table | Name, subtitle and logo. See Photos and branding |
Config.ShowPhoneAd | true | false hides the Eleven Phone suggestion in Settings |
Config.Debug | false | Debug messages in the console |
Departments and units
| Key | Default | What it does |
|---|---|---|
Config.Departments | one pd department (grades 0-4 of police) | Departments: id, name, logo, badge item, job and grade range |
Config.DefaultDepartmentId | 'pd' | Fallback department when a grade falls in no range |
Config.SharedGrades | {} | Grades that belong to every department |
Config.GradeRankAs | {} | Rank step of an out-of-order grade when comparing ranks: { [grade] = position } |
Config.Assignments | pd and utility columns | Dispatch columns, callsigns and radioBase |
Config.DispatchJurisdiccion | nil | North/south split of calls |
Config.BadgeTiers | {} | Badge families per department |
Config.Divisions | {} | Initial divisions (created from the tablet) |
Config.Stashes | {} | ox_inventory stashes shown in the Warehouse, per department |
Radio
| Key | Default | What it does |
|---|---|---|
Config.RadioFrequency | { min = 1, max = 9999, step = 5 } | Frequency range and step |
Config.RadioPresets | PD-1, PD-2, SWAT, TAC, COMMON | Saved frequency buttons |
Config.RadioDepartmentMap | { police = 'pd' } | Radio department of each job |
Config.RadioItemType | 'eleven_radio' | Item radio: 'eleven_radio' (Patrolink) or 'none'. If Patrolink is not running, or you name another resource, it behaves like 'none'. See Patrolink (eleven_radio) |
Config.RadioItemNames | { 'radio', 'radio_pl7' } | Items that count as "carrying a radio" (Patrolink's Config.Models) |
Config.RadioItemName | 'radio' | 4.1 key: still read and added to Config.RadioItemNames |
Dispatch
| Key | Default | What it does |
|---|---|---|
Config.Dispatch | table | Citizen command, expiry, categories and webhook. See Dispatch |
Cells and impound
| Key | Default | What it does |
|---|---|---|
Config.PoliceStations | Mission Row, 6 cells | Stations, cells and release point |
Config.AutoReleaseFromCell | true | Inmates leave on their own when served |
Config.CellCheckInterval | 45000 | How often cells are checked, in ms |
Config.ImpoundLocations | { id = 'impound' } | Fallback depots, if your garage system does not provide the list |
Config.UserCanWithdrawFromDepot | true | Owners can collect their car by paying |
Citizens and wanted
| Key | Default | What it does |
|---|---|---|
Config.Licenses | car, motorcycle, truck, boat, pilot, hunting, fishing | Licences in the file. See External systems |
Config.DuplicateIdPrice | 250 | Price of a duplicate and an ID renewal |
Config.WantedDurations | { 7, 15, 30, 60, 90 } | Wanted durations, in days |
Config.WantedExpiryDays | 90 | Days offline after which a wanted entry is removed (0 disables it) |
Config.WantedExpiryIntervalHours | 24 | How often that clean-up runs |
Config.WantedExpirySweepMinutes | 10 | How often expired entries are swept |
Config.FavoritosPorDefecto | { porAmbito = 10 } | Initial penal code favourites per scope (0 disables it) |
Config.MaxHighlightedNotes | 15 | Highlighted notes on the dashboard |
Department
| Key | Default | What it does |
|---|---|---|
Config.Awards | table | Decorations: granting ACE, groups and automatic stripes |
Config.OfficerOfTheMonth | CooldownDays = 30, CorrectionWindowMinutes = 15 | Officer of the month rules |
Config.Suspension | MinPay = 350, 1 h to 30 days | Suspension without pay |
Config.ConvenioFacciones | {} | Who agreements can be signed with |
Config.ConvenioVentajas | 10 suggestions, max 12 | Benefits suggested when drafting an agreement |
Config.ConvenioObligaciones | 10 suggestions, max 12 | Obligations suggested |
Technical
| Key | Default | What it does |
|---|---|---|
Config.Inventory | 'ox' | 'ox' or 'qb' |
Config.UnitOfLength | 'mi' | Distance unit for dispatch calls ('mi' or 'km') |
Config.ItemsPhotoRoute | 'https://cfx-nui-ox_inventory/web/images/' | Where item images come from |
Config.PolyType | 'lib' | Zones with ox_lib |
Config.ToggleHUDCommand | nil | Command to hide your HUD while taking photos. Without it the eleven_police:screenshots:toggleHUD event is fired |
Config.AlignCollation | true | Align table collation with players. See Troubleshooting |
Config.FeatureFlagRollout | {} | Limits a flag to a list of citizenids, to test it with a group |
Config.Overrides | — | Settings for per-module files. See How the config works |