Installation

Installation

The installation of the script is extremely easy

  1. Download the script and extract it in your resources

  2. Download the jaksam_core and extract it in your resources

  3. Add the script in your auto start, right after es_extended (example: server.cfg)

  4. Set in es_extended\config.lua -> Config.OxInventory = false

  5. Set in es_extended\config.lua -> Config.EnableDefaultInventory = false

  6. The script will automatically setup the database, in case it doesn't, you can manually run the files in jaksam_inventory/sql/ folder

Start order example

# OX
ensure oxmysql
ensure ox_lib

## ESX
ensure es_extended
ensure jaksam_inventory

# Other ESX scripts (start instead of ensure, otherwise es_extended would restart if it's in this folder)
start [core]

You are ready to go! Enjoy the script 😁

Importing old items and inventories

  1. Go in-game

  2. Use /inventory command, go in settings

  3. Click button "Import from ESX"

  4. Done!

Backwards Compatibility

This inventory lets you use your old scripts, even if they need another inventory

Default Framework Functions

You can use the normal inventory functions from your framework

'OX Inventory' Compatibility

If your old scripts use 'OX Inventory', you can enable easy compatibility

  1. Go in jaksam_inventory\integrations\sv_integrations.lua

  2. Enable ox_inventory in Integrations.backwardsCompatibility

  3. Server may require a restart after it loads the first time with these settings

'QB Inventory' Compatibility

If your old scripts use 'QB Inventory', you can enable easy compatibility

  1. Go in jaksam_inventory\integrations\sv_integrations.lua

  2. Enable qb-inventory in Integrations.backwardsCompatibility

  3. Server may require a restart after it loads the first time with these settings

That's all, your old scripts should work with this inventory

Last updated

Was this helpful?