Inventory
Requires properly setup config for inventory from Installation!
There are two ways of setuping inventory items. You can use integrated Asset Deployer that edit proper server files automatically after executing command or you can do all necessary edits Manually.
Asset Deployer
Available deploys:
Resource: ox_inventory
items
items-images
Resource: qs-inventory
items
items-images
Resource: qb-inventory
items
items-images
Resource: aj-inventory
items
items-images
Resource: lj-inventory
items
items-images
Resource: ps-inventory
items
items-images
Resource: mf-inventory
items
Resource: es_extended (esx)
items
Running deploy
Execute command prisonsetup <deploy-resource> [name]
in server console, where deploy-resource
is needed and represents resource from Available Deploys and name
is optional (if it's not filled, all deploys for resource will be deployed) and represents specific deploy for resource.
Example:
Manually
ox_inventory
Open
ox_inventory/data/items.lua
file.Add these items:
Copy images from
rcore_prison/assets/inventory_images/
toox_inventory/web/images/
.Restart your server. Server need to be restarted for proper registration of usable items!
qb-inventory / qs-inventory / aj-inventory / lj-inventory / ps-inventory
Open
qb-core/shared/items.lua
/qs-inventory/shared/items.lua
file.Add these items:
Copy images from
rcore_prison/assets/inventory_images/
toqb-inventory/html/images/
/qs-inventory/html/images/
.Restart your server. Server need to be restarted for proper registration of usable items!
es_extended (default esx inventory)
Use asset deployer command, that insert SQL items to database -
prisonsetup es_extended items
.
Last updated