This repository has been archived by the owner on Aug 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathconfig.yml
490 lines (471 loc) · 17.8 KB
/
config.yml
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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
# ----------------------------------------------------------
#
# NOPE Anti-Cheat Configuration
#
# This is the configuration for NOPE. I recommend keeping
# the default values unless you know what you're doing.
#
# There is a YouTube tutorial available at
# https://www.youtube.com/watch?v=XVuXKsJEAkQ
#
# There is a GitHub wiki tutorial also
# available at https://NOPE.MSWS.xyz/wiki
#
# ----------------------------------------------------------
ConfigVersion: 1.8.2
# -------------------------------
# Global Configuration
# -------------------------------
Global: true # If disabled, NOPE will be disabled
Scoreboard: true # The scoreboard uses the vanilla scoreboard and shouldn't mess with other plugins
Log: file # NONE, file, or hastebin
GitHub: # Fill out these fields to enable /nope false, leave Password blank to use a TAP (recommended), see https://github.com/settings/tokens for more details
Username: ''
Password: ''
# Permission to be notified ingame is nope.message.udpate
UpdateChecker:
Enabled: true
InGame: true
BungeeNameOverride: '' # If not empty this will override the server name
# This is useful for replacing %server% if the server is not bungeecord
# VL Decrement is responsible for decrementing VL levels for players that haven't flagged for a while
# The key is the time in milliseconds since the player last flagged for a hack. For example
# if a player hasn't flagged for 20000 milliseconds, their VL will be decreased by 2 every second
VLDecrement:
Enabled: true
Rate: 40 # Ticks
Periods:
1000: 0
10000: 1
20000: 2
60000: 5
120000: 10
-1: 20
# -------------------------------
# Banwave Configuration
# -------------------------------
BanwaveRate: 36000 # Rate of banwave (in ticks) -1 to disable
# If enabled, developer messages will be sent to the player and commands will not execute
DevMode: false
DebugMode: false
# -------------------------------
# Webhook Configuration
# Webhooks allow a server to send POST requests to a webhook.
# If you do not know about this then I recommend
# Googling or asking someone for help regarding this.
# For Discord specific configuration you can look at
# https://birdie0.github.io/discord-webhooks-guide/discord_webhook.html
#and https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks?page=1
# for help. All arguments are supported that are defined in the first link.
# Placeholders listed below in Actions are supported
# -------------------------------
Webhooks:
banExample:
URL: 'https://discordapp.com/api/webhooks/'
username: 'NOPE'
avatar_url: 'https://i.imgur.com/JLKC7CN.jpg'
embeds:
author:
name: "%player% Ban"
avatar_url: 'https://i.imgur.com/JLKC7CN.jpg'
title: '%player% was banned for %check%'
color: 14483456
fields:
check:
name: "Check"
value: "%debug%"
world:
name: "World"
value: "%world%"
vl:
name: "VL"
value: "%vl%"
inline: false
flagExample:
URL: 'https://discordapp.com/api/webhooks/'
username: 'NOPE'
avatar_url: 'https://i.imgur.com/JLKC7CN.jpg'
embeds:
author:
name: "%player%"
icon_url: 'https://crafatar.com/avatars/%uuid%'
title: '%player% flagged %check%'
color: 751818
fields:
1:
name: "Player"
value: "%player%"
2:
name: "World"
value: "%world%"
3:
name: "Server"
value: "%server%"
inline: true
4:
name: "VL"
value: "%vl%"
5:
name: "Check"
value: "%debug%"
6:
name: "UUID"
value: "%uuid%"
#thumbnail:
# url: ''
#image:
# url: ''
footer:
text: "MSWS.XYZ"
#icon_url: ''
# -------------------------------
# Action Configuration
# Please note that bans are not necesssarily instantaneous.
# Please add a delay to prevent duplicate bans.
#
#
# animation:[TYPE]:Action | TYPEs are NOPE or GWEN, the Action should be a custom command
# kick:Reason | Kick the player for the specified reason
# ban:Time:Reason | Ban the player for the specified time/reason
# banwave:Time:Reason | Add the player to the banwave
# cancel | Teleport the player back
# pmsg:[Message] | Send a message to the player
# msg:[all/Permission]:[Message] | Can also specify all
# cmd:[Command] | Run a command as the player
# ccmd:[Command] | Run a command from console
# log:type:message | Logs the message either to FILE, INGAME, or CONSOLE (perm: nope.message.normal)
# log:WEBHOOK:message | Logs the message to the specified webhook
# setvl:VL | Sets the player's VL for the category hack
# addvl:VL | Adds/Modifies the player's VL for the category hack
#
# Conditions: (<, <=, =, !=, >=, >)
# If a condition is not fullfilled, none of the following actions will be run
# The ones with > you can replace with the appropriate operator
#
# vl>[Amo] | If the VL matches the threshold
# tps>[Amo] | If the server's TPS matches the threshold
# ping>[Amo] | If the player's ping matches (NOT RECOMMENDED) players can spoof their ping
# delay:[Delay] | Wait X milliseconds before executing the NEXT action (eg: kick a player if the last call of this was > 60 seconds ago)
# notdev | Will not run the next actions if the in dev mode
# isdev | Will run the next actions if in dev mode
# rnd:.40 | Will run the actions 40% of the time
#
# Placeholders
# %player% | The name of the player that was banned
# %uuid% | The UUID of the player (-'s included)
# %nuuid% | The UUID of the player (-'s not included)
# %check% | What hack the player was banned for
# %debug% | The debug ID of the check
# %vl% | The VL of the hack that the player was at when they were banned
# %world% | What world the player was in when they were banned, this may be null if they were offline
# %token% | The ban token (only for ban)
# %server% | The server name, useful for webhooks
#
# PAPI is also supported
# -------------------------------
Actions:
FastBreak:
- 'basiclog|cancel|vl>100|tpsdecrement|tpskick|vl>400|lagkick|tps>15|vl>600|cban'
FastClimb:
- 'basiclog|vl>50|delay:1000|cancel|vl>200|cancel|vl>400|ikick|vl>600|cban'
Blink:
- 'basiclog|delay:30000|cancel|vl>200|delay:2000|cancel|delay:15000|tpsdecrement|tps>15|vl>300|lagkick|vl>500|cancel|vl>800|cban'
NoSwing:
- 'basiclog|vl>500|ikick|vl>1000|cban'
Speed:
- 'basiclog|rndcancel|vl>100|cancel|vl>300|lagkick|vl>400|ikick|vl>800|addbanwave|vl>1200|cban'
ElytraFlight:
- 'basiclog|vl>500|ikick|vl>800|addbanwave|vl>1000|cban'
Timer:
- 'basiclog|vl>300|rndcancel|delay:10000|tpsdecrement|vl>500|lagkick|vl>600|ikick|vl>800|cban'
KillAura:
- 'basiclog|vl>200|ikick|vl>500|delay:120000|kick:Irregular Gameplay|vl>600|cban'
NoFall:
- 'basiclog|vl>300|ikick|vl>800|cban'
SafeWalk:
- 'basiclog|vl>500|ikick'
AntiKB:
- 'basiclog|tps>15|delay:20000|lagkick|vl>500|ikick|vl>800|cban'
Default:
- 'basiclog|vl>20|cancel|vl>100|flog|vl>200|lagkick|tps>15|vl>400|ikick|vl>800|addbanwave|vl>1200|cban'
# You can specify multiple actiongroups for one category
#- 'vl>50|delay:10000|ccmd:say %player% is suspected of using %check%'
# This would only kick players and decrement their VL by 200
#- 'basiclog|vl>100|cancel|vl>600|ikick|addvl:-200'
# You can also specify a specific debug name and that these actions will be run instead
#Flight#3:
#- 'basiclog|delay:60000|say %player% flagged a %debug% check!'
# Commands are loaded and created in order. Define a custom command first before using it in another custom command.
Commands:
#log Logs to a file that the player failed a check, and logs in console every 5 seconds that they failed the check
flog: 'log:FILE:%player% failed %debug% (%vl%)'
#the below actions log ingame an appropriate warning message to staff
alog: 'vl>100|vl<300|delay:60000|log:INGAME:&4&l[&c&lNOPE&4&l] &e%player% &7failed a &a%check%&7 check. (VL: &e%vl%&7)'
elog: 'vl>300|vl<500|delay:60000|log:INGAME:&4&l[&c&lNOPE&4&l] &e%player% &7failed a &e%check%&7 check. (VL: &e%vl%&7)'
clog: 'vl>500|vl<700|delay:60000|log:INGAME:&4&l[&c&lNOPE&4&l] &e%player% &7failed a &c%check%&7 check. (VL: &e%vl%&7)'
4log: 'vl>700|delay:500|flog|delay:60000|log:INGAME:&4&l[&c&lNOPE&4&l] &e%player% &7failed a &4%check%&7 check. (VL: &e%vl%&7)'
#weblog Logs the action to the specified webhook (in this case flagExample)
weblog: "notdev|vl>400|delay:120000|log:flagExample:"
#basiclog combines all above log commands into 1 for simple usage
basiclog: 'alog|elog|clog|flog|4log|weblog'
#logban Logs ingame that the player was banned both ingame and to a file
logban: 'log:INGAME:&4&l[&c&lNOPE&4&l] &c%player% &7was banned for &b%check%&7.|log:FILE:Banned %player% for %debug% %vl%|delay:5000|log:banExample:'
#ikick Kicks the player once every minute (to avoid constant kicking) in case they are stuck/otherwise false flagging
ikick: 'notdev|delay:60000|kick:Irregular Gameplay'
#lagkick Kicks the player if their ping is too high
lagkick: 'ping>150|delay:20000|kick:You seem to be very laggy, please try restarting your connection.'
#tpskick Kicks the player if the server's TPS is too low
tpskick: 'tps<=16|delay:40000|kick:The server is extremely laggy, please try waiting a bit before relogging.'
tpsdecrement: 'tps<=16|addvl:-50'
#rndcancel Has an 80% chance of teleporting the player back
rndcancel: 'rnd:.80|cancel'
canimate: "logban|ban:2628000000:&4NOPE Anti-Cheat&r\n&7Token: &e%token%"
#cban Only bans the player if dev mode is disabled, it also logs the ban
# We log the ban first so we can get the VL data first
cban: "notdev|delay:5000|animation:NOPE:canimate"
addbanwave: "notdev|banwave:2628000000:&4NOPE Anti-Cheat&r\n&7Token: &e%token%"
# -------------------------------
# Check Configuration
# Here you can configure which checks are/aren't enabled
# You can also toggle these ingame with /nope stats
# make sure to restart your server after modifying these settings
# -------------------------------
Checks:
Packet:
Enabled: true
SkinBlinker:
Enabled: true
SkinBlinker#1:
Enabled: true
Spinbot:
Enabled: true
Spinbot#1:
Enabled: true
NoSwing:
Enabled: true
NoSwing#1:
Enabled: true
PlayerESP:
Enabled: true
PlayerESP#2:
Enabled: true
PlayerESP#1:
Enabled: true
AutoSneak:
Enabled: true
AutoSneak#1:
Enabled: true
InvalidMovement:
Enabled: true
InvalidMovement#1:
Enabled: true
Timer:
Enabled: true
Timer#1:
Enabled: true
Blink:
Enabled: true
Blink#1:
Enabled: true
Movement:
Enabled: true
Speed:
Enabled: true
Speed#3:
Enabled: true
Speed#4:
Enabled: true
Speed#1:
Enabled: true
Speed#5:
Enabled: true
Speed#2:
Enabled: true
InventoryMove:
Enabled: true
InventoryMove#1:
Enabled: true
FastSneak:
Enabled: true
FastSneak#1:
Enabled: true
AutoWalk:
Enabled: true
AutoWalk#1:
Enabled: true
Glide:
Enabled: true
Glide#1:
Enabled: true
Flight:
Enabled: true
Flight#6:
Enabled: true
Flight#1:
Enabled: true
Flight#4:
Enabled: true
Flight#2:
Enabled: true
Flight#5:
Enabled: true
Flight#3:
Enabled: true
BHop:
Enabled: true
BHop#1:
Enabled: true
ElytraFlight:
Enabled: true
ElytraFlight#1:
Enabled: true
AntiRotate:
Enabled: true
AntiRotate#1:
Enabled: true
Jesus:
Enabled: true
Jesus#1:
Enabled: true
Jesus#2:
Enabled: true
AntiAFK:
Enabled: true
AntiAFK#1:
Enabled: true
NoSlowDown:
Enabled: true
NoSlowDown#1:
Enabled: true
NoSlowDown#2:
Enabled: true
NoSlowDown#5:
Enabled: true
NoSlowDown#3:
Enabled: true
NoSlowDown#4:
Enabled: true
Step:
Enabled: true
Step#1:
Enabled: true
Spider:
Enabled: true
Spider#1:
Enabled: true
NoWeb:
Enabled: true
NoWeb#1:
Enabled: true
ClonedMovements:
Enabled: true
ClonedMovement#1:
Enabled: true
FastClimb:
Enabled: true
FastClimb#1:
Enabled: true
Combat:
Enabled: true
HighCPS:
Enabled: true
HighCPS#1:
Enabled: true
HighCPS#3:
Enabled: true
HighCPS#2:
Enabled: true
AutoClicker:
Enabled: true
AutoClicker#1:
Enabled: true
AntiKB:
Enabled: true
AntiKB#1:
Enabled: true
AutoArmor:
Enabled: true
AutoArmor#1:
Enabled: true
KillAura:
Enabled: true
KillAura#3:
Enabled: true
KillAura#5:
Enabled: true
KillAura#2:
Enabled: true
KillAura#4:
Enabled: true
KillAura#1:
Enabled: true
FastBow:
Enabled: true
FastBow#1:
Enabled: true
Player:
Enabled: true
NoFall:
Enabled: true
NoFall#1:
Enabled: true
NoFall#2:
Enabled: true
AutoTool:
Enabled: true
AutoTool#1:
Enabled: true
GhostHand:
Enabled: true
GhostHand#1:
Enabled: true
SafeWalk:
Enabled: true
SafeWalk#1:
Enabled: true
AntiFire:
Enabled: true
AntiFire#1:
Enabled: true
FastEat:
Enabled: true
FastEat#1:
Enabled: true
SelfHarm:
Enabled: true
SelfHarm#1:
Enabled: true
Zoot:
Enabled: true
Zoot#1:
Enabled: true
HealthTag:
Enabled: true
HealthTag#1:
Enabled: true
World:
Enabled: true
Scaffold:
Enabled: true
Scaffold#3:
Enabled: true
Scaffold#1:
Enabled: true
Scaffold#2:
Enabled: true
AutoBuild:
Enabled: true
AutoBuild#1:
Enabled: true
IllegalBlockPlace:
Enabled: true
IllegalBlockPlace#1:
Enabled: true
FastBreak:
Enabled: true
FastBreak#1:
Enabled: true
IllegalBlockBreak:
Enabled: true
IllegalBlockBreak#1:
Enabled: true