For the complete documentation index, see llms.txt. This page is also available as Markdown.
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/ to ox_inventory/web/images/.
Restart your server. Server need to be restarted for proper registration of usable items!