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
- Open
ox_inventory.lua - CTRL + A
- CTRL + C
- Open
@ox_inventory/data/items.lua - Go to the end of the file
- Delete the
} - CTRL + V
- Re-insert the
}
qb-inventory.lua
- Open
qb-inventory.lua - CTRL + A
- CTRL + C
- Open
@qb-core/shared/items.lua - Go to the end of the file
- Delete the
} - CTRL + V
- 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
- Open your product’s
[items]/[images]folder - Copy all image files
- Paste them into:
ox_inventory/web/images/ - Overwrite if asked
- Restart your server and verify in-game
qb-inventory / QBCore
- Open your product’s
[items]/[images]folder - Copy all image files
- Paste them into:
qb-inventory/html/images/ - Overwrite if asked
- 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.