-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.lua
172 lines (153 loc) · 5.94 KB
/
config.lua
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
-- Join https://discord.gg/cfxdev for support
Config = {
Debug = false,
Moderation = {
Commands = {
['kick'] = {
Enabled = true,
ACEPermission = "admin.moderation",
},
},
Webhook = {
['webhook'] = {
SteamHex = true, -- [true/false] on true steamhex appears in kick logs
License = true, -- [true/false] on true rockstar license appears in kick logs
IP = true -- [true/false] on true ip appears in kick logs
},
}
},
GodMode = {
Enabled = true,
CheckInterval = 0, -- Time in milliseconds between each godmode check
HealthThreshold = 200, -- Health value that is considered abnormal (indicative of godmode)
Message = "Godmode usage detected",
KickMessage = "You were kicked for using godmode",
ACEPermission = "admin.godmode.bypass", -- Example ACE permission
WhitelistedZones = {
{x = 100.0, y = 200.0, z = 300.0, radius = 50.0},
{x = 400.0, y = 500.0, z = 600.0, radius = 75.0}
},
},
Spectate = {
Enabled = true,
CheckInterval = 0, -- Time in milliseconds between each spectate check
Message = "Spectating other players is not allowed",
KickMessage = "You were kicked for spectating",
ACEPermission = "admin.Spectate.bypass", -- Example ACE permission
},
Antitaze = {
Enabled = true,
Message = "anti taze is not allowed",
KickMessage = "You were kicked for anti taze",
WhitelistedJobs = {
["police"] = true,
},
},
AntiFX = {
Enabled = true,
Message = "Usage of FX is prohibited",
Label = "FX Prohibition",
limit = 1,
ACEPermission = "admin.antiFX.bypass", -- Example ACE permission
fxWhitelist = {
"EXAMPLE",
},
},
BlacklistedKeys = { -- https://docs.fivem.net/docs/game-references/controls/
Enabled = false,
Keys = {
{KeyCode = "121", Label = "INSERT KEY"}, -- INSERT
},
Message = "Usage of blacklisted keys is prohibited",
Label = "Key Prohibition",
ACEPermission = "admin.blacklistedKeys.bypass"
},
BlacklistedCommands = {
Enabled = true,
Commands = {
{Command = "/kys", Label = "Common Cheater Command"},
},
Message = "Usage of blacklisted commands is prohibited",
Label = "Command Prohibition",
ACEPermission = "admin.blacklistedCommands.bypass"
},
AntiNoClip = {
Enabled = true,
Message = "NoClip is not allowed",
Label = "NoClip Prohibition",
ACEPermission = "admin.antiNoClip.bypass"
},
AntiResourceTamper = {
Enabled = true,
Message = "Resource tampering detected",
Label = "Resource Tamper Detection",
ACEPermission = "admin.antiResourceTamper.bypass"
},
AntiEntityTamper = {
Enabled = true,
Message = "Entity tampering detected",
Label = "Entity Tamper Detection",
ACEPermission = "admin.Entity.bypass",
EntityCreation_Limit = 10,
ResetTime = 60000, -- Timer before entity creation limit resets.
WhitelistedModels = {"prop_ballistic_shield","xm_prop_x17_tem_control_01","prop_roadcone02a","ba_prop_battle_glowstick_01","ba_prop_battle_hobby_horse","prop_taco_01","p_amb_brolly_01","prop_notepad_01","prop_pencil_01","hei_prop_heist_box","prop_single_rose","prop_cs_ciggy_01","hei_heist_sh_bong_01","prop_ld_suitcase_01","prop_security_case_01","prop_police_id_board","p_amb_coffeecup_01",},
},
BlacklistedMenuTextures = {
Enabled = false,
Textures = {
{Texture = "digitaloverlay", Label = "Brutan Menu"},
{Texture = "deadline", Label = "Dopamine"},
{Texture = "shopui_title_graphics_franklin", Label = "Franklin Menu"},
},
Message = "Usage of blacklisted menu textures is prohibited",
Label = "Texture Prohibition",
ACEPermission = "admin.blacklistedTextures.bypass"
},
BlacklistedEvents = {
Enabled = true,
Events = {
{ Name = "vrp_slotmachLRACine:server:2", type = 'server', Label = "Anti VRP Event" },
{ Name = "bank:depLRACositt", type = 'server', Label = "Used in lua menus" },
{ Name = "Banca:dLRACeposit", type = 'server', Label = "Whateverhere" },
-- Add more
},
Message = "Blacklisted Event Detected",
Label = "Event Blacklisting",
ACEPermission = "admin.events.bypass",
},
ExplosionEvent = {
Enabled = true,
Message = "Unauthorized explosion detected",
Label = "Explosion Monitoring",
ACEPermission = "admin.explosions.bypass",
RestrictCertainTypes = {
1, 2, 3, 4, 5, 25, 32, 33, 35, 36, 37, 38
},
},
BlacklistedWords = {
Enabled = true,
Words = {
"faggot", "nigger", "nig", "eulen", "kys", "griefa", "redengine", "gay", "queer", "fag" -- Add blacklisted words here
},
Message = "Usage of blacklisted words is prohibited",
ACEPermission = "admin.blacklistedWords.bypass"
},
AntiFakeChatMessages = {
Enabled = true,
Message = "Fake chat messages are not allowed",
ACEPermission = "admin.fakeChat.bypass"
},
SuperJump = {
Enabled = true,
LengthThreshold = 15,
Message = "Super jump detected",
ACEPermission = "admin.explosions.bypass",
},
ModdedMoney = { -- QB/ESX
Enabled = true,
MaxAmount = 15000000, -- If they go over this account they will be flagged
KickAfterGoneOverAmount = true, -- [true/false] if false will just send discord log if setup correctly
Message = "Modded Money detected",
ACEPermission = "admin.money.bypass",
}
}