Advertisement
diabloIIIROS

checks.yml

Nov 30th, 2019
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.98 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.  
  44. # Combined check settings
  45. # This check can combine all killaura & hitbox checks to
  46. # determine if the player is cheating. Note: This check
  47. # only work for premium users
  48. combine:
  49. enable: true
  50. vl_weights:
  51. P1: 40
  52. P2: 30
  53. P3: 15
  54. P4: 15
  55. P5: 35
  56. P6: 50
  57. P7: 15
  58. P8: 20
  59. P9: 20
  60.  
  61. # Autoclicker check setting
  62. # Prevent player use AutoClicker cheat
  63. autoclicker:
  64. max_cps: 24 # Player can click 24 times per second if they jitter clicking
  65. vl_weights:
  66. cps: 5
  67. delay: -1 # This module might cause some false flags when player jitter clicking, disable it if you want (-1)
  68. cps_long: 5
  69. external: 10
  70.  
  71. # Advanced Settings, you can customize some values for some
  72. # checks here. If you don't know what is it, don't change
  73. # anything!
  74. settings:
  75. # Settings for the Machine Learning checks
  76. machine_learning:
  77. # Format: - '#XXX'. For example: - '#66'
  78. disable_patterns: {}
  79. # The duration of data collection, the longer the time, the slower the detection, but the more accurate (unit: milliseconds, default: 7000)
  80. collect_data_duration: 7000
  81. # Data set availability threshold, if the collected data set is below
  82. # the threshold, discard the data set without analysis
  83. availability_threshold:
  84. hits: 3 # In the dataset, the player must attack the entity 3 times.
  85. clicks: 30 # In the dataset, the player must click the mouse 30 times
  86. rotations: 90 # In the dataset, the player must rotate the head 90 times
  87. # Settings for the NPC/ForceField check
  88. npc:
  89. async: true
  90. real_entity_id: true
  91. only_command_trigger: false
  92. visible: true
  93. check_ticks:
  94. base: 100
  95. attack_add: 20
  96. hit_bot_add: 50
  97. movement:
  98. distance_base: 3.2
  99. distance_random_size: 0.75
  100. distance_attack_base: 3.0
  101. move_up_after_attack: false
  102. # Violation Thresholds
  103. # number_of_violations: '<command>'
  104. commands:
  105. 30: 'matrix notify %player% might be using KillAura'
  106. 40: 'matrix notify %player% is 100% using KillAura'
  107. 45: 'matrix kick %player% KillAura'
  108. 50: 'matrix tempban %player% 20D KillAura Hacks'
  109.  
  110. ## HitBox
  111. # Description: This check prevents players from using HitBox, Angle, Reach hacks.
  112. # Note: This check is strict ONLY when you attack other PLAYERS, but it's very loose
  113. # when you attack non-player creatures. So, if you find that you can use HixBox
  114. # hack on non-player creatures, it's very normal, don't report it.
  115. hitbox:
  116. # Enable HitBox check?
  117. enable: true
  118.  
  119. # Player HitBox Size
  120. hitbox:
  121. width: 0.45
  122. height: 2.0
  123.  
  124. # Maximum reach distance
  125. max_reach: 3.2
  126.  
  127. # Force cancellation attack distance
  128. # Don't set it lower than 6.0 if your server has Combo Hit mode!
  129. force_cancel_distance: 7.0
  130.  
  131. # Violation Weight
  132. vl_weight:
  133. reach: 3
  134. direction: 4
  135.  
  136. # Violations needed to cancel illegal hits (-1 = never cancel)
  137. cancel_vl: 6
  138.  
  139. # Violation Thresholds
  140. # number_of_violations: '<command>'
  141. commands:
  142. 10: 'matrix notify %player% tried to reach entity outside max reach distance'
  143. 15: 'matrix notify %player% tried to reach entity outside max reach distance'
  144. 20: 'matrix kick %player% Reach/Hitbox Hacks'
  145. 25: 'matix tempban %player% 10D Reach/Hitbox Hacks'
  146.  
  147. ## Movement Speed Check
  148. # This checks how fast a player moves, and prevents the player from moving too fast.
  149. speed:
  150. # Enable this check?
  151. # Warning: Will also disable
  152. # flight detection.
  153. enable: true
  154.  
  155. # Violations needed to cancel illegal movements (-1 = never cancel)
  156. cancel_vl: 30
  157.  
  158. # Enable sprint direction check?
  159. sprint_direction: true
  160.  
  161. # Enable strafe check?
  162. strafe: true
  163.  
  164. # Enable FastClimb/FastLadder check?
  165. fastclimb: true
  166.  
  167. # Violation Thresholds
  168. # number_of_violations: '<command>'
  169. commands:
  170. 55: 'matrix notify %player% tried to move faster'
  171. 90: 'matrix notify %player% tried to move faster'
  172. 150: 'matrix kick %player% Speed'
  173. 200: 'matrix tempban %player% 30D Speed Hacks'
  174.  
  175. ## Fly
  176. # Prevents the player from using both vanilla and non-vanilla fly hacks.
  177. fly:
  178. # Enable this check?
  179. # Warning: Speed check must also be enabled.
  180. enable: true
  181.  
  182. # Violations needed to cancel illegal movements (-1 = never cancel)
  183. cancel_vl: 50
  184.  
  185. # Fly ability check
  186. # It might be not compatible with some plugins, test it by yourself
  187. ability:
  188. enable: true
  189. vl_weight: 20
  190.  
  191. # Strict Glide check
  192. strict_glide:
  193. # Enable strict glide check?
  194. enable: true
  195.  
  196. # Falling distance and expectation deserve maximum deviation
  197. # If difference lager than this value, the player will be flagged
  198. max_diff: 0.5
  199.  
  200. # NoFall check
  201. nofall:
  202. # Force deal damage after setback?
  203. damage: true
  204.  
  205. # Setback method (back/ground)
  206. # back: teleport the player to the last legit location
  207. # ground: teleport the player to the ground under the player
  208. setback: back
  209.  
  210. # Violation Thresholds
  211. # number_of_violations: '<command>'
  212. commands:
  213. 55: 'matrix notify %player% tried to fly'
  214. 90: 'matrix notify %player% tried to fly'
  215. 150: 'matrix kick %player% Fly'
  216. 200: 'matrix tempban %player% 30D Fly Hacks'
  217.  
  218.  
  219. ## BadPackets
  220. # Prevents player from sending too many movement packets or sending illegal packets
  221. badpackets:
  222. # Enable this check?
  223. enable: true
  224.  
  225. # Buffer Size (ticks)
  226. # The larger the value, the slower the detection, but the more stable
  227. # Don't set it lower than 10
  228. buffer_size: 25
  229.  
  230. # Freeze time (millisecond, 1second=1000 millisecond)
  231. # The time to freeze player if they try to send too
  232. # many moving packets at the same time
  233. freeze_time: 1000
  234.  
  235. # How many extra packets can the player send?
  236. max_extra_packets: 15
  237.  
  238. # Violation weight
  239. vl_weights:
  240. limit: 10
  241. timer: 10
  242.  
  243. # Violation Thresholds
  244. # number_of_violations: '<command>'
  245. commands:
  246. 100: 'matrix notify %player% is sending unusual packets to server'
  247. 150: 'matrix notify %player% is sending unusual packets to server'
  248. 240: 'matrix kick %player% Sending Unusual Packets'
  249. 300: 'matrix tempban %player% 5D 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'
  267. 12: 'matrix kick %player% FastUse Hacks'
  268. 20: 'matrix tempban %player% 10D FastUse Hacks'
  269.  
  270. ## FastBow
  271. # Check prevents player from shooting a bow too quickly.
  272. fastbow:
  273. # Enable this check?
  274. enable: true
  275.  
  276. # Violations needed to cancel illegal bow use (-1 = never cancel)
  277. cancel_vl: 7
  278.  
  279. # Violation Weight
  280. vl_weight: 1
  281.  
  282. # Violation Thresholds
  283. # number_of_violations: '<command>'
  284. commands:
  285. 5: 'matrix notify %player% is trying to shoot a bow too quickly'
  286. 12: 'matrix kick %player% FastBow Hacks'
  287. 20: 'matrix tempban %player% 10D FastBow Hacks'
  288.  
  289. ## FastHeal
  290. # Check prevents player from regaining health too quickly.
  291. fastheal:
  292. # Enable this check?
  293. enable: true
  294.  
  295. # Violation Weight
  296. vl_weight: 2
  297.  
  298. # Violation Thresholds
  299. # number_of_violations: '<command>'
  300. commands:
  301. 10: 'matrix notify %player% tried to regain health too quickly'
  302. 20: 'matrix kick %player% FastHeal Hacks'
  303. 30: 'matrix tempban %player% 10D FastHeal Hacks'
  304.  
  305. ## Block
  306. # Check prevents the player from breaking, placing block quickly
  307. block:
  308. # Enable this check?
  309. enable: true
  310.  
  311. # Violations needed to cancel illegal breaking/placing of blocks (-1 = never cancel)
  312. cancel_vl: 5
  313.  
  314. # Modules List
  315. # You can turn off some modules here
  316. modules:
  317. # It can detect player breaking block faster
  318. fastbreak:
  319. enable: true
  320. vl_weight: 4
  321. # It can detect player placing block faster
  322. fastplace:
  323. enable: true
  324. vl_weight: 1
  325. max_place_per_second: 9
  326. # It can detect player placing block without swing hand
  327. noswing:
  328. enable: true
  329. vl_weight: 1
  330. # detect player not send abort breaking packet
  331. abort:
  332. enable: true
  333. vl_weight: 0
  334.  
  335. # Violation Thresholds
  336. # number_of_violations: '<command>'
  337. commands:
  338. 10: 'matrix notify %player% tried to place/break a block too quickly'
  339. 20: 'matrix kick %player% FastPlace/FastBreak Hacks'
  340. 30: 'matrix tempban %player% 15D FastPlace/FastBreak Hacks'
  341.  
  342. ## Scaffold check
  343. # Check prevents player bridging blocks or towering up faster than normal speed
  344. scaffold:
  345. # Enable this check
  346. enable: true
  347.  
  348. # Cancel VL
  349. cancel_vl: 15
  350.  
  351. # Modules
  352. modules:
  353. # It can detect player bridging faster
  354. scaffold:
  355. enable: true
  356. vl_weights:
  357. safewalk: 4
  358. expand: 3
  359. limit: 1
  360. head: 5
  361. simple: 3
  362. direction: 4
  363. # It can detect player towering up faster
  364. tower:
  365. enable: true
  366. vl_weight: 2
  367.  
  368. # Violation Thresholds
  369. # number_of_violations: '<command>'
  370. commands:
  371. 7: 'matrix notify %player% tried to bride blocks quickly'
  372. 10: 'matrix notify %player% tried to bride blocks quickly'
  373. 20: 'matrix kick %player% Scaffold/Tower Hacks'
  374. 25: 'matrix tempban %player% 10D Scaffold/Tower Hacks'
  375.  
  376. ## Jesus
  377. # Check prevents the player from moving too too quickly in liquids, or walking on liquid.
  378. jesus:
  379. # Enable this check?
  380. enable: true
  381.  
  382. # Violations needed to cancel illegal movements (-1 = never cancel)
  383. cancel_vl: 15
  384.  
  385. # Violation Thresholds
  386. # number_of_violations: '<command>'
  387. commands:
  388. 15: 'matrix notify %player% tried to move illegally in liquid'
  389. 25: 'matrix kick %player% Jesus/WaterSpeed/WaterFly Hacks'
  390. 30: 'matrix tempban %player% 10D Jesus/WaterSpeed/WaterFly Hacks'
  391.  
  392. ## Inventory
  393. # Check prevents the player from using illegal inventory modifications such as Steal.
  394. # Also prevents quick inventory movement hacks.
  395. inventory:
  396. # Enable this check?
  397. enable: true
  398.  
  399. # Violations needed to cancel illegal movements of items (-1 = never cancel)
  400. cancel_vl: 10
  401.  
  402. # Enable ChestStealer check?
  403. # It can detect player taking items out of chest faster
  404. chest_stealer: true
  405.  
  406. # Ignore items/inventory which has colorful name
  407. # This feature can prevent false positive when you
  408. # click some GUI such as the Bedwars Shop
  409. ignore_color: false
  410.  
  411. # Disable InventoryMove check
  412. # If you don't need InventoryMove check, you can set this to 'true' to disable it
  413. # This option ONLY works for 1.12/1.13/+ server
  414. disable_invmove: false
  415.  
  416. # Violation Thresholds
  417. # number_of_violations: '<command>'
  418. commands:
  419. 10: 'matrix notify %player% moved items in inventory too quickly'
  420. 20: 'matrix kick %player% ChestSteal/Inventory Hacks'
  421. 30: 'matrix tempban %player% 5D ChestSteal/Inventory Hacks'
  422.  
  423. ## Velocity
  424. # Check prevents the player from using any type of anti-knockback hacks.
  425. velocity:
  426. # Enable this check?
  427. enable: true
  428.  
  429. # The time to wait for players to respond to velocity (ticks)
  430. # If the player does not respond to velocity after that
  431. # time, the player will be detected.
  432. wait_time: 20
  433.  
  434. # Ignore lag player, this feature can ignore the player who
  435. # is lagging or changing resource pack.
  436. ignore_lag: true
  437.  
  438. # Violation Weights
  439. # -1 = disable that module
  440. vl_weights:
  441. P1: 10
  442. P2: 5
  443. P3: 7
  444. P4: 4
  445. P5: 4
  446. P6: 2
  447. P7: 3
  448. P8: 2
  449.  
  450. # Violation Thresholds
  451. # number_of_violations: '<command>'
  452. commands:
  453. 10: 'matrix notify %player% tried to ignore server velocity'
  454. 15: 'matrix notify %player% tried to ignore server velocity'
  455. 20: 'matrix kick %player% Velocity/Anti-Knockback'
  456. 25: 'matrix tempban %player% 10D Velocity/Anti-Knockback'
  457.  
  458. ## Spam
  459. # Check prevents a player from spamming messages in the servers chat.
  460. chat:
  461. # Enable this check?
  462. enable: true
  463.  
  464. # Minimum amount of time between messages (Seconds)
  465. min_time: 2
  466.  
  467. # Violations needed to cancel sent messages (-1 = never cancel)
  468. cancel_vl: 3
  469.  
  470. # Violation Thresholds
  471. # number_of_violations: '<command>'
  472. commands:
  473. 4: 'matrix notify %player% is spamming the chat'
  474. 10: 'matrix kick %player% Spamming Chat!'
  475.  
  476. ## Interact
  477. # Check prevents the player from illegally interacting with entities and blocks.
  478. interact:
  479. # Enable this check?
  480. enable: true
  481.  
  482. # Modules List
  483. modules:
  484. # It can detect player breaking blocks through walls
  485. break_block:
  486. enable: true
  487. vl_weight: 1
  488. # It can detect player attacking other entities through walls
  489. attack:
  490. enable: true
  491. vl_weight: 1
  492. # It can detect player interacting blocks too far away
  493. block_reach:
  494. enable: true
  495. vl_weight: 1
  496.  
  497. # Violation Thresholds
  498. # number_of_violations: '<command>'
  499. commands:
  500. 10: 'matrix notify %player% tried to illegally interact with Entity/Block'
  501. 15: 'matrix kick %player% Illegally Interacting with Block/Entity'
  502. 20: 'matrix tempban %player% 5D Illegally Interacting with Block/Entity'
  503.  
  504. ## AutoFish
  505. # Check prevents the player from using an Auto-Fishing mod or hack.
  506. autofish:
  507. # Enable this check?
  508. enable: true
  509.  
  510. # Violation Thresholds
  511. # number_of_violations: '<command>'
  512. commands:
  513. 6: 'matrix notify %player% is using auto fish'
  514. 15: 'matrix kick %player% Auto Fishing Hacks'
  515. 20: 'matrix tempban %player% 5D Auto Fishing Hacks'
  516.  
  517. ## Phase
  518. # Check prevents the player people glitching through blocks.
  519. phase:
  520. # Enable this check?
  521. enable: true
  522.  
  523. # Which type of block should be exempt from phase checking?
  524. # If you find any false positive, you can add that block type into it
  525. # For example:
  526. # exclude_types:
  527. # - 'AIR'
  528. exclude_types: {}
  529.  
  530. # Cancel malicious movements
  531. setback: true
  532.  
  533. # Violation Thresholds
  534. # number_of_violations: '<command>'
  535. commands:
  536. 5: 'matrix notify %player% is phase into block'
  537. 10: 'matrix kick %player% phasing into blocks'
  538. 15: 'matrix tempban %player% 5D phasing into blocks'
  539.  
  540. ## AutoBot
  541. # Check prevents player use some Bot mods like Baritone
  542. autobot:
  543. # Enable this check?
  544. enable: true
  545.  
  546. # Violation Thresholds
  547. # number_of_violations: '<command>'
  548. commands:
  549. 5: 'matrix notify %player% suspected use of automatic robots'
  550. 15: 'matrix kick %player% Auto-Bot'
  551. 20: 'matrix tempban %player% 5D Auto-Bot'
  552.  
  553. ## Elytra
  554. # Checks prevents player using Elytra+, ElytraFlight, etc
  555. # Only works for 1.9+
  556. elytra:
  557. # Enable this check?
  558. enable: true
  559.  
  560. # Setback violation level (-1 = never setback)
  561. setback_vl: 5
  562.  
  563. # unequip elytra VL
  564. # If player reached this VL, Matrix will make it out of the gliding state (-1 = disable this feature)
  565. unequip_vl: 20
  566.  
  567. # Violation Thresholds
  568. # number_of_violations: '<command>'
  569. commands:
  570. 10: 'matrix notify %player% suspected using elytra flight'
  571. 30: 'matrix kick %player% Elytra Flight'
  572. 40: 'matrix tempban %player% 5D Elytra Flight Hacks'
  573.  
  574. ## Vehicle
  575. # Checks prevents player using VehicleFlight, VehicleSpeed, EntitySpeed..
  576. # Only works for 1.9+
  577. vehicle:
  578. # Enable this check?
  579. enable: true
  580. # Prevent players from using certain creatures as vehicles
  581. # All entity types: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
  582. deny_entity_types_as_vehicle:
  583. - ''
  584.  
  585. # Vehicle Speed/ Entity Speed
  586. speed:
  587. # Enable this modules?
  588. enable: true
  589.  
  590. # setback VL (-1 = disable setback)
  591. setback_vl: 2
  592.  
  593. # Vehicle Flight / Boat Flight
  594. flight:
  595. # Enable this modules?
  596. enable: true
  597.  
  598. # setback vl (-1 = never setback)
  599. setback_vl: 4
  600.  
  601. # leave vehicle vl (-1 = never leave vehicle)
  602. leave_vehicle: 10
  603.  
  604. # Violation Thresholds
  605. # number_of_violations: '<command>'
  606. commands:
  607. 5: 'matrix notify %player% suspected using vehicle cheat'
  608. 15: 'matrix kick %player% Suspicious vehicle movement'
  609. 20: 'matrix tempban %player% 5D Suspicious vehicle movement'
  610.  
  611. ## XRay
  612. # Prevents player using XRay hacks by analysing player's behavior
  613. # (not analyse/limit the ore amount)
  614. # It might cause server lag if your server have many players
  615. xray:
  616. # Enable this check?
  617. enable: true
  618.  
  619. # Credibility threshold
  620. credibility_threshold: 80.0
  621.  
  622. # Credibility cache size
  623. # Larger size -> detect slower, but less false positives
  624. cache_size: 2
  625.  
  626. # Violation Weight
  627. vl_weight: 5
  628.  
  629. # Violation Thresholds
  630. # number_of_violations: '<command>'
  631. commands:
  632. 5: 'matrix notify %player% suspected using X-Ray'
  633. 12: 'matrix kick %player% X-Ray Hacks'
  634. 15: 'matrix tempban %player% X-RAY Hacks'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement