This repository has been archived by the owner on Nov 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checks.yml
577 lines (476 loc) · 18.1 KB
/
checks.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
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
#### Matrix Config - checks.yml ####################################################
#
# Hi, welcome to use Matrix anti-cheat, this is checks.yml, used to define
# the settings and behaviors of each checks. You can set the parameters of
# each check here, and you can also define how to perform actions after each
# check detects a player cheating.
#
# CAUTION! If you encounter any false positives and bypasses, you should first
# consider reporting this BUG. Adjusting the configuration file will not really
# fix the false positives and bypasses!
#
# - What is "VL"?
# "VL" is the abbreviation of "Violation Level". When the player is marked
# as cheating by anti-cheating, the anti-cheating will increase the player's
# violation level. When the player's VL reaches the value in the "commands"
# node below, the corresponding command will be executed.
#
# - If you encounter any problems, please go to our official Discord
# group for help: https://discord.gg/pEvY55J
#
# Anyway, thanks for using Matrix anticheat! ❤
#
#####################################################################################
## KillAura
# Prevents the player from using the KillAura/AimBot hack
killaura:
# Enable KillAura check?
enable: true
# List of the various KillAura check modules of Matrix
modules:
# Check if the player's battle is following the vanilla protocol
protocol:
cancel_illegal_hit: true
vl_weight: 5
# Check if the player's attacking comply with the vanilla protocol/mechanism
check_protocol_1: true
check_protocol_2: true
check_protocol_3: true
check_protocol_4: true
check_protocol_5: true
check_protocol_6: true
check_protocol_7: true
check_protocol_8: true
# Check if the player shows aiming characteristics similar to aimbot
aimbot:
vl_weight: 7
check_aimbot_sync: true
check_aimbot_shake: true
check_aimbot_snap: true
check_aimbot_sensitivity: true
check_aimbot_acceleration: true
check_aimbot_bad_rotation: true
check_aimbot_mouse_speed: true
# KillAura NPC check, it will generate a fake player behind the player to detect
# if the player is using KillAura, and don't worry, the player can only see his own NPC
npc:
enable: true
vl_weight: 5
# Should the position calculation of the NPC run asynchronously, as this may consume some resources
async: true
# Should NPCs use real entity IDs instead of randomly generating them?
# Some cheating clients can bypass random entity ID
real_entity_id: true
# Has the NPC been generated by command only? If set to false, the NPC will be automatically
# generated when the player fights. If set to true, you can only generate an NPC for a player
# via the "matrix npc" command. (default: true)
only_command_trigger: true
# Should the player see this NPC? (true = visible)
visible: true
# Force random name (default: false)
# If this option is turned on, the NPC generated by Matrix will force the use of a random name
# instead of the random name of the online player, which can solve the problem of some clients
# bypassing the "duplicate" name NPC. But Matrix will NOT apply teams to the NPC with random name
# you may need to use the API to apply the NPC team by yourself, Otherwise, some clients will
# bypass based on whether the NPC name has color
force_random_name: false
# NPC existence time setting (ticks)
check_ticks:
base: 100
attack_add: 20
hit_bot_add: 50
# NPC motion settings
movement:
distance_base: 3.2
distance_random_size: 0.75
distance_attack_base: 3.0
move_up_after_attack: false
# Critical Hit check, Prevent players from making abnormal crit attacks
critical:
# Enable this module?
enable: true
# How much VL should the player get after being flagged by this module?
vl_weight: 5
# Strafe Check
strafe:
enable: true
vl_weight: 3
cancel_move: true
# Combine check
combine:
aimbot_with_reach:
time: 5000
condition:
- 'ka.abt.magic'
- 'hb.reach'
- 'hb.reach'
action: 5 # +5 VL
# Violation Thresholds
# number_of_violations: '<command>'
commands:
10: 'matrix npc %player% 100'
20: 'matrix notify %player% might be using combat hacks (KillAura)'
35: 'matrix notify %player% is using combat hacks (KillAura) #2'
45: 'matrix delay 5 matrix kick %player% KillAura'
## HitBox
# Description: This check prevents players from using HitBox, Angle, Reach hacks.
hitbox:
# Enable HitBox check?
enable: true
# Maximum reach distance (default: 3.15)
max_reach: 3.05
# The tick length of the traceback when calculating the hitbox
trace_back_length: 8
# Whether Matrix should cancel the player's attack after detecting the player's cheating?
# There are there choice:
# 1. none - do nothing
# 2. silent - set damage to zero (Recommend)
# 3. cancel - cancel the attack
cancel_way: silent
# Violations needed to cancel illegal hits
cancel_vl: 5
# Violation weights
vl_weights:
miss_player_hitbox: 2
reach_target_standing: 10
reach_target_moving: 3
# Should dynamic VL weight be enabled?
# If enabled, the VL weight will be calculated based on the player's reach
# For example, players get 1vl when using 3.2 reach, and 19vl when players use 5.0 reach
# If this function is enabled, then "reach_target_standing" and "reach_target_moving" will no longer take effect
# Note: dynamic VL = (current_reach - max_reach) * expander
dynamic_vl:
enable: true
expander: 10
min_vl: 3
max_vl: 8
# What is the maximum increase in VL in a short time?
# Due to the instability of the network connection, HitBox detection may cause false alarms when a lag spike occurs
# This option limits the maximum increase in VL in "5 seconds"
max_burst_vl: 15
# Violation Thresholds
# number_of_violations: '<command>'
commands:
10: 'matrix notify %player% tried to reach entity outside max reach distance (HitBox)'
12: 'matrix npc %player% 120'
15: 'matrix notify %player% tried to reach entity outside max reach distance (HitBox) #2'
24: 'matrix kick %player% Reach/HitBox Hacks'
## Click check
# Prevent players from clicking too fast, or using autoclickers to attack other entities
click:
# Enable this check?
enable: true
# What should the player's highest CPS be? When the player exceeds this cps, it will be detected
max_cps: 15
# Modules
check_cps: true
check_swing: true
check_timing: true
# When detecting that the cps is too high, whether to dynamically adjust the vl weight according to the cps?
# This means that the higher the player’s cps, the higher the VL obtained when detected cheating
dynamic_cps_vl_weight: true
# Click interval buffer size (Do not touch it!!!)
buffer_size: 20
# Violation Thresholds
# number_of_violations: '<command>'
commands:
10: 'matrix notify %player% tried to click abnormally (Click) #1'
18: 'matrix notify %player% tried to click abnormally (Click) #2'
30: 'matrix kick %player% Click Abnormally'
## Movement Speed Check
# This check prevents the player from moving abnormally
move:
# Enable this check?
enable: true
# Should Matrix block NoSlow cheating?
check_noslow: true
# When the player reaches this VL, start to pull back the player's abnormal movement
cancel_vl: 35
# Should Matrix apply damage to the player when the player is setback?
apply_damage: true
# Should Matrix handle knockback more strictly?
strict_kb_handling: false
# Should Matrix allow the player to stand on the cancelled block?
# I recommend do not turn on it, it will slightly affect the performance
# and caused some bypass.
# https://www.youtube.com/watch?v=9lNXNW6Phk0&t=133s
allow_bpe_bridge: false
# Should Matrix check the speed of players with flying ability?
# This may cause the flight capability of some "PvP clients" to be restricted
check_flying_players: false
# If Matrix believes that the player must be cheating, Matrix will ignore
# the current VL and directly setback the player. But it's not 100% accurate,
# so you can choose which situations matrix should force setback players
force_setback_situations:
high_jump: true
ground_spoof_jump: true
bad_jumps: true
air_accel: true
air_mdf: true
step: true
# Should Matrix teleport the player into the void if the player cheats on the void?
allow_setback_to_void: true
# Violation Thresholds
# number_of_violations: '<command>'
commands:
55: 'matrix notify %player% tried to move abnormally (Move) #1'
90: 'matrix notify %player% tried to move abnormally (Move) #2'
220: 'matrix kick %player% Move Abnormally'
## BadPackets
# Prevents player from sending too many movement packets or sending illegal packets
badpackets:
# Enable this check?
enable: true
# Buffer Size (ticks)
# The larger the value, the slower the detection, but the more stable
# Don't set it lower than 10
buffer_size: 20
# Freeze time (millisecond, 1second=1000 millisecond)
# The time to freeze player if they try to send too
# many moving packets at the same time
freeze_time: 500
# How many extra packets can the player send?
max_extra_packets: 30
# Violation weight
vl_weights:
limit: 10
timer: 10
# Violation Thresholds
# number_of_violations: '<command>'
commands:
100: 'matrix notify %player% is sending unusual packets to server (BadPackets) #1'
150: 'matrix notify %player% is sending unusual packets to server (BadPackets) #2'
240: 'matrix kick %player% Sending Unusual Packets'
## Delay Check
# It prevents the player from speeding up certain actions, such as eating quickly, or quickly healing
delay:
# Enable this check?
enable: true
# Should Matrix block player actions when cheating is detected?
cancel_action: true
# Modules List
# You can define the VL weight of each module, and -1 equals to disable it
check_healing: 1
check_using_items: 1
check_using_bow: 1
check_auto_splash: 2
check_inventory_action: 1
check_auto_totem: 1
check_fast_throw: 1
# Violation Thresholds
# number_of_violations: '<command>'
commands:
3: 'matrix notify %player% is tring to speed up actions (Delay) #1'
5: 'matrix notify %player% is tring to speed up actions (Delay) #2'
10: 'matrix kick %player% Speeding Up Operations'
## Block
# Check prevents the player from breaking, placing block quickly
block:
# Enable this check?
enable: true
# Violations needed to cancel illegal breaking/placing of blocks (-1 = never cancel)
cancel_vl: 5
# Modules List
# You can turn off some modules here
modules:
# It can detect player breaking block faster
fastbreak:
enable: true
vl_weight: 4
# It can detect player placing block faster
fastplace:
enable: true
vl_weight: 1
max_place_per_second: 9
# It can detect player placing block without swing hand
noswing:
enable: true
vl_weight: 1
# detect player not send abort breaking packet
abort:
enable: true
vl_weight: 0
# Violation Thresholds
# number_of_violations: '<command>'
commands:
10: 'matrix notify %player% tried to place/break a block too quickly (FastPlace/FastBreak)'
20: 'matrix kick %player% FastPlace/FastBreak Hacks'
## Scaffold check
# Check prevents player bridging blocks or towering up faster than normal speed
scaffold:
# Enable this check
enable: true
# Cancel VL
cancel_vl: 15
# Modules
modules:
# It can detect player bridging faster
place:
enable: true
vl_weight: 7
# Preventing player bridge too fast
delay:
enable: true
vl_weight: 5
cancel_place: true
min_delay: 4
# Preventing player right clicker fast
right_cps:
enable: true
vl_weight: 5
# It can detect player towering up faster
tower:
enable: true
vl_weight: 2
# Violation Thresholds
# number_of_violations: '<command>'
commands:
10: 'matrix notify %player% tried to bridge blocks quickly (Scaffold)'
15: 'matrix notify %player% tried to bridge blocks quickly (Scaffold) #2'
24: 'matrix kick %player% Scaffold/Tower'
## Jesus
# Check prevents the player from moving too too quickly in liquids, or walking on liquid.
jesus:
# Enable this check?
enable: true
# Violations needed to cancel illegal movements (-1 = never cancel)
cancel_vl: 15
# Should Matrix ignore whether player is in swimming?
# This feature can prevent swimming status desync
ignore_swim_pose: false
# Violation Thresholds
# number_of_violations: '<command>'
commands:
20: 'matrix notify %player% tried to move illegally in liquid (Jesus)'
40: 'matrix notify %player% tried to move illegally in liquid (Jesus) #2'
50: 'matrix kick %player% Jesus/WaterSpeed/WaterFly Hacks'
## Velocity
# Check prevents the player from using any type of anti-knockback hacks.
velocity:
# Enable this check?
enable: true
# The time to wait for players to respond to velocity (ticks)
# If the player does not respond to velocity after that
# time, the player will be detected.
wait_time: 20
# Ignore lag player, this feature can ignore the player who
# is lagging or changing resource pack.
ignore_lag: true
# The VL weight of velocity check modules (-1 = disable)
modules:
respond: 5
analyser: 3
vertical: 1
# Violation Thresholds
# number_of_violations: '<command>'
commands:
10: 'matrix notify %player% tried to ignore server velocity (Velocity)'
15: 'matrix notify %player% tried to ignore server velocity (Velocity) #2'
20: 'matrix kick %player% Velocity/Anti-Knockback'
## Spam
# Check prevents a player from spamming messages in the servers chat.
chat:
# Enable this check?
enable: true
# Minimum amount of time between messages (Seconds)
min_time: 3
# Violations needed to cancel sent messages (-1 = never cancel)
cancel_vl: 3
# Violation Thresholds
# number_of_violations: '<command>'
commands:
4: 'matrix notify %player% is spamming the chat (ChatSpam)'
10: 'matrix kick %player% Stop spamming the chat!'
## Interact
# Check prevents the player from illegally interacting with entities and blocks.
interact:
# Enable this check?
enable: true
check_interact_block: true
check_attack: true
# Violation Thresholds
# number_of_violations: '<command>'
commands:
10: 'matrix notify %player% tried to illegally interact with Entity/Block (Interact)'
15: 'matrix kick %player% Illegally Interacting with Block/Entity'
## Phase
# Check prevents the player people glitching through blocks.
phase:
# Enable this check?
enable: true
# How much time should Matrix prevent the player from moving if
# the player frequently tries to move the block? (milliseconds)
freeze_time: 400
# Violations needed to cancel illegal movements
cancel_vl: 5
# Should Matrix prevent players from using Ender Pearl for close range teleportation?
prevent_close_range_enderpearl: true
# Exlude block types
exclude_types: []
# Violation Thresholds
# number_of_violations: '<command>'
commands:
7: 'matrix notify %player% is phase into block (Phase)'
13: 'matrix notify %player% is phase into block (Phase) #2'
## AutoBot
# Check prevents player use some Bot mods like Baritone
# NOTE: THIS CHECK IS ONLY WORK FOR PREMIUM USERS
autobot:
# Enable this check?
enable: true
# Violation Thresholds
# number_of_violations: '<command>'
commands:
5: 'matrix notify %player% suspected use of automatic robots (AutoBot)'
10: 'matrix notify %player% suspected use of automatic robots (AutoBot) #2'
15: 'matrix kick %player% Auto-Bot'
## Elytra
# Checks prevents player using Elytra+, ElytraFlight, etc
# Only works for 1.9+
elytra:
# Enable this check?
enable: true
# Should Matrix be forced to pull back players who are particularly
# cheating? Even if they do not reach cancel_vl (default: true)
force_setback: true
# Setback violation level (-1 = never setback)
setback_vl: 5
# unequip elytra VL
# If player reached this VL, Matrix will make it out of the gliding state (-1 = disable this feature)
unequip_vl: 20
# Violation Thresholds
# number_of_violations: '<command>'
commands:
10: 'matrix notify %player% suspected using elytra flight (Elytra)'
20: 'matrix notify %player% suspected using elytra flight (Elytra) #2'
40: 'matrix kick %player% Elytra Flight'
## Vehicle
# Checks prevents player using VehicleFlight, VehicleSpeed, EntitySpeed..
# Only works for 1.9+
vehicle:
# Enable this check?
enable: true
# Prevent players from using certain creatures as vehicles
# All entity types: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
deny_entity_types_as_vehicle:
- 'LLAMA'
# Vehicle Speed/ Entity Speed
speed:
# Enable this modules?
enable: true
# setback VL (-1 = disable setback)
setback_vl: 2
# Vehicle Flight / Boat Flight
flight:
# Enable this modules?
enable: true
# setback vl (-1 = never setback)
setback_vl: 4
# leave vehicle vl (-1 = never leave vehicle)
leave_vehicle: 10
# Violation Thresholds
# number_of_violations: '<command>'
commands:
5: 'matrix notify %player% suspected using vehicle cheat (Vehicle)'
10: 'matrix notify %player% suspected using vehicle cheat (Vehicle) #2'
17: 'matrix kick %player% Suspicious vehicle movement'