Paid Resources🚓 filo_police
Configuration
Every config section explained.
Everything is in config.lua, with a comment on every option. Restart the resource after editing it.
config.lua and data/*.lua (the default points and the stock Mission Row station) stay
unencrypted so you can edit them.
| Section | What it covers |
|---|---|
Config.general | Debug and whether actions need the player on duty |
Config.autoDetect | Treat qbx_core jobs of these types (default leo) as departments |
Config.departmentDefaults | Default plate prefix, board title, panic code and grades for every department |
Config.departments | Per-department overrides (police, bcso, sasp) |
Config.admin | Admin group and creator command |
Config.branding | Server name, logo, accent and background. Values left nil fall back to filo_ui |
Config.menu | Police menu key (default F6) |
Config.panic | Panic button key, cooldown and blip time |
Config.tackle | Key, distance, cooldown, ragdoll time and whether sprinting is needed |
Config.defaultStations | Add the stock Mission Row station (mrpd) |
Config.points | Default radius, ped model, locker and stash sizes |
Config.garage | Store distance and fuel level |
Config.evidence | Locker slots, weight and highest number |
Config.licenses | Driver, weapon and ID licences and their cards |
Config.mugshot | Camera, distance, cooldown, headshot and screen uploads, CDNs |
Config.objects | Placeable objects, limits per officer and in total, grades, expiry |
Config.clamp | Clamp item and its offset on each wheel side |
Config.masterKey | Enabled, duration and lowest grade |
Config.tow | Hitch search distance, rope length and height, stiffness, steering, snap distance (maxStretch) and allowed models |
Config.impound | op-garages command, jobs and distance |
Config.tests | Breathalyser and drug test settings, and reading sources |
Config.mdt | MDT app id and whether to prefer sd-tablet |
Config.society | Where armory money goes, and which banking provider |
Config.JailScript / Config.jail | Built-in jail or another script, sentences, grades, confiscation and outfit |
Mugshot uploads
| Option | Values |
|---|---|
headshot.source | native (the game's ped headshot), MugShotBase64, or another resource's export |
headshot.upload | sd-phone, or a CDN name from cdns |
screen.upload | discord, a CDN name, or false to skip |
Test sources
Each entry in Config.tests.sources.drunk and .drugs is one of:
| Key | Meaning |
|---|---|
state | A player state bag key |
metadata | A qbx_core metadata key |
export | { 'resource', 'serverExport' }, called with the player's source |
scale | Multiplies a drunk value into 0-100 (for example 100 for a 0-1 value) |
at | For drugs: a number at or over this is positive |
label | Drug name shown |
trace | The value is { label, at } and expires after traceWindow |