-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
193 lines (135 loc) · 7.24 KB
/
Copy pathconfig.lua
File metadata and controls
193 lines (135 loc) · 7.24 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
Config = {}
Config.Permissions = {
PeacetimeAcePermission = "pt.admin", -- Ace permission group required to change peacetime on / off.
OnHoldAcePermission = "prio.onhold", -- Ace permission group required to change prio to be "on hold".
CooldownAcePermission = "prio.cooldown", -- Ace permission group required to change prio cooldown.
ResetAcePermissions = "prio.reset" -- Ace permission group required to change prio to "available".
}
Config.Priorities = {
PriorityHUD = "togglepriohud", -- Command used to turn on / off the visibility of the hud.
City_Priority = {
DisplaySettings = {
x_location = 0.168, -- X Location that the text will show for the County Priority System.
y_location = 0.897, -- Y Location that the text will show for the County Priority System.
TextScale = 0.45 -- Text scale ~ Changes how big / small the County Priority HUD shows.
},
Commands = {
mainCommand = 'city', -- Command to trigger a countywide priority.
StartPrio = "start", -- Command to set priority for the city active.
EndPrio = "end", -- Command to stop an active priority in the city.
JoinPrio = "join", -- Command to join the active priority in the city.
LeavePrio = "leave", -- Command to leave the active priority in the city.
PrioOnHold = "hold", -- Command to set Priority for the city on hold.
PrioCooldown = "cooldown", -- Command to set Priority for the city on cooldown.
PrioReset = "reset" -- Command to reset the priority system.
},
TextSettings = {
DefaultStatus = "~g~Available",
StatusMessages = {
Prefix = "~w~City Priority: ",
StatusAvailable = "~g~Available",
StatusActive = "~y~Active",
StatusOnHold = "~o~On Hold",
StatusOnCooldown = "~r~Cooldown"
},
CooldownSettings = {
CooldownTimer = 40 -- How long the cooldown timer will last (In minutes.)
}
}
},
County_Priority = {
DisplaySettings = {
x_location = 0.168, -- X Location that the text will show for the County Priority System.
y_location = 0.870, -- Y Location that the text will show for the County Priority System.
TextScale = 0.45 -- Text scale ~ Changes how big / small the County Priority HUD shows.
},
Commands = {
mainCommand = 'county', -- Command to trigger a countywide priority.
StartPrio = "start", -- Command to set priority for the city active.
EndPrio = "end", -- Command to stop an active priority in the city.
JoinPrio = "join", -- Command to join the active priority in the city.
LeavePrio = "leave", -- Command to leave the active priority in the city.
PrioOnHold = "hold", -- Command to set Priority for the city on hold.
PrioCooldown = "cooldown", -- Command to set Priority for the city on cooldown.
PrioReset = "reset" -- Command to reset the priority system.
},
TextSettings = {
DefaultStatus = "~g~Available",
StatusMessages = {
Prefix = "~w~County Priority: ",
StatusAvailable = "~g~Available",
StatusActive = "~y~Active",
StatusOnHold = "~o~On Hold",
StatusOnCooldown = "~r~Cooldown"
},
CooldownSettings = {
CooldownTimer = 40 -- How long the cooldown timer will last (In minutes.)
}
}
}
}
Config.Peacetime = {
DisplaySettings = {
Prefix = "~w~State Peacetime: ",
x_location = 0.168,
y_location = 0.769,
TextScale = 0.45
},
Commands = {
Peacetime = "pt" -- Command to enable / disable peacetime.
},
FrameworkSettings = {
Framework = "standalone", -- Framework being used ~ Options: "nd" = ND_Core | "nat" = NAT2K15 | "standalone" = No Framework
FrameworkName = "framework", -- Name of the framework resource file. (Required for exports to work)
DepartmentInfo = {
NAT2K15_Framework = { -- These are the job levels for NAT2K15's Framework.
State_Level = "sast_level",
Police_Level = "lspd_level",
Sheriff_Level = "bcso_level",
Civilian_Level = "civ_level",
Admin_Level = "admin_level"
},
ND_Core_Framework = {"SAHP", "BCSO", "LSPD"}
}
}
}
Config.Logging = {
Webhook_Logging = "https://discord.com/api/webhooks/",
County = {
Embed_Settings = {
WebhookName = "SimpleDevelopments",
WebhookPFP = "https://cdn.discordapp.com/icons/1066225230479101972/88ffeb74a180ed40f5d49278259cbb8e.png?size=2048&format=webp&quality=lossless&width=0&height=320", -- PFP that the webhook will show in discord.
S_WebhookColor = "65280", -- Color of the successful embed.
F_WebhookColor = "16711680", -- Color of the failed embed.
FooterIcon = "https://cdn.discordapp.com/icons/1066225230479101972/88ffeb74a180ed40f5d49278259cbb8e.png?size=2048&format=webp&quality=lossless&width=0&height=320" -- Footer Icon
}
},
City = {
Embed_Settings = {
WebhookName = "SimpleDevelopments",
WebhookPFP = "https://cdn.discordapp.com/icons/1066225230479101972/88ffeb74a180ed40f5d49278259cbb8e.png?size=2048&format=webp&quality=lossless&width=0&height=320", -- PFP that the webhook will show in discord.
S_WebhookColor = "65280", -- Color of the successful embed.
F_WebhookColor = "16711680", -- Color of the failed embed.
FooterIcon = "https://cdn.discordapp.com/icons/1066225230479101972/88ffeb74a180ed40f5d49278259cbb8e.png?size=2048&format=webp&quality=lossless&width=0&height=320" -- Footer Icon
}
},
Peacetime = {
Embed_Settings = {
WebhookName = "SimpleDevelopments",
WebhookPFP = "https://cdn.discordapp.com/icons/1066225230479101972/88ffeb74a180ed40f5d49278259cbb8e.png?size=2048&format=webp&quality=lossless&width=0&height=320", -- PFP that the webhook will show in discord.
S_WebhookColor = "65280", -- Color of the successful embed.
F_WebhookColor = "16711680", -- Color of the failed embed.
FooterIcon = "https://cdn.discordapp.com/icons/1066225230479101972/88ffeb74a180ed40f5d49278259cbb8e.png?size=2048&format=webp&quality=lossless&width=0&height=320" -- Footer Icon
}
}
}
Config.AutoMessages = {
enabled = true, -- enable / disable auto messages!
messageDelay = 10,
messagePrefix = "[~b~SimplePrio~w~] ",
serverMessages = {
'Needing help starting a priority? Do /priohelp to get info! (/priohelp city = City Commands | /priohelp county = County Commands")',
'Remember! Don\'t start a prio without taking prio!',
'Remember! Prio cooldown means no high priority scenes!'
}
}