Bablo ResourcesDocs

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.

ActionWhat it allows
collectCollecting evidence
markMarking evidence at a scene
analyzeAnalysing evidence
archiveArchiving cases
destroyDestroying evidence
place_propsPlacing markers, barriers and equipment
csi_modeUsing CSI scan mode

Duty

Permissions.RequireOnDuty requires players to be on duty. Permissions.UseJobType also allows QBCore jobs with the leo type.

Administrator ACE

ACEAllows
evidence.lab_setupThe Lab Creator and workstation screen setup
evidence.lab_test/evtest and /labtestitems
evidence.screensThe /lidarscreen setup menu
evidence.booking.restrainedBooking a restrained suspect without consent, when enabled
command.equipmentcaseGiving equipment suitcases with /equipmentcase