Inventory Item Convert
π Inventory Conversion
SB Containers includes built in conversion commands for servers changing between QBCore stash storage and ox_inventory.
Conversion is necessary because the two inventory systems store stash information differently.
Before You Convert
Make sure:
- The server is empty.
- You have a recent database backup.
- The correct inventory resource is installed.
- You know which direction you are converting.
π¨ Do not run conversion commands while players are actively using containers.
QBCore β ox_inventory
If you are moving from the default QBCore stash system to ox_inventory, use:
convertcontaineroxThis converts the existing container stash information into the format required by ox_inventory.
ox_inventory β QBCore
If you are moving from ox_inventory back to the default QBCore stash system, use:
convertcontainerqbThis converts the existing container information back into the QBCore stashitems format.
After Conversion
Wait until the server console reports that the conversion completed successfully.
Then restart the server.
After restarting, test an existing container before allowing players back onto the server.
Recommended Procedure
Empty Server
β
Backup Database
β
Run Conversion
β
Wait for Success Message
β
Restart Server
β
Test Containers
β
Allow Players Back Onlineβ οΈ Do not run both conversion commands. Only use the command that matches the inventory system you are switching to.
