Skip to content

Installation

Dependencies

Ensure the following resources are installed and running before sd-warehouse:

DependencyOptions
Librarysd_lib
Interactionox_target / qb-target / qtarget (or use TextUI)

Step 1: Add the Resource

  1. Download sd-warehouse from Keymaster
  2. Extract it into your server's resources directory
  3. Add ensure sd-warehouse to your server.cfg after all dependencies
ini
ensure sd_lib
ensure ox_lib
ensure ox_target
ensure sd-warehouse

Step 2: Add Items

Register the thermite item in your inventory system:

lua
-- Add to ox_inventory/data/items.lua

['thermite_h'] = {
    label = 'Thermite',
    weight = 1000,
    stack = false,
    close = true,
    description = 'A low-yield thermite charge..',
},
lua
-- Add to qb-core/shared/items.lua

['thermite_h'] = { name = 'thermite_h', label = 'Thermite', weight = 1000, type = 'item', image = 'thermite_h.png', unique = true, useable = true, shouldClose = true, description = 'A low-yield thermite charge..' },
sql
-- Import sd-warehouse/[SQL]/ESX/items.sql or run manually:

INSERT INTO `items` (`name`, `label`, `weight`) VALUES
  ('thermite_h', 'Thermite', 20);

Also ensure all loot reward items exist in your inventory system (gold bars, laptops, weapons, drugs, etc.).

Step 3: Copy Item Images

Copy the item images from sd-warehouse/images/ to your inventory's image folder:

InventoryImage Path
ox_inventoryox_inventory/web/images/
qb-inventory / ps-inventory<inventory>/html/images/
qs-inventoryqs-inventory/html/images/
codem-inventorycodem-inventory/html/itemimages/
origen_inventoryorigen_inventory/ui/images/
Warehouse Item Images1 images
Thermite
thermite_h.png

TIP

If you are using a custom inventory, place the images wherever your inventory loads item icons from.

Step 4: Start and Verify

  1. Start your server
  2. Check the server console for any errors
  3. Look for the Secured Warehouse blip on the map (if enabled)
  4. Ensure the minimum police requirement is met before attempting the heist

WARNING

Make sure sd_lib is started before sd-warehouse in your server.cfg, or the resource will fail to load.

TIP

No database tables are required. All heist state is managed in memory and resets on server restart.