|
| 1 | +--- |
| 2 | +title: it-crafting - Config Preview |
| 3 | +description: Full configuration preview of the it-crafting script |
| 4 | +--- |
| 5 | + |
| 6 | + |
| 7 | +# Config Preview |
| 8 | +Here you can find the full configuration of the it_bridge script. |
| 9 | + |
| 10 | +```lua |
| 11 | +-- ┌───────────────────────────────────────────┐ |
| 12 | +-- │ ___ _____ _ _ _ │ |
| 13 | +-- │|_ _|_ _| | |__ _ __(_) __| | __ _ ___ │ |
| 14 | +-- │ | | | | | '_ \| '__| |/ _` |/ _` |/ _ \│ |
| 15 | +-- │ | | | | | |_) | | | | (_| | (_| | __/│ |
| 16 | +-- │|___| |_|___|_.__/|_| |_|\__,_|\__, |\___|│ |
| 17 | +-- │ |_____| |___/ │ |
| 18 | +-- └───────────────────────────────────────────┘ |
| 19 | +-- Configuration file for the bridge resource |
| 20 | + |
| 21 | +Config = Config or {} |
| 22 | + |
| 23 | +--[[ |
| 24 | + Supported frameworks: |
| 25 | + * AUTO_DETECT: auto-detect framework |
| 26 | + * Framework.ESX: es_extended, https://github.com/esx-framework/esx_core |
| 27 | + * Framework.QBCore: qb-core, https://github.com/qbcore-framework/qb-core |
| 28 | + * Framework.QBOX: qbx_core, https://github.com/Qbox-project/qbx_core |
| 29 | + * Framework.NDCore: ND_Core, https://github.com/ND-Framework/ND_Core |
| 30 | +]] |
| 31 | +Config.Framework = AUTO_DETECT |
| 32 | +Config.FrameworkAdminGroups = { |
| 33 | + [Framework.ESX] = { 'superadmin', 'admin' }, |
| 34 | + [Framework.QBCore] = { 'god', 'admin' }, |
| 35 | + [Framework.QBOX] = { 'god', 'admin' }, |
| 36 | +} |
| 37 | + |
| 38 | + |
| 39 | +--[[ |
| 40 | + Supported inventories: |
| 41 | + * AUTO_DETECT: auto-detect inventory [Only detecting supported inventories below] |
| 42 | + * Inventories.ESX: es_extended, https://github.com/esx-framework/esx_core |
| 43 | + * Inventories.QB: qb-inventory, https://github.com/qbcore-framework/qb-inventory |
| 44 | + * Inventories.PS: ps-inventory, https://github.com/Project-Sloth/ps-inventory |
| 45 | + * Inventories.QS: qs-inventory, |
| 46 | + * Inventories.OX: ox_inventory, |
| 47 | + * Inventories.CODEM: codem-inventory |
| 48 | + * Inventories.ORIGEN: origen-inventory |
| 49 | +]] |
| 50 | + |
| 51 | +Config.Inventories = AUTO_DETECT |
| 52 | +Config.InventoryImgPath = { |
| 53 | + [Inventories.QB] = "qb-inventory/html/images/", |
| 54 | + [Inventories.PS] = "ps-inventory/html/images/", |
| 55 | + [Inventories.QS] = "qs-inventory/html/images/", |
| 56 | + [Inventories.OX] = "ox_inventory/web/images/", |
| 57 | + [Inventories.CODEM] = "codem-inventory/html/images/", |
| 58 | + [Inventories.ORIGEN] = "origen-inventory/html/images/", |
| 59 | +} |
| 60 | + |
| 61 | +--[[ |
| 62 | + Supported interactions: |
| 63 | + * AUTO_DETECT: auto-detect interactions [Only detecting supported interactions below] |
| 64 | + * Interactions.OX: ox_target, |
| 65 | + * Interactions.QB: qb-target, |
| 66 | + * Interactions.MV, ps-inventory, |
| 67 | + * Interactions.NONE, distance interaction - press [E] |
| 68 | +]] |
| 69 | +Config.Interactions = AUTO_DETECT |
| 70 | + |
| 71 | + |
| 72 | +--[[ |
| 73 | + Supported phone resources: |
| 74 | + * AUTO_DETECT: auto-detect phone resource |
| 75 | + * Phones.LB: lb_phone, |
| 76 | +]] |
| 77 | +Config.Phones = AUTO_DETECT |
| 78 | + |
| 79 | +--[[ |
| 80 | + Supported Notify resources: |
| 81 | + * AUTO_DETECT: auto-detect Notify resource |
| 82 | + * Notifications.BRUTAL: brutal_notify, |
| 83 | + * Notifications.OX: ox_lib, |
| 84 | + * Notifications.ESX_NOTIFY: esx_notify, |
| 85 | + * Notifications.QBCORE: qb-core, |
| 86 | + * Notifications.ESX: es_extended, |
| 87 | + * Notifications.MYTHIC: mythic_notify, |
| 88 | + * Notifications.OKOK: okokNotify, |
| 89 | +]] |
| 90 | +Config.Notifications = AUTO_DETECT |
| 91 | +Config.NotificationsSettings = { |
| 92 | + Success = 'success', |
| 93 | + Info = 'primary', |
| 94 | + Warning = 'warning', |
| 95 | + Error = 'error', |
| 96 | +} |
| 97 | + |
| 98 | +--[[ |
| 99 | + Supported TextUI resources: |
| 100 | + * AUTO_DETECT: auto-detect TextUI resource |
| 101 | + * TextUI.OX: ox_lib, |
| 102 | + * TextUI.QBCORE: qb-core, |
| 103 | + * TextUI.ESX: esx_textui, |
| 104 | + * STANDALONE: no TextUI resource found. |
| 105 | +]] |
| 106 | + |
| 107 | +Config.TextUI = AUTO_DETECT |
| 108 | + |
| 109 | +--[[ |
| 110 | + Supported Menu: |
| 111 | + * AUTO_DETECT: auto-detect menu |
| 112 | + * Menus.ESX_CONTEXT: esx_context, |
| 113 | + * Menus.OX: ox_lib - context, |
| 114 | + * Menus.QB: qb-menu, |
| 115 | +]] |
| 116 | +Config.Menus = AUTO_DETECT |
| 117 | + |
| 118 | +--[[ |
| 119 | + Supported dispatches: |
| 120 | + * AUTO_DETECT: auto-detect dispatch resources |
| 121 | + * Dispatches.QS, qs-dispatch |
| 122 | + * Dispatches.PS, ps-dispatch |
| 123 | + * Dispatches.CD, cd_disaptch |
| 124 | + * Dispatches.CODEM, codem_dispatch |
| 125 | + * Dispatches.LOVE_SCRIPTS, emergency_dispatch |
| 126 | + * Dispatches.ORIGEN, origen_police |
| 127 | +]] |
| 128 | + |
| 129 | +Config.Dispatches = AUTO_DETECT |
| 130 | +``` |
| 131 | + |
0 commit comments