Advertisement
DeleteMetaInf

checks.yml

Feb 1st, 2020
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.47 KB | None | 0 0
  1. #### MATRIX CONFIG FILE
  2. # MATRIX ANTI CHEAT
  3. # file: checks.yml | Customize each checks here
  4. #
  5. # Useful Links:
  6. # 1. Issue Tracker: https://github.com/jiangdashao/Matrix-Issues/issues
  7. # 2. SpigotMC Overview Page: https://www.spigotmc.org/resources/64635/
  8. # 3. bStats: https://bstats.org/plugin/bukkit/Matrix
  9. # 4. Discord Group: https://discord.gg/pEvY55J
  10. #
  11. # Contributors:
  12. # Performance#1955: Report a lot of bugs and manage the Github issue tracker
  13. # Zak#6435 & Alex#2237: Provide the test server and report some bugs
  14. # Kruize#9138 & VariationTime#2942: Report a lot of bugs and test in the production environment
  15. #
  16. # Thanks for using Matrix! <3
  17.  
  18. ## KillAura
  19. # Prevents the player from using the KillAura/AimBot hack
  20. killaura:
  21. # Enable KillAura check?
  22. enable: true
  23.  
  24. # Violation Level Weights of each modules
  25. # Set to -1 = disable that module.
  26. # Note: some modules are only work for Premium
  27. # Users, such as "pitch.T1" or aimassist check
  28. vl_weights:
  29. accuracy: 100
  30. aimassist: 10
  31. pitch: 5
  32. post: 1
  33. dead: 3
  34. npc: 5
  35. machine_learning: 10
  36. noswing: 4
  37. sprint: 5
  38. super_kb: 20
  39. yaw: 5
  40. angle: 8
  41. style: 10
  42. critical: 5
  43. clickaimbot: 5
  44. multi: 5
  45. click: 35
  46.  
  47. # Combined check settings
  48. # This check can combine all killaura & hitbox checks to
  49. # determine if the player is cheating. Note: This check
  50. # only work for premium users
  51. combine:
  52. enable: true
  53. vl_weights:
  54. P1: 40
  55. P2: 30
  56. P3: 15
  57. P4: 15
  58. P5: 35
  59. P6: 50
  60. P7: 15
  61. P8: 20
  62. P9: 20
  63.  
  64. # Autoclicker check setting
  65. # Prevent player use AutoClicker cheat
  66. autoclicker:
  67. max_cps: 24 # Player can click 24 times per second if they jitter clicking
  68. vl_weights:
  69. cps: 5
  70. delay: 5 # This module might cause some false flags when player jitter clicking, disable it if you want (-1)
  71. cps_long: 5
  72. external: 10
  73.  
  74. # Advanced Settings, you can customize some values for some
  75. # checks here. If you don't know what is it, don't change
  76. # anything!
  77. settings:
  78. # Settings for the click check
  79. click:
  80. # You can customize the sensitivity of click Check, which is divided into three levels (0, 1, 2)
  81. # 0: It can detect many types of KillAura, but there are many false alarms. It is generally not recommended to use it
  82. # 1: Medium sensitivity, with a small number of false positives, it can detect most types of killaura
  83. # 2: The most lenient mode can detect most types of killaura, but it is slow
  84. sensitivity: 2
  85.  
  86. # Settings for the Machine Learning checks
  87. machine_learning:
  88. # Format: - '#XXX'. For example: - '#66'
  89. disable_patterns: {}
  90. # The duration of data collection, the longer the time, the slower the detection, but the more accurate (unit: milliseconds, default: 7000)
  91. collect_data_duration: 7000
  92. # Data set availability threshold, if the collected data set is below
  93. # the threshold, discard the data set without analysis
  94. availability_threshold:
  95. hits: 3 # In the dataset, the player must attack the entity 3 times.
  96. clicks: 30 # In the dataset, the player must click the mouse 30 times
  97. rotations: 90 # In the dataset, the player must rotate the head 90 times
  98. # Settings for the NPC/ForceField check
  99. npc:
  100. async: true
  101. real_entity_id: true
  102. only_command_trigger: true
  103. visible: truee
  104. check_ticks:
  105. base: 100
  106. attack_add: 20
  107. hit_bot_add: 50
  108. movement:
  109. distance_base: 3.2
  110. distance_random_size: 0.75
  111. distance_attack_base: 3.0
  112. move_up_after_attack: false
  113. # Violation Thresholds
  114. # number_of_violations: '<command>'
  115. commands:
  116. 5: 'matrix npc %player% 100'
  117. 20: 'matrix notify %player% might be using combat hacks (KillAura)'
  118. 35: 'matrix notify %player% is using combat hacks (KillAura) #2'
  119. 45: 'matrix kick %player% KillAura'
  120.  
  121. ## HitBox
  122. # Description: This check prevents players from using HitBox, Angle, Reach hacks.
  123. # Note: This check is strict ONLY when you attack other PLAYERS, but it's very loose
  124. # when you attack non-player creatures. So, if you find that you can use HixBox
  125. # hack on non-player creatures, it's very normal, don't report it.
  126. hitbox:
  127. # Enable HitBox check?
  128. enable: true
  129.  
  130. # Maximum reach distance (default: 3.1)
  131. max_reach: 3.1
  132.  
  133. # How many moves should the Matrix trace back to the player? (default: 3)
  134. # You can set this higher to reduce false positives, but this will weaken HitBox detection
  135. # My suggestion is 3 to 7, please don't make it more than 7, because it is useless
  136. trace_back_length: 3
  137.  
  138. # Violation weights
  139. vl_weights:
  140. miss_player_hitbox: 2
  141. reach_target_standing: 10
  142. reach_target_moving: 3
  143. reach_simple: 3
  144.  
  145. # Violation Thresholds
  146. # number_of_violations: '<command>'
  147. commands:
  148. 10: 'matrix notify %player% tried to reach entity outside max reach distance (HitBox)'
  149. 15: 'matrix notify %player% tried to reach entity outside max reach distance (HitBox) #2'
  150. 24: 'matrix kick %player% Reach/HitBox Hacks'
  151.  
  152. ## Movement Speed Check
  153. # This checks how fast a player moves, and prevents the player from moving too fast.
  154. speed:
  155. # Enable this check?
  156. # Warning: Will also disable
  157. # flight detection.
  158. enable: true
  159.  
  160. # Speed prediction tolerance
  161. tolerance: 0.01
  162.  
  163. # Violations needed to cancel illegal movements (-1 = never cancel)
  164. cancel_vl: 30
  165.  
  166. # Enable sprint direction check?
  167. sprint_direction: true
  168.  
  169. # Enable strafe check?
  170. strafe: true
  171.  
  172. # Enable FastClimb/FastLadder check?
  173. fastclimb: true
  174.  
  175. # Violation Thresholds
  176. # number_of_violations: '<command>'
  177. commands:
  178. 55: 'matrix notify %player% tried to move faster than usual (Speed) #1'
  179. 60: 'matrix msg %player% You were detected to move too fast, please sneak and block now to prevent false positives!'
  180. 90: 'matrix notify %player% tried to move faster than usual (Speed) #2'
  181. 220: 'matrix kick %player% Speed Hacks'
  182.  
  183. ## Fly
  184. # Prevents the player from using both vanilla and non-vanilla fly hacks.
  185. fly:
  186. # Enable this check?
  187. # Warning: Speed check must also be enabled.
  188. enable: true
  189.  
  190. # Violations needed to cancel illegal movements (-1 = never cancel)
  191. cancel_vl: 50
  192.  
  193. # Fly ability check
  194. # It might be not compatible with some plugins, test it by yourself
  195. ability:
  196. enable: true
  197. vl_weight: 20
  198.  
  199. # NoFall check
  200. nofall:
  201. # Force deal damage after setback?
  202. damage: true
  203.  
  204. # Trident Boost violation level weight
  205. trident_boost_vl_weight: 20
  206.  
  207. # Setback method (back/ground)
  208. # back: teleport the player to the last legit location
  209. # ground: teleport the player to the ground under the player
  210. setback: back
  211.  
  212. # Violation Thresholds
  213. # number_of_violations: '<command>'
  214. commands:
  215. 50: 'matrix notify %player% tried to fly (Fly) #1'
  216. 100: 'matrix notify %player% tried to fly (Fly) #2'
  217. 180: 'matrix kick %player% Fly Related Hacks'
  218.  
  219.  
  220. ## BadPackets
  221. # Prevents player from sending too many movement packets or sending illegal packets
  222. badpackets:
  223. # Enable this check?
  224. enable: true
  225.  
  226. # Buffer Size (ticks)
  227. # The larger the value, the slower the detection, but the more stable
  228. # Don't set it lower than 10
  229. buffer_size: 20
  230.  
  231. # Freeze time (millisecond, 1second=1000 millisecond)
  232. # The time to freeze player if they try to send too
  233. # many moving packets at the same time
  234. freeze_time: 500
  235.  
  236. # How many extra packets can the player send?
  237. max_extra_packets: 15
  238.  
  239. # Violation weight
  240. vl_weights:
  241. limit: 10
  242. timer: 10
  243.  
  244. # Violation Thresholds
  245. # number_of_violations: '<command>'
  246. commands:
  247. 100: 'matrix notify %player% is sending unusual packets to server (BadPackets) #1'
  248. 150: 'matrix notify %player% is sending unusual packets to server (BadPackets) #2'
  249. 240: 'matrix kick %player% Sending Unusual Packets'
  250.  
  251. ## FastUse
  252. # Check prevents player from eating or using an item too quickly.
  253. fastuse:
  254. # Enable this check?
  255. enable: true
  256.  
  257. # Violations needed to cancel illegal item use (-1 = never cancel)
  258. cancel_vl: 5
  259.  
  260. # Violation weight
  261. vl_weight: 1
  262.  
  263. # Violation Thresholds
  264. # number_of_violations: '<command>'
  265. commands:
  266. 5: 'matrix notify %player% tried to use an item faster than usual (FastUse)'
  267. 12: 'matrix kick %player% FastUse Hacks'
  268.  
  269. ## FastBow
  270. # Check prevents player from shooting a bow too quickly.
  271. fastbow:
  272. # Enable this check?
  273. enable: true
  274.  
  275. # Violations needed to cancel illegal bow use (-1 = never cancel)
  276. cancel_vl: 7
  277.  
  278. # Violation Weight
  279. vl_weight: 1
  280.  
  281. # Violation Thresholds
  282. # number_of_violations: '<command>'
  283. commands:
  284. 5: 'matrix notify %player% is trying to shoot a bow too quickly (FastBow)'
  285. 15: 'matrix kick %player% FastBow Hacks'
  286.  
  287. ## FastHeal
  288. # Check prevents player from regaining health too quickly.
  289. fastheal:
  290. # Enable this check?
  291. enable: true
  292.  
  293. # Violation Weight
  294. vl_weight: 2
  295.  
  296. # Violation Thresholds
  297. # number_of_violations: '<command>'
  298. commands:
  299. 10: 'matrix notify %player% tried to regain health too quickly (FastHeal)'
  300. 20: 'matrix kick %player% FastHeal Hacks'
  301.  
  302. ## Block
  303. # Check prevents the player from breaking, placing block quickly
  304. block:
  305. # Enable this check?
  306. enable: true
  307.  
  308. # Violations needed to cancel illegal breaking/placing of blocks (-1 = never cancel)
  309. cancel_vl: 5
  310.  
  311. # Modules List
  312. # You can turn off some modules here
  313. modules:
  314. # It can detect player breaking block faster
  315. fastbreak:
  316. enable: true
  317. vl_weight: 4
  318. # It can detect player placing block faster
  319. fastplace:
  320. enable: true
  321. vl_weight: 1
  322. max_place_per_second: 9
  323. # It can detect player placing block without swing hand
  324. noswing:
  325. enable: true
  326. vl_weight: 1
  327. # detect player not send abort breaking packet
  328. abort:
  329. enable: true
  330. vl_weight: 0
  331.  
  332. # Violation Thresholds
  333. # number_of_violations: '<command>'
  334. commands:
  335. 10: 'matrix notify %player% tried to place/break a block too quickly (FastPlace/FastBreak)'
  336. 20: 'matrix kick %player% FastPlace/FastBreak Hacks'
  337.  
  338. ## Scaffold check
  339. # Check prevents player bridging blocks or towering up faster than normal speed
  340. scaffold:
  341. # Enable this check
  342. enable: true
  343.  
  344. # Cancel VL
  345. cancel_vl: 15
  346.  
  347. # Modules
  348. modules:
  349. # It can detect player bridging faster
  350. scaffold:
  351. enable: true
  352. vl_weights:
  353. safewalk: 4
  354. expand: 3
  355. limit: 1
  356. head: 5
  357. simple: 3
  358. direction: 4
  359. # It can detect player towering up faster
  360. tower:
  361. enable: true
  362. vl_weight: 2
  363.  
  364. # Violation Thresholds
  365. # number_of_violations: '<command>'
  366. commands:
  367. 7: 'matrix notify %player% tried to bride blocks quickly (Scaffold)'
  368. 15: 'matrix notify %player% tried to bride blocks quickly (Scaffold) #2'
  369. 24: 'matrix kick %player% Scaffold/Tower'
  370.  
  371. ## Jesus
  372. # Check prevents the player from moving too too quickly in liquids, or walking on liquid.
  373. jesus:
  374. # Enable this check?
  375. enable: true
  376.  
  377. # Violations needed to cancel illegal movements (-1 = never cancel)
  378. cancel_vl: 15
  379.  
  380. # Violation Thresholds
  381. # number_of_violations: '<command>'
  382. commands:
  383. 15: 'matrix notify %player% tried to move illegally in liquid (Jesus)'
  384. 25: 'matrix kick %player% Jesus/WaterSpeed/WaterFly Hacks'
  385.  
  386. ## Inventory
  387. # Check prevents the player from using illegal inventory modifications such as Steal.
  388. # Also prevents quick inventory movement hacks.
  389. inventory:
  390. # Enable this check?
  391. enable: true
  392.  
  393. # Violations needed to cancel illegal movements of items (-1 = never cancel)
  394. cancel_vl: 10
  395.  
  396. # Enable ChestStealer check?
  397. # It can detect player taking items out of chest faster
  398. chest_stealer: true
  399.  
  400. # Ignore items/inventory which has colorful name
  401. # This feature can prevent false positive when you
  402. # click some GUI such as the Bedwars Shop
  403. ignore_color: false
  404.  
  405. # Disable InventoryMove check
  406. # If you don't need InventoryMove check, you can set this to 'true' to disable it
  407. # This option ONLY works for 1.12/1.13/+ server
  408. disable_invmove: false
  409.  
  410. # Check AutoTotem cheat?
  411. auto_totem: true
  412.  
  413. # Violation Thresholds
  414. # number_of_violations: '<command>'
  415. commands:
  416. 10: 'matrix notify %player% moved items in inventory too quickly (ChestSteal)'
  417. 20: 'matrix kick %player% ChestSteal/Inventory Hacks'
  418.  
  419. ## Velocity
  420. # Check prevents the player from using any type of anti-knockback hacks.
  421. velocity:
  422. # Enable this check?
  423. enable: true
  424.  
  425. # The time to wait for players to respond to velocity (ticks)
  426. # If the player does not respond to velocity after that
  427. # time, the player will be detected.
  428. wait_time: 20
  429.  
  430. # Ignore lag player, this feature can ignore the player who
  431. # is lagging or changing resource pack.
  432. ignore_lag: true
  433.  
  434. # Violation Weights
  435. # -1 = disable that module
  436. vl_weights:
  437. P1: 10
  438. P2: 5
  439. P3: 7
  440. P4: 4
  441. P5: 4
  442. P6: 2
  443. P7: 3
  444. P8: 2
  445.  
  446. # Violation Thresholds
  447. # number_of_violations: '<command>'
  448. commands:
  449. 10: 'matrix notify %player% tried to ignore server velocity (Velocity)'
  450. 15: 'matrix notify %player% tried to ignore server velocity (Velocity) #2'
  451. 20: 'matrix kick %player% Velocity/Anti-Knockback'
  452.  
  453. ## Spam
  454. # Check prevents a player from spamming messages in the servers chat.
  455. chat:
  456. # Enable this check?
  457. enable: true
  458.  
  459. # Minimum amount of time between messages (Seconds)
  460. min_time: 3
  461.  
  462. # Violations needed to cancel sent messages (-1 = never cancel)
  463. cancel_vl: 3
  464.  
  465. # Violation Thresholds
  466. # number_of_violations: '<command>'
  467. commands:
  468. 4: 'matrix notify %player% is spamming the chat (ChatSpam)'
  469. 10: 'essentials:mute %player% 5m Spamming the chat'
  470.  
  471. ## Interact
  472. # Check prevents the player from illegally interacting with entities and blocks.
  473. interact:
  474. # Enable this check?
  475. enable: true
  476.  
  477. # Modules List
  478. modules:
  479. # It can detect player breaking blocks through walls
  480. break_block:
  481. enable: true
  482. vl_weight: 1
  483. # It can detect player attacking other entities through walls
  484. attack:
  485. enable: true
  486. vl_weight: 1
  487. # It can detect player interacting blocks too far away
  488. block_reach:
  489. enable: true
  490. vl_weight: 1
  491.  
  492. # Violation Thresholds
  493. # number_of_violations: '<command>'
  494. commands:
  495. 10: 'matrix notify %player% tried to illegally interact with Entity/Block (Interact)'
  496. 15: 'matrix kick %player% Illegally Interacting with Block/Entity'
  497.  
  498. ## AutoFish
  499. # Check prevents the player from using an Auto-Fishing mod or hack.
  500. autofish:
  501. # Enable this check?
  502. enable: true
  503.  
  504. # Violations needed to cancel auto fishing (-1 = never cancel)
  505. cancel_vl: 5
  506.  
  507. # Violation Thresholds
  508. # number_of_violations: '<command>'
  509. commands:
  510. 6: 'matrix notify %player% is using auto fish (AutoFish)'
  511. 10: 'matrix kick %player% No Auto Fishing!'
  512.  
  513. ## Phase
  514. # Check prevents the player people glitching through blocks.
  515. phase:
  516. # Enable this check?
  517. enable: true
  518.  
  519. # Detection tolerance (smaller = stricter)
  520. tolerance: 0.01
  521.  
  522. # Violation Thresholds
  523. # number_of_violations: '<command>'
  524. commands:
  525. 5: 'matrix notify %player% is phase into block (Phase)'
  526. 10: 'matrix notify %player% is phase into block (Phase) #2'
  527. 13: 'matrix kick %player% Phase/NoClip'
  528.  
  529. ## AutoBot
  530. # Check prevents player use some Bot mods like Baritone
  531. autobot:
  532. # Enable this check?
  533. enable: true
  534.  
  535. # Violation Thresholds
  536. # number_of_violations: '<command>'
  537. commands:
  538. 5: 'matrix notify %player% suspected use of automatic robots (AutoBot)'
  539. 10: 'matrix notify %player% suspected use of automatic robots (AutoBot) #2'
  540. 15: 'matrix kick %player% Auto-Bot'
  541.  
  542. ## Elytra
  543. # Checks prevents player using Elytra+, ElytraFlight, etc
  544. # Only works for 1.9+
  545. elytra:
  546. # Enable this check?
  547. enable: true
  548.  
  549. # Setback violation level (-1 = never setback)
  550. setback_vl: 5
  551.  
  552. # unequip elytra VL
  553. # If player reached this VL, Matrix will make it out of the gliding state (-1 = disable this feature)
  554. unequip_vl: 20
  555.  
  556. # Violation Thresholds
  557. # number_of_violations: '<command>'
  558. commands:
  559. 10: 'matrix notify %player% suspected using elytra flight (Elytra)'
  560. 20: 'matrix notify %player% suspected using elytra flight (Elytra) #2'
  561. 40: 'matrix kick %player% Elytra Flight'
  562.  
  563. ## Vehicle
  564. # Checks prevents player using VehicleFlight, VehicleSpeed, EntitySpeed..
  565. # Only works for 1.9+
  566. vehicle:
  567. # Enable this check?
  568. enable: true
  569.  
  570. # Prevent players from using certain creatures as vehicles
  571. # All entity types: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
  572. deny_entity_types_as_vehicle:
  573. - 'LLAMA'
  574.  
  575. # Vehicle Speed/ Entity Speed
  576. speed:
  577. # Enable this modules?
  578. enable: true
  579.  
  580. # setback VL (-1 = disable setback)
  581. setback_vl: 2
  582.  
  583. # Vehicle Flight / Boat Flight
  584. flight:
  585. # Enable this modules?
  586. enable: true
  587.  
  588. # setback vl (-1 = never setback)
  589. setback_vl: 4
  590.  
  591. # leave vehicle vl (-1 = never leave vehicle)
  592. leave_vehicle: 10
  593.  
  594. # Violation Thresholds
  595. # number_of_violations: '<command>'
  596. commands:
  597. 5: 'matrix notify %player% suspected using vehicle cheat (Vehicle)'
  598. 10: 'matrix notify %player% suspected using vehicle cheat (Vehicle) #2'
  599. 17: 'matrix kick %player% Suspicious vehicle movement'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement