Skip to content

Installation

This guide will walk you through installing prp-warehouse-robbery on your FiveM server.

Installation steps

1
Download the resources
Download both prp-warehouse-robbery and warehouse-robbery-assets from the CFX portal and place them in your resources folder.
2
Add to server.cfg
Add the resources to your server.cfg.
ensure oxmysql
ensure ox_lib
ensure prp-bridge
ensure warehouse-robbery-assets
ensure prp-warehouse-robbery
warehouse-robbery-assets must be started before prp-warehouse-robbery.
3
Add items
Add all required items to your inventory resource — see Items below.
4
Configure
Adjust loot tables, cooldowns, and mission settings in configs/missions.lua and configs/smuggling.lua to fit your server's economy.
5
Optional: inventory icons
Custom inventory icons are included in the installation/inventory icons folder. Copy them to your inventory resource's image directory if you'd like to use them.

WARNING

warehouse-robbery-assets must be started before prp-warehouse-robbery. It streams the custom warehouse interior (MLO), server facility props, loot box model and animations, and all collision/navmesh data used by the mission.

Items

Add all required items to your inventory resource using the format appropriate for your setup.

Add the items below to your ox_inventory into data/items.lua.

lua
-- Warehouse Robbery
['warehouse_entry'] = {
    label = 'Warehouse Entry',
    weight = 10,
    stack = false,
},
['warehouse_fuse'] = {
    label = 'Warehouse Fuse',
    weight = 50,
},
['warehouse_bomb'] = {
    label = 'Warehouse Bomb',
    weight = 100,
    stack = false,
},

-- Ocean Run
['ocean_run_entry'] = {
    label = 'Ocean Run Entry',
    weight = 10,
    stack = false,
},
['smuggling_nas'] = {
    label = 'NAS Device',
    weight = 2000,
    stack = false,
},
['smuggling_hdd'] = {
    label = 'Hard Drive',
    weight = 200,
},

INFO

The warehouse_fuse item is found as loot inside the warehouse during the mission - players do not need to bring one in. The warehouse_entry and ocean_run_entry items are consumed when queuing and can also be found as rare loot drops within their respective missions.

Admin Commands

CommandPermissionDescription
/test_smugglinggroup.adminForce-starts an Ocean Run mission (disabled by default; enable in configs/smuggling.lua)