Configurations
Wasabi Police Job V2 (wasabi_police_v2) separates configuration between shared, client, and server files.
Shared
File: config/shared/config.lua
The shared configuration controls jobs, modules, interaction, police equipment, and most gameplay systems.
| Setting | Purpose |
|---|---|
debug | Enables additional debugging output. Disable for production. |
language | Selects the locale. |
policeJobs | Police jobs as an array or a job-to-minimum-grade map. |
adminGroups | ACE/admin groups allowed to use station and jail panels. |
stationPanelCommand | Admin command used to open station management. |
jailPanelCommand | Admin command used to open jail management. |
interact | ox_target, qb-target, sleepless_interact, or drawText. |
UIColor | Accent color used by the Police V2 interfaces. |
personalLocker | Personal locker weight and slot limits. |
evidenceLocker | Evidence locker weight and slot limits. |
armory | Duty requirement and grade-aware item catalog. |
Module selection
The modules table records feature configuration and selects integrations such as dispatch and billing.
modules = {
stations = true,
duty = true,
cuffing = true,
surrender = true,
interaction = true,
traffic = true,
evidence = true,
cctv = true,
gsr = true,
tackle = true,
jail = true,
dispatch = 'internal',
licenses = true,
radar = true,
tracker = true,
spikestrip = true,
props = true,
billing = 'default',
breathalyzer = true,
bodycam = true,
}
Supported dispatch values are internal, cd_dispatch, ps-dispatch, linden, or false. When wasabi_mdt is running, Police V2 disables its own dispatch because the MDT owns dispatch and panic.
Supported billing values are default, esx, qb, okok, wasabi, or false.
Not every boolean in modules is a global hot-disable switch in the current release. Use the documented integration selectors, preserve the shipped defaults unless you have verified the related module, and test module changes on a staging server.
Major shared sections
| Section | Configures |
|---|---|
jailSystem / jail | Built-in or external jail bridge, locations, and inmate clothing. |
cuffing | Required items, cuff states, movement flags, keys, cutters, and props. |
surrender | Keybind, surrender modes, gunpoint detection, and compliance. |
tackle | Hotkey, sprint requirement, and distance. |
gsr | Duration, cleanup behavior, and optional required test item. |
radar / radarPost | Units, thresholds, keybinds, persistent post behavior, and blips. |
tracker | Tracking item, persistence, access jobs, and blip style. |
spikestrip | Spike-strip feature toggle. |
cctv | Persistence, destruction, access jobs, placement models, and viewing offsets. |
evidence | Evidence items, collection timing, blood, fingerprints, and casings. |
dispatch | Allowed jobs, keybinds, panic cooldown, and call blips. |
billing | Charge account, society crediting, and fine presets. |
props | Render distance and placeable police prop catalog. |
breathalyzer | Duty requirement, duration, and interaction distance. |
bodycam | Required item, duty requirement, stop key, and clip durations. |
garages | Internal/external garage selection and per-job, per-rank vehicles. |
Client
File: config/client/config.lua
| Section | Purpose |
|---|---|
jobMenu | Command, event, keybind, duty requirement, allowed jobs, and custom options. |
customCarlock | Enables a custom vehicle-lock integration. |
cloakroom | Clothing bridge and grade-restricted male/female uniforms. |
stationBlip | Station blip sprite, color, scale, and label. |
dutyBlips | On-duty officer blip visibility and style. |
hud | Online officer count and duty status display. |
Custom job-menu options can call an action, client event, server event, command, or onSelect function.
Server
File: config/server/config.lua
| Setting | Purpose |
|---|---|
onlineCountRefresh | Milliseconds between officer-count refreshes. |
jail | Server-side built-in jail persistence, spawns, release point, and outfits. |
allowedResources | Framework resources allowed to perform protected bridge operations. |
weaponsAsItems | Treats weapons as inventory items where supported. |
searchPlayers | Controls direct player-search behavior. |
logger | Enables Discord or Ox Lib logging and category webhooks. |