Requirements
- ESX (1.10.7, 1.11.3+, or 1.14.0+), QBCore, or QBX
jaksam_coreoxmysqlandox_lib(see the Start Order Example for your framework below)
- ESX 1.10.7
- ESX 1.11.3+
- ESX 1.14.0+
- QBCore
- QBX
- Download the script and extract it into your resources.
- Download
jaksam_coreand extract it into your resources. - Add the following code right after
es_extendedin yourserver.cfg:
- In
es_extended/config.lua, set:
- In
es_extended/config.lua, set:
- The script will automatically set up the database. If it doesn’t, you can manually run the files in the
jaksam_inventory/sql/folder.
Start Order Example
Verification
Use the/inventory command in-game. If your inventory opens, the script is running correctly.
Importing Old Items and Inventories
- ESX
- QBCore
- OX Inventory
- qs-inventory
- Chezza Inventory
- TGiann Inventory
- Go in-game.
- Use the
/inventorycommand and go to Settings. - Click Import from ESX.
- Done!
Backwards Compatibility
This inventory lets you use your old scripts, even if they require a different inventory system.Default Framework Functions
You can use the normal inventory functions provided by your framework.OX Inventory Compatibility
If your old scripts use OX Inventory, you can enable easy compatibility.- Go to
jaksam_inventory/integrations/sv_integrations.lua. - Enable
ox_inventoryinIntegrations.backwardsCompatibility. - The server may require a restart after it loads for the first time with these settings.
QB Inventory Compatibility
If your old scripts use QB Inventory, you can enable easy compatibility.- Go to
jaksam_inventory/integrations/sv_integrations.lua. - Enable
qb-inventoryinIntegrations.backwardsCompatibility. - The server may require a restart after it loads for the first time with these settings.
