Skip to main content

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.

SettingPurpose
debugEnables additional debugging output. Disable for production.
languageSelects the locale.
policeJobsPolice jobs as an array or a job-to-minimum-grade map.
adminGroupsACE/admin groups allowed to use station and jail panels.
stationPanelCommandAdmin command used to open station management.
jailPanelCommandAdmin command used to open jail management.
interactox_target, qb-target, sleepless_interact, or drawText.
UIColorAccent color used by the Police V2 interfaces.
personalLockerPersonal locker weight and slot limits.
evidenceLockerEvidence locker weight and slot limits.
armoryDuty 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.

note

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

SectionConfigures
jailSystem / jailBuilt-in or external jail bridge, locations, and inmate clothing.
cuffingRequired items, cuff states, movement flags, keys, cutters, and props.
surrenderKeybind, surrender modes, gunpoint detection, and compliance.
tackleHotkey, sprint requirement, and distance.
gsrDuration, cleanup behavior, and optional required test item.
radar / radarPostUnits, thresholds, keybinds, persistent post behavior, and blips.
trackerTracking item, persistence, access jobs, and blip style.
spikestripSpike-strip feature toggle.
cctvPersistence, destruction, access jobs, placement models, and viewing offsets.
evidenceEvidence items, collection timing, blood, fingerprints, and casings.
dispatchAllowed jobs, keybinds, panic cooldown, and call blips.
billingCharge account, society crediting, and fine presets.
propsRender distance and placeable police prop catalog.
breathalyzerDuty requirement, duration, and interaction distance.
bodycamRequired item, duty requirement, stop key, and clip durations.
garagesInternal/external garage selection and per-job, per-rank vehicles.

Client

File: config/client/config.lua

SectionPurpose
jobMenuCommand, event, keybind, duty requirement, allowed jobs, and custom options.
customCarlockEnables a custom vehicle-lock integration.
cloakroomClothing bridge and grade-restricted male/female uniforms.
stationBlipStation blip sprite, color, scale, and label.
dutyBlipsOn-duty officer blip visibility and style.
hudOnline 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

SettingPurpose
onlineCountRefreshMilliseconds between officer-count refreshes.
jailServer-side built-in jail persistence, spawns, release point, and outfits.
allowedResourcesFramework resources allowed to perform protected bridge operations.
weaponsAsItemsTreats weapons as inventory items where supported.
searchPlayersControls direct player-search behavior.
loggerEnables Discord or Ox Lib logging and category webhooks.