Permissions
Forensic access is set per department and per action. Players need an allowed job, and their grade must reach the minimum for what they are doing.
Configuration Options
These settings are in shared/config/permissions.lua.
Allowed Jobs
Permissions.AllowedJobs lists every job that can use the forensic features. Add your server’s police job names here.
Job Map
Permissions.JobMap maps your job names (lowercase) to a department: patrol, detective, csi, federal or doj.
LUA
Permissions.JobMap = {
['police'] = 'patrol',
['sheriff'] = 'patrol',
['detective'] = 'detective',
['fbi'] = 'federal',
['csi'] = 'csi',
['doj'] = 'doj',
}Actions
Permissions.Actions sets the minimum grade per department for each action. Grade 0 allows every rank.
| Action | What it allows |
|---|---|
collect | Collecting evidence |
mark | Marking evidence at a scene |
analyze | Analysing evidence |
archive | Archiving cases |
destroy | Destroying evidence |
place_props | Placing markers, barriers and equipment |
csi_mode | Using CSI scan mode |
Duty
Permissions.RequireOnDuty requires players to be on duty. Permissions.UseJobType also allows QBCore jobs with the leo type.
Administrator ACE
| ACE | Allows |
|---|---|
evidence.lab_setup | The Lab Creator and workstation screen setup |
evidence.lab_test | /evtest and /labtestitems |
evidence.screens | The /lidarscreen setup menu |
evidence.booking.restrained | Booking a restrained suspect without consent, when enabled |
command.equipmentcase | Giving equipment suitcases with /equipmentcase |

