Skip to main content

How to install items?

If the items are provided in the purchased product, there will be a [items] folder, this folder contains predefined items in different formats.
To install them:

ox_inventory.lua

  1. Open ox_inventory.lua
  2. CTRL + A
  3. CTRL + C
  4. Open @ox_inventory/data/items.lua
  5. Go to the end of the file
  6. Delete the }
  7. CTRL + V
  8. Re-insert the }

qb-inventory.lua

  1. Open qb-inventory.lua
  2. CTRL + A
  3. CTRL + C
  4. Open @qb-core/shared/items.lua
  5. Go to the end of the file
  6. Delete the }
  7. CTRL + V
  8. Re-insert the }

How to install item images?

If the purchased product includes item images, you’ll find them in [items]/[images] You need to copy those images into the correct inventory images folder for your framework.

ox_inventory

  1. Open your product’s [items]/[images] folder
  2. Copy all image files
  3. Paste them into: ox_inventory/web/images/
  4. Overwrite if asked
  5. Restart your server and verify in-game

qb-inventory / QBCore

  1. Open your product’s [items]/[images] folder
  2. Copy all image files
  3. Paste them into: qb-inventory/html/images/
  4. Overwrite if asked
  5. Restart your server and verify in-game
Tip: Image filenames must match the item name, this as already be done for you

Common troubleshooting

  • Image not showing: filename doesn’t match the item name exactly.
  • Still old image: clear your client cache or ensure you overwrote the correct file.