-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsettings.lua
More file actions
131 lines (117 loc) · 4.64 KB
/
settings.lua
File metadata and controls
131 lines (117 loc) · 4.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
--[[
fmLib - A library for FiveM developers
|| *-> Author
GitHub: https://github.com/meesvrh
--]]
---@class Settings
Settings = {
---@type boolean Whether or not to print debug messages
debug = false,
---@type boolean Whether or not to print warning messages
warning = false,
---@type boolean Whether or not to use sfx for web modules (overrides sfx = true in modules)
useSfx = true,
}
---@enum Defaults
---Fallbacks for when you don't specify a value
Defaults = {
MONEY = 'money',
ADMIN_ESX = 'admin',
ADMIN_QB = 'admin',
GOD_QB = 'god',
}
---@enum KeyMappings
---Key mappings for the library
KeyMappings = {
CANCEL = { mapper = 'keyboard', key = 'x' },
}
-- Resource definitions organized by category
-- Only change these if you have changed the name of a resource
AdapterResources = {
framework = {
{ key = 'esx', resource = 'es_extended' },
{ key = 'qb', resource = 'qb-core' },
},
inventory = {
{ key = 'ox', resource = 'ox_inventory' },
{ key = 'qb', resource = 'qb-inventory' },
{ key = 'qs', resource = 'qs-inventory' },
{ key = 'core', resource = 'core_inventory' },
{ key = 'ps', resource = 'ps-inventory' },
{ key = 'chezza', resource = 'inventory' },
{ key = 'tgiann', resource = 'tgiann-inventory' },
{ key = 'jpr', resource = 'jpr-inventory' },
{ key = 'codem', resource = 'codem-inventory' },
{ key = 'origen', resource = 'origen_inventory' },
{ key = 'jaksam', resource = 'jaksam_inventory' },
},
banking = {
{ key = 'rx', resource = 'RxBanking' },
{ key = 'addon', resource = 'esx_addonaccount' },
{ key = 'management', resource = 'qb-management' },
},
keys = {
{ key = 'qb', resource = 'qb-vehiclekeys' },
{ key = 'qs', resource = 'qs-vehiclekeys' },
{ key = 'renewed', resource = 'Renewed-Vehiclekeys' },
{ key = 'wasabi', resource = 'wasabi_carlock' },
{ key = 'tgiann', resource = 'tgiann-hotwire' },
{ key = 'mm', resource = 'mm_carkeys' },
{ key = 'mrnewb', resource = 'MrNewbVehicleKeys' },
{ key = 'is', resource = 'is_vehiclekeys' },
{ key = 'fast', resource = 'fast-vehiclekeys' },
{ key = 'filo', resource = 'filo_vehiclekey' },
{ key = 'qbx', resource = 'qbx_vehiclekeys' },
{ key = 'tc', resource = 'tc_keys' },
},
garage = {
{ key = 'cd', resource = 'cd_garage' },
{ key = 'okok', resource = 'okokGarage' },
{ key = 'jg', resource = 'jg-advancedgarages' },
{ key = 'codem', resource = 'mGarage' },
{ key = 'rx', resource = 'RxGarages' },
{ key = 'op', resource = 'op-garages' },
},
fuel = {
{ key = 'ox', resource = 'ox_fuel' },
{ key = 'legacy', resource = 'LegacyFuel' },
{ key = 'cdn', resource = 'cdn-fuel' },
{ key = 'renewed', resource = 'renewed-fuel' },
{ key = 'qb', resource = 'qb-fuel' },
{ key = 'lc', resource = 'lc_fuel' },
{ key = 'ps', resource = 'ps-fuel' },
{ key = 'rcore', resource = 'rcore_fuel' },
{ key = 'qs', resource = 'qs-fuelstations' },
{ key = 'nd', resource = 'ND_Fuel' },
{ key = 'bigdaddy', resource = 'BigDaddy-Fuel' },
{ key = 'gks', resource = 'gks-fuel' },
{ key = 'rip', resource = 'RiP-Fuel' },
{ key = 'my', resource = 'myFuel' },
{ key = 'lj', resource = 'lj-fuel' },
{ key = 'melons', resource = 'melons_fuel' },
{ key = 'hrs', resource = 'hrs_fuel' },
{ key = 'okok', resource = 'okokFuel' },
{ key = 'ti', resource = 'ti_fuel' },
{ key = 'x', resource = 'x-fuel' },
},
textui = {
{ key = 'jg', resource = 'jg-textui' },
{ key = 'okok', resource = 'okokTextUI' },
{ key = 'ox', resource = 'ox_lib' },
},
appearance = {
{ key = 'fivem', resource = 'fivem-appearance' },
{ key = 'illenium', resource = 'illenium-appearance' },
{ key = 'qb', resource = 'qb-clothing' },
{ key = 'esx', resource = 'esx_skin' },
{ key = 'crm', resource = 'crm-appearance' },
{ key = 'mov', resource = '17mov_CharacterSystem' },
},
account = {
{ key = 'esxaddon', resource = 'esx_addonaccount' },
{ key = 'qbmanagement', resource = 'qb-management' },
},
license = {
{ key = 'esx', resource = 'esx_license' },
}
}