ESX
Installation guide
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.
BEFORE ANY MODIFICATION, BACKUP YOUR es_extended AND your SQL users TABLE! THIS IS MANDATORY, in case something is not respected / done wrongly, you have always a way back!
Dependencies Part
es_extended
weapons script ( included on downloaded files )
Download all the scripts by clicking on their respective names, put them in the server files and start server.cfg
Core Modifications
In order to inventory work, you need to be sure your es_extended is supported, to check this, open your es_extended folder and locate this file:

If you found this file, your es_extended is compatible!
Adjusting es_extended to JPR Inventory
After this, you two options:
1 - Use our plug and play es_extended
2 - Adapt your es_extended
Both work, but 2. requires more effort and knownledge
BEFORE ANY MORE STEP, BACKUP YOUR ES_EXTENDED FOLDER AS ZIP
Choice 1
In case your choice is 1, here it is the resource: (BACKUP OLD ONE)
version: 1.13.4
Choice 2
In case your choice is 2, here it goes an tutorial:
All done for es_extended!
Webhooks
Inventory uses webhooks for logs system. All you need to do is replace the default webhooks, via config.lua

SQL
You only need to execute SQL file attached to inventory folder.
This is mandatory to avoid errors
Converting default ESX items into JPR Items
JPR Inventory system will convert all SQL items on our standart in order to all work perfect.
You have two options:
1 - Run our SQL file named: convert_esx_to_jpr, what this will do? This will convert all player inventories into our format, in order to all work perfect, without this, inventory will simply not work.
SUPER IMPORTANT
If you already had an inventory that does this, dont RUN OUR FILE, you will not be able to save player items, since your old inventory already messed on that SQL tables. If this is your case, run clear_player_inventories.sql file ( Only way to avoid this is if your old inventory dev have a file to reset inventory column to default ESX standart ) ( Players will lose their inventories )
2 - In case you quit our inventory, you should run the convert_jpr_to_esx.sql file, in order to reset from JPR items format to default ESX format.
Config.lua
Setup all config.lua to your needs, read all comments in green color to be more easier.
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.
All good. Be happy with the script !

Last updated