Dependencies · origen_vendings
All dependencies listed below must be started before origen_vendings in your server.cfg.
Required
| Resource | Notes |
|---|---|
ox_lib | Used for callbacks, TextUI, notifications, and locale system |
oxmysql | Async MySQL driver — tables are auto-created on first start |
Framework compatibility
origen_vendings supports multiple frameworks. The active framework is auto-detected on startup based on which resource is running. You can also force it manually via Config.Framework.
| Framework | Resource name | Support |
|---|---|---|
| QBCore | qb-core | Full |
| QBX Core | qbx_core | Full |
| ESX | es_extended | Full |
Auto-detection runs in init.lua on both client and server. If more than one framework is active, detection priority is: qbx_core → qb-core → es_extended.
Inventory compatibility
The inventory provider is auto-detected by default (Config.Inventory = 'auto'). Detection checks GetResourceState in priority order. You can also force a specific provider.
| Inventory | Resource name |
|---|---|
| ox_inventory | ox_inventory |
| QBCore inventory | qb-inventory |
| QS Inventory | qs-inventory |
| PS Inventory | ps-inventory |
| Origen Inventory | origen_inventory |
| Codem Inventory | codem-inventory |
| Tgiann Inventory | tgiann-inventory |
| Core Inventory | core_inventory |
Auto-detection priority order (first running resource wins): origen_inventory → tgiann-inventory → qs-inventory → codem-inventory → ox_inventory → qb-inventory → ps-inventory → core_inventory. Falls back to ox_inventory if none is detected.
Recommended start order
ensure ox_lib
ensure oxmysql
# framework
ensure qb-core # or qbx_core / es_extended
# inventory
ensure ox_inventory # or your active inventory
ensure origen_vendings