Permissions
Who can use each Eleven Police street module on FiveM: on-duty police, the new tablet permissions (Radars, lockers, armory) and the staff ACE permissions.
Three layers
In the street modules, who can do what is decided like this:
- Being on-duty police. Most modules require it and the server checks it. Police means a job in
Config.PoliceJobNamesor of typeleo. - Tablet permissions, per grade, for the Radars section and two new Warehouse actions. They are managed in tablet → Permissions, like the rest. See MDT permissions.
- Staff ACEs, for two specific things.
Who uses each module
| Module | Who |
|---|---|
| Breathalyser, fingerprints | On-duty police carrying the item, with the subject close by and in the same bucket |
| Mugshots | On-duty police at a Config.MugshotPoints point, with the detainee within 5 m and in the same bucket |
| Cuffing, frisking, escorting, putting in and taking out of vehicles | On-duty police (cuffing also needs the handcuffs item unless you remove it) |
| Lockpick alert | Fired by your keys resource; received by dispatch |
| Scene equipment | Anyone with the item. Anyone who is not on-duty police or on duty in a Config.SceneStaffJobs job carries it visibly |
| Locker: place and use | Any police officer with the item (Config.Armero.DeServicio = true to require duty) |
| Locker: remove | The warehouse.armeros permission or the eleven_police.armeros ACE |
| Armory perimeter | Watches off-duty officers; exempt by citizenid or by permission |
| GPS tracker | Attach it: on-duty police with the item. See the blips: on-duty police. rastreadores flag |
| Civilian panic button | Anyone with the item. panicoCivil flag |
| Wardrobes | The jobs and minimum grade of each Config.Wardrobes entry. Templates are managed by bosses (isboss) |
| Hand-held radar | On-duty police (or RadarConfig.AllowedJobs) in a vehicle with a radar |
| Speed cameras | Manage them: the Radars permission. Sabotage: anyone. Repair: police |
| Helicopter camera | On-duty police and the jobs in HeliCamConfig.AllowedJobs. File, debts, wanted status and plate owner: police only. Thermal: police always, plus the jobs in ThermalJobs |
| Traffic zones | On-duty police (or TraficoConfig.Job) with grade TraficoConfig.MinGrade |
New tablet permissions
They show up in tablet → Permissions next to the MDT ones. The "Default" column is what gets seeded: Everyone is any grade and Command the grades detected as command.
The names and descriptions on the permissions screen come from locales/ in the Config.Locale language (perm_res_<id>, perm_desc_<id> and perm_act_<resource>_<action> keys). If you write a label or a description in config/permissions.lua (a text, or a { en = ..., es = ... } table), yours wins. The ids never change; this page uses them.
Radars
| Action | What it allows | Default |
|---|---|---|
radars.view | See the Radars section | Everyone |
radars.create | Add speed cameras | Command |
radars.edit | Edit, turn on and off, reposition | Command |
radars.delete | Delete speed cameras | Command |
Warehouse (added actions)
| Action | What it allows | Default | Shown if |
|---|---|---|---|
warehouse.armeros | Remove pistol lockers with ox_target | Command | armeroPistolas on |
warehouse.armory_exempt | Carry armory weapons off duty without the alert going off | Command | armeriaPerimetro on |
An action whose flag is off does not appear on the permissions screen, but its rows are kept.
Panic buttons and Fleet
These two sections of the permissions screen are not used by Eleven Police on its own: an external resource checks them with the hasTabletPermission export.
- Panic buttons: for the button registry resource (
Config.PanicButton.Registro). Without a registry (default), any button raises the alert and these permissions are not used. - Fleet: for an external fleet resource.
Staff ACEs
# Force-remove a locker that still holds pistols (the contents are lost)
add_ace group.admin eleven_police.armeros allow
| ACE | What for | Where to change it |
|---|---|---|
eleven_police.armeros | Remove any locker, even with pistols inside | Config.Armero.Ace |
group.admin | Use /uncuffme to remove your own handcuffs | Interaction.SelfUncuffAce |
Both are changed with Config.Overrides. See General configuration.