mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
ox_inventory: update install steps
No more manual sql queries, or fxmanifest changes.
This commit is contained in:
1 parent
1eeb53fc52
commit
961e39184c
2 files changed
+5
-9
No files matched your search
@@ -27,23 +27,21 @@ start ox_inventory
|
||||
<Tabs>
|
||||
<TabItem value="fresh" label="Clean install" default>
|
||||
|
||||
- Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql) to create the ox_inventory database table.
|
||||
- No extra steps required.
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="convert_esx" label="Convert ESX">
|
||||
|
||||
- Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql) to create the ox_inventory database table.
|
||||
- Open `fxmanifest.lua` and uncomment `server_script 'setup/convert.lua'`.
|
||||
- Start the server and type `convertinventory esx` into the server console.
|
||||
- Disable `setup/convert.lua` and restart the server.
|
||||
- Optionally, type `convertinventory esxproperty` into the server console.
|
||||
- Restart the server once conversion is complete.
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="convert_linden" label="Upgrade from Linden Inventory">
|
||||
|
||||
- Execute the query inside [upgrade.sql](https://github.com/overextended/ox_inventory/blob/main/setup/upgrade.sql).
|
||||
- Open `fxmanifest.lua` and uncomment `server_script 'setup/convert.lua'`.
|
||||
- Start the server and type `convertinventory linden` into the server console.
|
||||
- Disable `setup/convert.lua` and restart the server.
|
||||
- Restart the server once conversion is complete.
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
@@ -12,16 +12,14 @@ Ox Inventory provides a complete suite of tools to replace the built-in items an
|
||||
|
||||
- Use the latest source code of [qb-core](https://github.com/qbcore-framework/qb-core).
|
||||
- Modify your `server.cfg`, starting ox_inventory immediately after qb-core.
|
||||
- Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql) to create the ox_inventory database table.
|
||||
- To disable the weapon animation of qb-smallresources, use the latest source code of [qb-smallresources](https://github.com/qbcore-framework/qb-smallresources) (it will only disable if qb-inventory is **not** present inside the resources folder)
|
||||
|
||||
### Convert QBCore
|
||||
|
||||
If you have existing player data, you will need to convert it to a compatible format.
|
||||
|
||||
- Open `fxmanifest.lua` and uncomment `server_script 'setup/convert.lua'`
|
||||
- Start the server and type `convertinventory qb` into the server console.
|
||||
- Disable `setup/convert.lua` and restart the server.
|
||||
- Restart the server once conversion is complete.
|
||||
|
||||
## Optional optimisation
|
||||
|
||||
|
||||
Reference in new issue
Block a user