forked from StaffWatch/StaffWatch-FiveM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
40 lines (35 loc) · 1.05 KB
/
config.lua
File metadata and controls
40 lines (35 loc) · 1.05 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
Config = {
-- Do not change these values
DEBUG = false,
API_URL = "https://api.staffwatch.app",
-- Found on the manage servers page
SECRET = "ENTER_SERVER_SECRET_HERE",
-- Allow join when connection fails?
BYPASS_ON_FAILURE = true,
-- Configure templated actions
TEMPLATED_ACTIONS = {
{
scope = "PLAYER",
name = "Freeze",
command = "sw_freeze"
},
{
scope = "PLAYER",
name = "Unfreeze",
command = "sw_unfreeze"
},
-- Demo commands below to show how templated actions can be configured
-- Note that player scoped commands can also have arguments (max of 3)
-- {
-- scope = "SERVER",
-- name = "Toggle Priority Cooldown",
-- command = "togglepriority",
-- },
-- {
-- scope = "SERVER",
-- name = "Set Weather",
-- command = "weather",
-- arg1Name = "Weather Type (ex: CLEAR, RAIN, FOGGY)",
-- },
}
}