Skip to main content

Installation

Basic installation instructions for Wasabi Police Job V2 (wasabi_police_v2).


danger

The resource must be named wasabi_police_v2 to operate correctly.

1. Install and start dependencies​

Ensure all dependencies are installed, current, and configured.

2. Add inventory items and images​

The resource includes item definitions and images in _invItems.

  1. Add the appropriate item definitions from _invItems/data.lua to your inventory.
  2. Copy the images from _invItems/images into your inventory image directory.
  3. Confirm that the configured armory and feature items use names available in your inventory.

When using Ox/Wasabi inventory, add WEAPON_RADARGUN through the inventory's weapon-data file as shown in _invItems/data.lua, rather than as a regular item.

The included assets cover cuffs and keys, evidence bags, GSR and breathalyzer tools, bodycam, tracker, radar equipment, spike strips, and police props.

3. Review all three configuration files​

  • Shared: config/shared/config.lua
  • Client: config/client/config.lua
  • Server: config/server/config.lua

At minimum, review your police jobs, interaction system, enabled modules, inventory items, dispatch, billing, jail, garages, uniforms, and logging.

info

Setting debug = true in the shared configuration helps during initial set-up.

4. Start the resource​

Place wasabi_police_v2 in your resources directory and start it after the framework, Ox Lib, OxMySQL, inventory, and any selected integrations.

ensure ox_lib
ensure oxmysql
# ensure your framework and selected integrations first
ensure wasabi_police_v2

The resource creates its required database tables automatically on startup. Its database user therefore needs CREATE permission and may need ALTER permission when a shipped schema migration adds columns.

5. Create your police stations​

Join with an administrator group configured in adminGroups, then run:

/stationpanel

Create at least one station before opening the server to players. See Station Setup.

6. Restart and enjoy!​

Restart the server and enjoy.