Framework & Inventory
Auto-detection settings for framework, inventory provider, and database driver.
Framework
| Option | Default | Description |
|---|---|---|
Config.Framework | "auto" | Framework detection mode |
Available values: "auto", "es_extended", "qb-core", "qbox_core", "standalone"
Database
| Option | Default | Description |
|---|---|---|
Config.Database | "auto" | Database driver selection |
Available values: "auto", "oxmysql", "mysql-async", "ghmattimysql"
Inventory
| Option | Default | Description |
|---|---|---|
Config.Inventory | "auto" | Inventory system selection |
Available values: "auto", "qb-inventory", "esx_inventoryhud", "qs-inventory", "ox_inventory", "codem-inventory", "gfx-inventory", "ps-inventory"
Inventory Image Paths
The script auto-detects item images from your inventory provider. Custom paths are configurable in Config.InventoryImagePaths:
lua
Config.InventoryImagePaths = {
["ox_inventory"] = "nui://ox_inventory/web/images/%s.png",
["qb-inventory"] = "nui://qb-inventory/html/images/%s.png",
["ps-inventory"] = "nui://ps-inventory/html/images/%s.png",
["esx_inventoryhud"] = "nui://esx_inventoryhud/html/img/items/%s.png",
["esx_inventory"] = "nui://esx_inventory/html/img/items/%s.png",
["qs-inventory"] = "nui://qs-inventory/html/images/%s.png",
["codem-inventory"] = "nui://codem-inventory/html/itemimages/%s.png",
["gfx-inventory"] = "nui://gfx-inventory/html/images/%s.png",
}
The %s placeholder is replaced with the item name at runtime.
Notification System
| Option | Default | Description |
|---|---|---|
Config.Notify | "framework" | Notification system to use |
Available values: "framework", "codem-notification", "okokNotify", "mythic", "17mov"
