JPResources Documentation
  • 👋Welcome to JPResources
  • Installation
    • 📲Phone System
      • Installation Page
        • QBCore
        • QBox
        • ESX
        • VRPex
      • Config File
      • Events & Commands
      • Custom APPs
      • Translations
      • Common Problems
      • Installation Video
    • 🏡Housing System
      • Installation Page
        • QBCore
        • QBox
        • ESX
      • Events & Commands
      • How to add MLO House
      • How to add SHELL Tier
      • Translations
      • Common Problems
    • 🎰Casino System
      • How to install
        • ESX
        • QBCore
        • QBox
      • Translations
      • Common Issues
    • 🚨MDT System
      • How to install
      • Events & Commands
      • Translations
    • 🏥EMS MDT System
      • How to install
      • Events & Commands
      • Translations
    • 🎒Inventory
      • How to install
      • Events & Commands
      • Translations
      • Common Issues
    • 🚘Vehicle Shops
      • Installation Page
        • QBCore
        • Qbox
        • ESX
      • Translations
    • 💰Business System
      • Installation Page
        • QBCore
        • Qbox
        • ESX
      • Translations
    • 💼Job System
      • Installation Page
        • QBCore
        • QBox
        • ESX
      • Translations
    • 📱Budget Phone
      • QBCore
    • ⚙️Crew System
      • QBCore
    • 👚Clothing System
      • QBCore
    • 🏢Garage System
      • Installation Page
        • QBCore
        • QBox
        • ESX
    • 👪Multichar
      • Installation Page
        • QBCore
        • ESX
    • 🔪Territories
      • Installation Page
        • QBCore
        • QBox
        • ESX
    • 🎒Backpack
      • QBCore
    • 💴Moneywash
      • Installation Page
        • QBCore
        • QBox
        • ESX
    • 🌊Poolcleaner Job
      • Installation Page
    • 🚗TDi Smoke
      • Installation Page
  • Support / Store
    • 🛠️Where i can find support and buy new scripts
    • 🛠️FiveM asset escrow errors
Powered by GitBook
On this page
  • Download Resource
  • Dependencies Part
  • Webhooks
  • SQL
  • Config.lua
  • Adjust images
  • Replacing Exports/Events
  • Backpack Part
  • Last check
  1. Installation
  2. 🎒Inventory

How to install

Installation guide

PreviousInventoryNextEvents & Commands

Last updated 6 months ago

Download Resource

You will receive the script in keymaster.fivem.net profile, after this click in blue "download" button.

After download, put the script in your server files.

Remeber:

You need to be logged with the same cfx.re account you used to buy in my tebex store.

Dependencies Part

  • qb-core

Download all the scripts by clicking on their respective names, put them in the server files and start server.cfg

Webhooks

Inventory uses webhooks for logs system. All you need to do is replace the default webhooks, via config.lua

For more info how to create a discord webhook follow this tutorial: https://www.youtube.com/watch?v=fKksxz2Gdnc&t=7s&ab_channel=NoIntroTutorials

SQL

You only need to execute SQL file attached to inventory folder.

This is mandatory to avoid errors

Config.lua

Setup all config.lua to your needs, read all comments in green color to be more easier.

VERY IMPORTANT If you are on LATEST QBCore versions, you need to set:

Config.LatestQBCoreVersions = true

Adjust images

To edit/change images, only need to follow this directory: jpr-inventario - html - images. To change item image, put an image and rename to item name.

Replacing Exports/Events

In order to use inventory, you need to replace all exports from qb-inventory to jpr-inventory otherwise you will have errors.

This is mandatory otherwise the inventory will show errors in console

Backpack Part

Go to qb-core, shared, items.lua, replace phone item line to this ones:

['smallbackpack'] 				 = {['name'] = 'smallbackpack', 			  	  	['label'] = 'Small Backpack', 				['weight'] = 5000, 		['type'] = 'item', 		['image'] = 'smallbackpack.png', 		['unique'] = true, 	['useable'] = true, 	['shouldClose'] = false,	   ['combinable'] = nil,   ['description'] = 'Small backpack'},
['mediumbackpack'] 				 = {['name'] = 'mediumbackpack', 			  	  	['label'] = 'Medium Backpack', 				['weight'] = 6000, 		['type'] = 'item', 		['image'] = 'mediumbackpack.png', 		['unique'] = true, 	['useable'] = true, 	['shouldClose'] = false,	   ['combinable'] = nil,   ['description'] = 'Medium backpack'},
['reinforcedbackpack'] 				 = {['name'] = 'reinforcedbackpack', 			  	  	['label'] = 'Reinforced Backpack', 				['weight'] = 7000, 		['type'] = 'item', 		['image'] = 'reinforcedbackpack.png', 		['unique'] = true, 	['useable'] = true, 	['shouldClose'] = false,	   ['combinable'] = nil,   ['description'] = 'Reinforced backpack'},
['bigbackpack'] 				 = {['name'] = 'bigbackpack', 			  	  	['label'] = 'Big Backpack', 				['weight'] = 8000, 		['type'] = 'item', 		['image'] = 'bigbackpack.png', 		['unique'] = true, 	['useable'] = true, 	['shouldClose'] = false,	   ['combinable'] = nil,   ['description'] = 'Big backpack'},

Go to qb-core, shared, items.lua, replace phone item line to this ones:

smallbackpack = { name = 'smallbackpack', label = 'Small Backpack', weight = 5000, type = 'item', image = 'smallbackpack.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'Small backpack' }, 
mediumbackpack = { name = 'mediumbackpack', label = 'Medium Backpack', weight = 6000, type = 'item', image = 'mediumbackpack.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'Medium backpack' }, 
reinforcedbackpack = { name = 'reinforcedbackpack', label = 'Reinforced Backpack', weight = 7000, type = 'item', image = 'reinforcedbackpack.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'Reinforced backpack' }, 
bigbackpack = { name = 'bigbackpack', label = 'Big Backpack', weight = 8000, type = 'item', image = 'bigbackpack.png', unique = true, useable = true, shouldClose = false, combinable = nil, description = 'Big backpack' }, 

Last check

Now, only rest to see fxmanifest.lua, open it and confirm the name of scripts, if they are different adjust to your script names.

If you use original QBCore base/scripts you can skip this

All good. Be happy with the script !

How to replace all exports ( fastest way ).