-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathconfig.lua
More file actions
148 lines (133 loc) · 3.41 KB
/
config.lua
File metadata and controls
148 lines (133 loc) · 3.41 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
BridgeConfig = {}
-- Version Check (we recommend leaving this true)
---@type boolean
BridgeConfig.VersionCheck = true
-- Enables debug prints
---@type boolean
BridgeConfig.Debug = true
--[[
Available Frameworks:
- qbx_core
- qb-core
- es_extended
- nd_core
]]
---@type AvailableFrameworks
BridgeConfig.FrameWork = "qbx_core"
--[[
Available inventories
- ox_inventory
- origen_inventory
- tgiann-inventory
]]
---@type AvailableInventories
BridgeConfig.Inventory = "ox_inventory"
--[[
Available phones
- lb-phone
- yseries
- yphone
- yflip
- npwd
- roadphone
- 17mov_phone
- gksphone
- meteo-phone
]]
---@type AvailablePhones
BridgeConfig.Phone = "lb-phone"
--[[
Available targets
- ox_target
- qb-target
- sleepless_interact
]]
---@type AvailableTargets
BridgeConfig.Target = "ox_target"
--[[
Available Medical systems:
- qbx_medical
- esx_ambulancejob
- wasabi_ambulance (supports v1 and v2)
- ars_ambulancejob
- osp_ambulance
- p-ambulancejob
- nd_ambulance
- qb-ambulancejob
- randol_medical
]]
---@type AvailableMedicals
BridgeConfig.Medical = 'qbx_medical'
--[[
Available Dispatch Resources:
- ps-dispatch
- origen_police
- cd_dispatch
- tk_dispatch
- rcore_dispatch
- lb-tablet
- aty_dispatch
- codem-dispatch
- core_dispatch
]]
---@type AvailableDispatches
BridgeConfig.Dispatch = "ps-dispatch"
--[[
AvailableVehicleKeys Resources:
- qbx_vehiclekeys
- cd_garage
- mVehicle
- okokGarage
- qb-vehiclekeys
- qbx_vehiclekeys
- vehicles_keys
- wasabi_carlock
- nd_core
- mrnewbvehiclekeys
- Renewed-Vehiclekeys
]]
---@type AvailableVehicleKeys
BridgeConfig.VehicleKeys = "qbx_vehiclekeys"
--[[
AvailableVehicleFuel Resources:
- ox_fuel
- LegacyFuel
- cdn-fuel
- lc_fuel
- qb-fuel
- Renewed-Fuel
]]
---@type AvailableVehicleFuel
BridgeConfig.VehicleFuel = "ox_fuel"
---@type AvailableMinigames
BridgeConfig.Minigames = "prp-minigames"
---@type { CommandEnabled: boolean, CommandName: string }
BridgeConfig.Group = {
CommandEnabled = true,
CommandName = "group",
}
---@type { AdminCommandEnabled: boolean, AdminCommandName: string, AdminCommandRestriction: string }
BridgeConfig.Cooldowns = {
AdminCommandEnabled = true,
AdminCommandName = "cooldowns",
AdminCommandRestriction = "group.admin",
}
---@type { MaxOverTimePriority: number, AddOverTimePriorityTime: number, HoldQueuesOnStartTime: number, PoliceStrengthPerPlayer: number, PoliceJobs: string[] }
BridgeConfig.Uniqueue = {
MaxOverTimePriority = 30, -- How much priority player can gain while waiting in queue
AddOverTimePriorityTime = math.floor(2.5 * 60), -- How often player gets over time priority (in seconds)
HoldQueuesOnStartTime = 0, -- How long to hold all queues after server start (in seconds)
PoliceStrengthPerPlayer = 1, -- How much police power each police player contributes
PoliceJobs = {
"lspd",
"police",
"bsco",
}
}
---@type table<string, number>
BridgeConfig.LootRarityWeights = {
["COMMON"] = 800,
["RARE"] = 150,
["EPIC"] = 45,
["LEGENDARY"] = 5,
}