Skip to main content

Installation

Basic installation instructions for Wasabi Robbery Creator (wasabi_crimecreator).


danger

The resource must be named wasabi_crimecreator to operate correctly.

1. Install and start dependencies​

Ensure all dependencies are installed, current, and configured.

2. Add inventory items​

The resource includes item definitions in _invItems.

  1. Add the item definitions for your inventory from _invItems/data.lua (ox, qb/ps, codem, tgiann, jaksam and ESX formats are included). Only add the ones you are missing; duplicates break item loading.
  2. ESX without an item inventory: run install/esx_items.sql on your database.

The presets use a standard set of tools (lockpick, drill, laptop, thermite, C4, glass cutter) and loot (gold bars, jewellery, paintings, stolen goods). Item names are plain text in the creator, so you can point any step at an item you already have.

3. Review all three configuration files​

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

At minimum, review the admin groups, interaction type, police jobs and money accounts. See Configurations.

info

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

4. Start the resource​

Place wasabi_crimecreator in your resources directory. For the house robbery presets, also copy addons/wasabi_crimecreator_shells into your resources directory as its own resource.

ensure ox_lib
ensure oxmysql
# ensure your framework and inventory first
ensure wasabi_crimecreator
ensure wasabi_crimecreator_shells # optional: emptied house interiors

The resource creates its database tables automatically on startup; there is no SQL to import. Its database user therefore needs CREATE permission, and ALTER permission when an update adds columns.

5. Give staff access​

Players with the robberycreator.admin ace, or in the groups listed in admin.groups (default admin and god), can open the creator and use /robberyadmin. In server.cfg:

add_ace group.admin robberycreator.admin allow
add_principal identifier.license:YOUR_LICENSE group.admin

Replace YOUR_LICENSE with the player's license (shown in txAdmin or the server console when they join).

6. Import your first robberies​

Join with a staff account and run:

/robberycreator

Open Presets, pick a preset, choose the map and click Import. The robbery is created disabled; review it on the Robberies page and enable it there. See Presets.

7. Restart and enjoy!​

Restart the server and enjoy.