Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.71 KB | None | 0 0
  1. #### MATRIX CONFIG FILE
  2. # MATRIX ANTI CHEAT
  3. # file: checks.yml | last edit version: @2.2.0
  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. # Canceling system
  25. # It can cancel attack damage when the player is considered to be cheating (-1 = never canceling)
  26. # Note: Only some modules have canceling system, not all
  27. cancel_vl: -1
  28.  
  29. # Module Settings
  30. modules:
  31. # Machine Learning KillAura check
  32. # It uses machine learning algorithms to distinguish whether players cheat or not.
  33. machine_learning:
  34. enable: true
  35. vl_weight: 15
  36. # AutoClicker check
  37. # Detecting player using auto clicker software
  38. auto_clicker:
  39. # clicks per second(CPS) check
  40. cps:
  41. enable: true
  42. max_cps: 16
  43. vl_weight: 10
  44. # click delay check
  45. delay:
  46. enable: true
  47. vl_weight: 3
  48. # The min click delay differences player should have
  49. # higher value = more sensitive, but I suggest you don't set it higher, because it will cause more false flags
  50. delay_diff_threshold: 170
  51. # packet auto clicker pattern, it can detect some external auto clicker software
  52. packet:
  53. enable: true
  54. vl_weight: 5
  55. # long-term-cps difference check
  56. cps_long_term:
  57. enable: true
  58. vl_weight: 5
  59. # Attack Accuracy check
  60. # Preventing player from attacking other entities wit low miss rates
  61. accuracy:
  62. enable: true
  63. vl_weight: 15
  64. max_accuracy: 70
  65. # Yaw Pattern
  66. # Analysing the yaw movement when player fighting
  67. yaw:
  68. enable: true
  69. vl_weight: 5
  70. # Pitch Pattern
  71. # Analysing the pitch movement when player fighting
  72. pitch:
  73. enable: true
  74. vl_weight: 5
  75. # Derp
  76. # Preventing player's pitch value > 90 or pitch<-90
  77. derp:
  78. enable: true
  79. vl_weight: 10
  80. # Snap aiming
  81. # Preventing player from aiming fast when fighting
  82. snap_aim:
  83. enable: true
  84. vl_weight: 3
  85. # Dead entities hitting
  86. # Preventing player from attacking their target after he killed the target
  87. dead:
  88. enable: true
  89. vl_weight: 3
  90. # No swing
  91. # Preventing player from attacking entities without arm swing
  92. noswing:
  93. enable: true
  94. vl_weight: 2
  95. # Simple packet pattern
  96. # Preventing player from attacking others immediately after sending a flying packet
  97. simple:
  98. enable: false
  99. vl_weight: 0
  100. # Critical hit
  101. # Preventing player from critical attacking other entities without correct jumping
  102. critical:
  103. enable: true
  104. vl_weight: 4
  105. cancel: false
  106. # super knock back check
  107. superkb:
  108. enable: true
  109. vl_weight: 5
  110. # auto block
  111. auto_block:
  112. enable: true
  113. vl_weight: 4
  114. # combat style check
  115. style:
  116. enable: false
  117. vl_weight: 0
  118. # aim feature check
  119. aim_feature:
  120. enable: true
  121. vl_weight: 5
  122. # fake rotation
  123. fake_rotation:
  124. enable: true
  125. vl_weight: 8
  126. # npc check
  127. npc:
  128. enable: true
  129. vl_weight: 4
  130. vl_weight_fast_attack: 10
  131. async: true
  132. real_entity_id: true
  133. only_command_trigger: true
  134. check_ticks:
  135. base: 100
  136. attack_add: 20
  137. hit_bot_add: 50
  138. movement:
  139. distance_base: 3.0
  140. distance_random_size: 1.0
  141. distance_attack_base: 2.0
  142. # Violation Thresholds
  143. # number_of_violations: '<command>'
  144. commands:
  145. 35: 'matrix notify %player% might be using combat hacks (KillAura)'
  146. 45: 'matrix notify %player% is using combat hacks (KillAura) #2'
  147. 55: 'matrix notify %player% is using combat hacks (KillAura) #3'
  148.  
  149. ## HitBox
  150. # Description: This check prevents players from using HitBox, Angle, Reach hacks.
  151. hitbox:
  152. # Enable HitBox check?
  153. enable: true
  154.  
  155. # Direction check settings
  156. direction:
  157. # HitBox compensation
  158. # Smaller = More sensitive
  159. compensation:
  160. # Horizon hitBox compensation
  161. xz: 1.2
  162. # Vertical hitBox compensation
  163. y: 0.5
  164.  
  165. # Violation weight
  166. vl_weight: 2
  167.  
  168. # Reach check settings
  169. reach:
  170. # Maximum attack reach distance
  171. max_reach: 3.5
  172.  
  173. # How much lenient should be when a player is moving
  174. # Higher = More lenient for moving players
  175. # Suggest Value: 1.0 ~ 1.5
  176. # Reach tolerance value = move_dist * lag_tick * move_lenient
  177. move_lenient: 1.1
  178.  
  179. # Violations needed to cancel illegal hits (-1 = never cancel)
  180. cancel_vl: -1
  181.  
  182. # Violation Thresholds
  183. # number_of_violations: '<command>'
  184. commands:
  185. 10: 'matrix notify %player% tried to reach entity outside max reach distance (HitBox)'
  186. 15: 'matrix notify %player% tried to reach entity outside max reach distance (HitBox) #2'
  187. 24: 'matrix notify %player% tried to reach entity outside max reach distance (HitBox) #3'
  188.  
  189. ## Movement Speed Check
  190. # This checks how fast a player moves, and prevents the player from moving too fast.
  191. speed:
  192. # Enable this check?
  193. # Warning: Will also disable
  194. # flight detection.
  195. enable: true
  196.  
  197. # Violations needed to cancel illegal movements (-1 = never cancel)
  198. cancel_vl: -1
  199.  
  200. # Enable sprint direction check?
  201. sprint_direction: true
  202.  
  203. # Enable FastClimb/FastLadder check?
  204. fastclimb: true
  205.  
  206. # Enable NoSlow check?
  207. # It can detect player moving faster when eating/sneaking/shooting bow
  208. noslow: true
  209.  
  210. # Violation Thresholds
  211. # number_of_violations: '<command>'
  212. commands:
  213. 55: 'matrix notify %player% tried to move faster than usual (Speed) #1'
  214. 90: 'matrix notify %player% tried to move faster than usual (Speed) #2'
  215. 220: 'matrix notify %player% tried to move faster than usual (Speed) #3'
  216.  
  217. ## Fly
  218. # Prevents the player from using both vanilla and non-vanilla fly hacks.
  219. fly:
  220. # Enable this check?
  221. # Warning: Speed check must also be enabled.
  222. enable: true
  223.  
  224. # Violations needed to cancel illegal movements (-1 = never cancel)
  225. cancel_vl: -1
  226.  
  227. # Strict Glide check
  228. strict_glide:
  229. # Enable strict glide check?
  230. enable: false
  231.  
  232. # Falling distance and expectation deserve maximum deviation
  233. # If difference lager than this value, the player will be flagged
  234. max_diff: 0.5Wh
  235.  
  236. # NoFall check
  237. nofall:
  238. # Force deal damage after setback?
  239. damage: false
  240.  
  241. # Setback method (back/ground)
  242. # back: teleport the player to the last legit location
  243. # ground: teleport the player to the ground under the player
  244. setback: back
  245.  
  246. # Violation Thresholds
  247. # number_of_violations: '<command>'
  248. commands:
  249. 60: 'matrix notify %player% tried to fly (Fly) #1'
  250. 120: 'matrix notify %player% tried to fly (Fly) #2'
  251. 180: 'matrix notify %player% tried to fly (Fly) #3'
  252.  
  253.  
  254. ## BadPackets
  255. # Prevents player from sending too many movement packets or sending illegal packets
  256. badpackets:
  257. # Enable this check?
  258. enable: true
  259.  
  260. # Violations needed to cancel illegal movement packets (-1 = never cancel)
  261. cancel_vl: -1
  262.  
  263. # packet queue size (seconds)
  264. # smaller-> detect timer faster, higher -> more friendly for high latency players
  265. cache_size: 30
  266.  
  267. # Tick Rate check
  268. # It can detect some smooth Timer (1.01~1.05 timer fast)
  269. tick_rate:
  270. # Enable this check?
  271. enable: true
  272.  
  273. # Cache size (Seconds)
  274. # Bigger: Less false positives for laggy players
  275. # Smaller: More strict, detect Timer hack fast
  276. cache_size: 5
  277.  
  278. # Useless verbose message output (+0 VL messages)
  279. # If you don't want to see BadPackets spam in the verbose messages
  280. # You can set this to false
  281. verbose_useless: false
  282.  
  283. # Violation Thresholds
  284. # number_of_violations: '<command>'
  285. commands:
  286. 100: 'matrix notify %player% is sending unusual packets to server (BadPackets) #1'
  287. 150: 'matrix notify %player% is sending unusual packets to server (BadPackets) #2'
  288. 240: 'matrix notify %player% is sending unusual packets to server (BadPackets) #3'
  289.  
  290. ## FastUse
  291. # Check prevents player from eating or using an item too quickly.
  292. fastuse:
  293. # Enable this check?
  294. enable: true
  295.  
  296. # Violations needed to cancel illegal item use (-1 = never cancel)
  297. cancel_vl: -1
  298.  
  299. # Violation weight
  300. vl_weight: 1
  301.  
  302. # Violation Thresholds
  303. # number_of_violations: '<command>'
  304. commands:
  305. 5: 'matrix notify %player% tried to use an item faster than usual (FastUse)'
  306. 12: 'matrix notify %player% tried to use an item faster than usual (FastUse) #2'
  307.  
  308. ## FastBow
  309. # Check prevents player from shooting a bow too quickly.
  310. fastbow:
  311. # Enable this check?
  312. enable: false
  313.  
  314. # Violations needed to cancel illegal bow use (-1 = never cancel)
  315. cancel_vl: -1
  316.  
  317. # Violation Weight
  318. vl_weight: 1
  319.  
  320. # Violation Thresholds
  321. # number_of_violations: '<command>'
  322. commands:
  323. 5: 'matrix notify %player% is trying to shoot a bow too quickly (FastBow)'
  324. 15: 'matrix notify %player% is trying to shoot a bow too quickly (FastBow) #2'
  325.  
  326. ## FastHeal
  327. # Check prevents player from regaining health too quickly.
  328. fastheal:
  329. # Enable this check?
  330. enable: false
  331.  
  332. # Violation Weight
  333. vl_weight: 2
  334.  
  335. # Violation Thresholds
  336. # number_of_violations: '<command>'
  337. commands:
  338. 10: 'matrix notify %player% tried to regain health too quickly (FastHeal)'
  339. 20: 'matrix notify %player% tried to regain health too quickly (FastHeal #2'
  340.  
  341. ## Block
  342. # Check prevents the player from breaking, placing, or bridge/tower up quickly
  343. block:
  344. # Enable this check?
  345. enable: false
  346.  
  347. # Violations needed to cancel illegal breaking/placing of blocks (-1 = never cancel)
  348. cancel_vl: -1
  349.  
  350. # Scaffold drag back system
  351. # It can drag player back instead of canceling placing the block if they are using scaffold cheat
  352. drag_back:
  353. enable: true
  354. start_vl: 3
  355.  
  356. # Modules List
  357. # You can turn off some modules here
  358. modules:
  359. # It can detect player breaking block faster
  360. fastbreak:
  361. enable: true
  362. vl_weight: 4
  363. # It can detect player placing block faster
  364. fastplace:
  365. enable: true
  366. vl_weight: 1
  367. # It can detect player bridging faster
  368. scaffold:
  369. enable: true
  370. vl_weights:
  371. safewalk: 4
  372. expand: 3
  373. limit: 1
  374. head: 5
  375. simple: 3
  376. direction: 4
  377. # It can detect player towering up faster
  378. tower:
  379. enable: true
  380. vl_weight: 2
  381. # It can detect player placing block without swing hand
  382. noswing:
  383. enable: true
  384. vl_weight: 1
  385. # detect player not send abort breaking packet
  386. abort:
  387. enable: true
  388. vl_weight: 0
  389.  
  390. # Violation Thresholds
  391. # number_of_violations: '<command>'
  392. commands:
  393. 10: 'matrix notify %player% tried to place/break a block too quickly (FastPlace)'
  394. 20: 'matrix notify %player% tried to place/break a block too quickly (FastPlace) #2'
  395.  
  396. ## Jesus
  397. # Check prevents the player from moving too too quickly in liquids, or walking on liquid.
  398. jesus:
  399. # Enable this check?
  400. enable: true
  401.  
  402. # Violations needed to cancel illegal movements (-1 = never cancel)
  403. cancel_vl: -1
  404.  
  405. # Violation Thresholds
  406. # number_of_violations: '<command>'
  407. commands:
  408. 15: 'matrix notify %player% tried to move illegally in liquid (Jesus)'
  409. 25: 'matrix notify %player% tried to move illegally in liquid (Jesus) #2'
  410.  
  411. ## Inventory
  412. # Check prevents the player from using illegal inventory modifications such as Steal.
  413. # Also prevents quick inventory movement hacks.
  414. inventory:
  415. # Enable this check?
  416. enable: true
  417.  
  418. # Violations needed to cancel illegal movements of items (-1 = never cancel)
  419. cancel_vl: -1
  420.  
  421. # Enable ChestStealer check?
  422. # It can detect player taking items out of chest faster
  423. chest_stealer: true
  424.  
  425. # Disable InventoryMove check
  426. # If you don't need InventoryMove check, you can set this to 'true' to disable it
  427. # This option ONLY works for 1.12/1.13/+ server
  428. disable_invmove: true
  429.  
  430. # Violation Thresholds
  431. # number_of_violations: '<command>'
  432. commands:
  433. 10: 'matrix notify %player% moved items in inventory too quickly (ChestSteal)'
  434. 20: 'matrix notify %player% moved items in inventory too quickly (ChestSteal #2'
  435.  
  436. ## Velocity
  437. # Check prevents the player from using any type of anti-knockback hacks.
  438. velocity:
  439. # Enable this check?
  440. enable: false
  441.  
  442. # Modules List
  443. # You can turn off some velocity modules here
  444. # Set it to false to disable the module
  445. modules:
  446. vertical:
  447. enable: true
  448. vl_weight: 1
  449. horizon:
  450. enable: true
  451. vl_weight: 4
  452. air:
  453. enable: true
  454. vl_weight: 2
  455. delay:
  456. enable: true
  457. vl_weight: 1
  458. expect:
  459. enable: true
  460. vl_weight: 2
  461. pattern:
  462. enable: true
  463. vl_weight: 7
  464.  
  465. # Violation Thresholds
  466. # number_of_violations: '<command>'
  467. commands:
  468. 10: 'matrix notify %player% tried to ignore server velocity (Anti-Knockback)'
  469. 15: 'matrix notify %player% tried to ignore server velocity (Anti-Knockback) #2'
  470. 20: 'matrix notify %player% tried to ignore server velocity (Anti-Knockback) #3'
  471.  
  472. ## Spam
  473. # Check prevents a player from spamming messages in the servers chat.
  474. chat:
  475. # Enable this check?
  476. enable: false
  477.  
  478. # Minimum amount of time between messages (Seconds)
  479. min_time: 3
  480.  
  481. # Violations needed to cancel sent messages (-1 = never cancel)
  482. cancel_vl: -1
  483.  
  484. # Violation Thresholds
  485. # number_of_violations: '<command>'
  486. commands:
  487. 4: 'matrix notify %player% is spamming the chat (ChatSpam)'
  488. 10: 'matrix notify %player% is spamming the chat (ChatSpam) #2'
  489.  
  490. ## Interact
  491. # Check prevents the player from illegally interacting with entities and blocks.
  492. interact:
  493. # Enable this check?
  494. enable: true
  495.  
  496. # Modules List
  497. modules:
  498. # It can detect player breaking blocks through walls
  499. break_block:
  500. enable: false
  501. vl_weight: 1
  502. # It can detect player attacking other entities through walls
  503. attack:
  504. enable: true
  505. vl_weight: 1
  506. # It can detect player interacting blocks too far away
  507. block_reach:
  508. enable: true
  509. vl_weight: 1
  510.  
  511. # Violation Thresholds
  512. # number_of_violations: '<command>'
  513. commands:
  514. 10: 'matrix notify %player% tried to illegally interact with Entity/Block (Interact)'
  515. 15: 'matrix notify %player% tried to illegally interact with Entity/Block (Interact) #2'
  516.  
  517. ## AutoFish
  518. # Check prevents the player from using an Auto-Fishing mod or hack.
  519. autofish:
  520. # Enable this check?
  521. enable: false
  522.  
  523. # Violation Thresholds
  524. # number_of_violations: '<command>'
  525. commands:
  526. 6: 'matrix notify %player% is using auto fish (AutoFish)'
  527. 15: 'matrix notify %player% is using auto fish (AutoFish) #2'
  528.  
  529. ## Phase
  530. # Check prevents the player people glitching through blocks.
  531. phase:
  532. # Enable this check?
  533. enable: true
  534.  
  535. # Which type of block should be exempt from phase checking?
  536. # If you find any false positive, you can add that block type into it
  537. # For example:
  538. # exclude_types:
  539. # - 'AIR'
  540. exclude_types: {}
  541.  
  542. # Cancel malicious movements
  543. setback: false
  544.  
  545. # Violation Thresholds
  546. # number_of_violations: '<command>'
  547. commands:
  548. 5: 'matrix notify %player% is phase into block (Phase)'
  549. 10: 'matrix notify %player% is phase into block (Phase) #2'
  550.  
  551. ## AutoBot
  552. # Check prevents player use some Bot mods like Baritone
  553. autobot:
  554. # Enable this check?
  555. enable: false
  556.  
  557. # Violation Thresholds
  558. # number_of_violations: '<command>'
  559. commands:
  560. 5: 'matrix notify %player% suspected use of automatic robots (AutoBot)'
  561. 10: 'matrix notify %player% suspected use of automatic robots (AutoBot) #2'
  562. 15: 'matrix notify %player% suspected use of automatic robots (AutoBot) #3'
  563.  
  564. ## Elytra
  565. # Checks prevents player using Elytra+, ElytraFlight, etc
  566. # Only works for 1.9+
  567. elytra:
  568. # Enable this check?
  569. enable: true
  570.  
  571. # Setback violation level (-1 = never setback)
  572. setback_vl: -1
  573.  
  574. # unequip elytra VL
  575. # If player reached this VL, Matrix will make it out of the gliding state (-1 = disable this feature)
  576. unequip_vl: -1
  577.  
  578. # Violation Thresholds
  579. # number_of_violations: '<command>'
  580. commands:
  581. 10: 'matrix notify %player% suspected using elytra flight (Elytra)'
  582. 20: 'matrix notify %player% suspected using elytra flight (Elytra) #2'
  583. 40: 'matrix notify %player% suspected using elytra flight (Elytra) #3'
  584.  
  585. ## Vehicle
  586. # Checks prevents player using VehicleFlight, VehicleSpeed, EntitySpeed..
  587. # Only works for 1.9+
  588. vehicle:
  589. # Enable this check?
  590. enable: false
  591.  
  592. # Vehicle Speed/ Entity Speed
  593. speed:
  594. # Enable this modules?
  595. enable: true
  596.  
  597. # setback VL (-1 = disable setback)
  598. setback_vl: -1
  599.  
  600. # Vehicle Flight / Boat Flight
  601. flight:
  602. # Enable this modules?
  603. enable: true
  604.  
  605. # setback vl (-1 = never setback)
  606. setback_vl: -1
  607.  
  608. # leave vehicle vl (-1 = never leave vehicle)
  609. leave_vehicle: -1
  610.  
  611. # Violation Thresholds
  612. # number_of_violations: '<command>'
  613. commands:
  614. 5: 'matrix notify %player% suspected using vehicle cheat (Vehicle)'
  615. 10: 'matrix notify %player% suspected using vehicle cheat (Vehicle) #2'
  616. 17: 'matrix notify %player% suspected using vehicle cheat (Vehicle) #3'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement