mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +00:00
ox_inventory: Getting Started setup guide
This commit is contained in:
1 parent
037c52597c
commit
41f9e75629
4 files changed
+69
-90
No files matched your search
@@ -55,7 +55,7 @@ Provides easily reusable functions that can be imported into your resource or ca
|
||||
GitHub
|
||||
</IconButton>
|
||||
</a>
|
||||
<a href="../library">
|
||||
<a href="../ox_lib">
|
||||
<IconButton side="left" icon={<BsBookHalf />}>
|
||||
Documentation
|
||||
</IconButton>
|
||||
@@ -129,96 +129,13 @@ You can compile it youself by following the [build guide](./Guides/inventory_ui)
|
||||
|
||||
### Setup
|
||||
|
||||
<Tabs>
|
||||
<TabItem value="fresh_esx" label="Fresh ESX" default>
|
||||
|
||||
Use a compatible version of [ESX Legacy](https://github.com/esx-framework/esx-legacy) (1.6.0+)
|
||||
Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql)
|
||||
|
||||
Start order should look like the following:
|
||||
|
||||
```
|
||||
start oxmysql
|
||||
start es_extended
|
||||
start ox_lib
|
||||
start ox_inventory
|
||||
...
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="convert_esx" label="Convert ESX">
|
||||
|
||||
Use a compatible version of [ESX Legacy](https://github.com/esx-framework/esx-legacy) (1.6.0+)
|
||||
Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql)
|
||||
Open `fxmanifest.lua` and uncomment `server_script 'setup/convert.lua'`
|
||||
Start the server and execute the `convertinventory esx` command from the console
|
||||
Remove the conversion file
|
||||
|
||||
Start order should look like the following:
|
||||
|
||||
```
|
||||
start oxmysql
|
||||
start es_extended
|
||||
start ox_lib
|
||||
start ox_inventory
|
||||
...
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="fresh_qb" label="Fresh QBCore" default>
|
||||
|
||||
Use the latest source code of [qb-core](https://github.com/qbcore-framework/qb-core)
|
||||
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)
|
||||
Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql)
|
||||
|
||||
Start order should look like the following:
|
||||
|
||||
```
|
||||
start oxmysql
|
||||
start qb-core
|
||||
start ox_lib
|
||||
start ox_inventory
|
||||
...
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="convert_qb" label="Convert QBCore">
|
||||
|
||||
Use the latest source code of [qb-core](https://github.com/qbcore-framework/qb-core)
|
||||
Execute the query inside [install.sql](https://github.com/overextended/ox_inventory/blob/main/setup/install.sql)
|
||||
Open `fxmanifest.lua` and uncomment `server_script 'setup/convert.lua'`
|
||||
Start the server and execute the `convertinventory qb` command from the console
|
||||
Remove the conversion file
|
||||
|
||||
Start order should look like the following:
|
||||
|
||||
```
|
||||
start oxmysql
|
||||
start qb-core
|
||||
start ox_lib
|
||||
start ox_inventory
|
||||
...
|
||||
```
|
||||
|
||||
</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 execute the `convertinventory linden` command from the console
|
||||
Remove the conversion file
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="standalone" label="Standalone">
|
||||
If you are using a supported framework, refer to the dedicated guide in the navigation bar.
|
||||
|
||||
Work in progress.
|
||||
|
||||
Refer to the "bridge" module to get an idea of how you setup support for any framework.
|
||||
Modifications will need to be made for licenses, owned vehicles, and jobs.
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
:::caution
|
||||
|
||||
You should restart your server after the first startup to ensure everything has been correctly setup
|
||||
|
||||
Reference in new issue
Block a user