Updating
Update Eleven Inventory on FiveM without losing your config, and what to redo after updating ox_inventory or illenium-appearance: ui_page and the patch.
Eleven Inventory touches three places: its own folder, one line in ox_inventory and one file in illenium-appearance. Updating any of the three means checking something. The general guide Updating covers the process shared by all our scripts.
Updating precinto-inventory
- Download the new version from Cfx.re Keymaster.
- Back up your
config.luaandlocales/. - Replace the
precinto-inventoryfolder with the new one, keeping the same name. - Compare your
config.luawith the new one and copy your values onto the new file, so you don't lose any keys that were added. Do the same withlocales/*.jsonif you changed them. - Check whether
illenium-appearance-patch/orox_inventory_items/changed. If so, reapply the patch (on an unpatched illenium) or add the new items. - If you use installation option B (the interface copied into ox_inventory), copy
precinto-inventory/web/build/intoox_inventory/web/build/again. - Restart the server.
Players' worn clothing lives in the database (the precinto_wearables table) and is kept.
When you update ox_inventory
The update brings back the original fxmanifest.lua, so the ui_page line reverts to the stock one and you get the old interface. Change it again:
ui_page 'https://cfx-nui-precinto-inventory/web/build/index.html'
The safe steps (backup, change and rollback) are in Change the ox_inventory UI safely. With option B, copy the interface into ox_inventory/web/build/ again.
Your clothing items live in ox_inventory/data/items.lua: if the update replaces that file, paste them back in. And make sure the new version is still the official communityox release, v2.45 or newer.
When you update illenium-appearance
server/server.lua is overwritten and the patch is gone: the Equipment panel stops saving and the console shows a red illenium-appearance is not patched warning. Reapply the patch after every update.
Changes and requests
The code is escrowed and the interface ships compiled only. If you need a new feature or different behavior, open a ticket on our Discord.
If something fails
See Troubleshooting and, for Keymaster errors, the Install with Keymaster guide.