Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.46 KB | None | 0 0
  1. #### AAC Config (Generated by AAC 4.0.0)
  2. #
  3. # Hey there,
  4. # Welcome to AAC's configuration file.
  5. # I've commented the entire thing heavily so every option is easy to understand.
  6. # If you want a simple place to start, feel free to check out the "Common changes" section below.
  7. # Feel free to read through the descriptions of checks and options and change them to suit your server.
  8. # I hope that AAC will perform well and live up to your expectations.
  9. # ~ konsolas
  10. #
  11. # How violations work:
  12. # - When a player fails a check in AAC, it generates a "violation" which describes what went wrong, and what was
  13. # expected.
  14. # - Details about this violation, along with player data, server tps, etc. are saved to a log file in plugins/AAC/logs,
  15. # with a millisecond-precision timestamp.
  16. # - The check then generates a number based on options in this config and the details of what happened. If the
  17. # violation was more severe, the check will generate a bigger number.
  18. # - This number is added onto a player's "violation level", or "VL". A player's VL also decays over time when they
  19. # play without failing checks in AAC. A player has a separate VL for each check.
  20. #
  21. # How mitigation works:
  22. # - Many checks in AAC can not only detect a cheater, but also mitigate their actions.
  23. # - For example, AAC can teleport a flying player down, restore blocks broken too quickly, block attacks which are
  24. # suspicious, and temporarily block bow use, to name a few.
  25. # - Mitigation can be disabled by setting "mitigation.enabled" to false. AAC will continue checking, and will also
  26. # continue performing threshold actions, but the check will stop influencing the player's gameplay.
  27. # - Mitigation can be configured to only start after a certain VL is reached. This is set by the "min_vl" option, and
  28. # is useful to prevent random lag from significantly affecting gameplay.
  29. #
  30. # How decay works:
  31. # - The decay option in every check allows you to decide how fast violations should go down for each check.
  32. # - The "interval" option is the time in ticks between VL reductions.
  33. # - The "delay" option is the time in ticks that AAC waits after a violation before starting to reduce the VL.
  34. # - The "amount" option is the amount that AAC reduces the VL after each interval passes.
  35. #
  36. # How thresholds work:
  37. # - Each check has a section labelled "thresholds". This consists of a list of "threshold actions", each of which is a
  38. # number paired with a command or list of commands.
  39. # - When a player's VL (see above) for a check goes above the number, or "threshold" for a threshold action, the
  40. # threshold action is triggered and the command is executed.
  41. # - The command won't be executed again until the player's VL decays below that number, and then rises above it again.
  42. # - If there are multiple commands in the same threshold action, they are all executed in the order they appear.
  43. #
  44. # Common changes:
  45. # - Changing messages:
  46. # -> All messages sent by AAC are part of a threshold action (see above) tied to an "aac notify" command.
  47. # -> You can localise these messages by changing the relevant command.
  48. # - Reducing teleports or setbacks:
  49. # -> Move and Timer are the main checks which set back for movement.
  50. # -> Change move.mitigation.min_vl or timer.mitigation.min_vl to a higher value, or increase the decay.
  51. # -> By default, Move employs "strict" and "direction" checking.
  52. # -> "strict" checking permits AAC to check if players move too slowly.
  53. # -> "direction" checking permits AAC to compare a movement with the direction the player is facing.
  54. # -> These can be disabled for specific scenarios, e.g. only on elytras, or only in water.
  55. # -> Timer can be affected by severe network lag.
  56. # -> You can increase timer.max_extra, but cheaters will be able to fake lag (e.g. with Blink) for longer.
  57. # - Improving hit detection:
  58. # -> Hitbox sometimes cancels hits if a player is laggy.
  59. # -> You can increase hitbox.max_reach to reduce reach violations for laggy players.
  60. # -> You can increase hitbox.mitigation.min_vl so players are less likely to have their hits cancelled.
  61. # -> For serious PVP servers, the killaura check could affect PVP because it very slightly changes entity hitboxes.
  62. # -> You may need to set killaura.normal -> -1 to disable the hitbox adjustment feature if this is a problem.
  63. # -> You can also disable mitigation for both killaura and hitbox for AAC to detect cheaters silently.
  64. # - Changing kicks:
  65. # -> Kicks are caused by a threshold action tied to a /kick command.
  66. # -> You can remove the threshold action with a /kick command for a check to disable kicking.
  67. # -> You can increase the threshold for the threshold action to make kicking more lenient.
  68. # -> You can reduce the threshold for the threshold action to make kicking more strict.
  69. # - Other:
  70. # -> Look in the logs for a timestamp that matches a problem that you've experienced.
  71. # -> Find out which check was failed.
  72. # -> Locate that check in this config file.
  73. # -> Look for a relevant option, and change it as described by the comment.
  74. # -> If you can't solve the issue, please check out the issue tracker or discord server for support.
  75. #
  76. # The "Move" check:
  77. # - As of AAC 4, Fly, Speed, Elytra and Vehicles have all been merged together into Move.
  78. # - Detection is performed by comparing a player's movement with simulations of a legitimate client's movement:
  79. # -> Move is able to detect some cheats which don't appear movement related at first:
  80. # -> Many killauras will fail Move if "direction" and "strict" are turned on, as a result of silent aim.
  81. # -> Velocity reduction cheats may fail move. (the Velocity check will still detect 0 velocity)
  82. # -> Move uses a robust setback system which aims to correct movement rather than block it entirely.
  83. #
  84. # The configurable commands will replace {player}, {ping}, {tps}, {world} and {server} with their in-game values.
  85. # You can run multiple commands on a single threshold by creating 2 (or more) entries with the same key:
  86. # thresholds:
  87. # 10:
  88. # - "broadcast {player} was kicked for cheating"
  89. # - "kick {player} cheating"
  90. #
  91. # The configuration file follows:
  92.  
  93. # Criticals stops players from performing critical hits whilst on the ground
  94. criticals:
  95. enabled: true
  96.  
  97. # Should AAC detect clients that perform minijumps to get critical hits?
  98. check_minijump: true
  99.  
  100. # Control how the violation level decays over time
  101. decay:
  102. interval: 100
  103. delay: 100
  104. amount: 1
  105.  
  106. # Control how AAC mitigates a cheater's actions
  107. mitigation:
  108. enabled: true
  109. min_vl: 0
  110.  
  111. # Control actions taken upon reaching certain violation levels
  112. thresholds:
  113. 0: "eac {player} uzyskuje niemożliwe trafienia krytyczne. (ping {ping}, tps {tps})"
  114. 1: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  115.  
  116. # FastBow stops players from shooting arrows too quickly
  117. fastbow:
  118. enabled: true
  119.  
  120. # How lenient should AAC be when measuring bow drawback times? (milliseconds)
  121. lenience: 200
  122.  
  123. # Control how the violation level decays over time
  124. decay:
  125. interval: 100
  126. delay: 100
  127. amount: 1
  128.  
  129. # Control how AAC mitigates a cheater's actions
  130. mitigation:
  131. enabled: true
  132. min_vl: 5
  133.  
  134. # Control actions taken upon reaching certain violation levels
  135. thresholds:
  136. 3: "eac {player} strzela za szybko. (ping {ping}, tps {tps})"
  137. 10: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  138.  
  139. # FastUse stops players from consuming items too quickly
  140. fastuse:
  141. enabled: true
  142.  
  143. # How long should AAC require item consumption to take? (milliseconds)
  144. min_consumption_time: 1200
  145.  
  146. # Control how the violation level decays over time
  147. decay:
  148. interval: 100
  149. delay: 100
  150. amount: 1
  151.  
  152. # Control how AAC mitigates a cheater's actions
  153. mitigation:
  154. enabled: true
  155. min_vl: 5
  156.  
  157. # Control actions taken upon reaching certain violation levels
  158. thresholds:
  159. 3: "eac {player} je za szybko. (ping {ping}, tps {tps})"
  160. 10: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  161.  
  162. # FightSpeed stops players from attacking too quickly
  163. fightspeed:
  164. enabled: true
  165.  
  166. # How many hits per second should AAC limit players to?
  167. max_hit: 11
  168.  
  169. # How many swings per second should AAC limit players to?
  170. max_swing: 35
  171.  
  172. # Should AAC check for players that are attacking too consistently?
  173. check_consistency: true
  174.  
  175. # How consistent do attacks need to be for AAC to consider them suspicious? (milliseconds)
  176. consistency_threshold: 30
  177.  
  178. # Control how the violation level decays over time
  179. decay:
  180. interval: 100
  181. delay: 100
  182. amount: 1
  183.  
  184. # FightSpeed does not support mitigation
  185.  
  186. # Control actions taken upon reaching certain violation levels
  187. thresholds:
  188. 3: "eac {player} atakuje za szybko. (ping {ping}, tps {tps})"
  189. 10: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  190.  
  191. # Hitbox forces players to look at entities that they want to attack
  192. hitbox:
  193. enabled: true
  194.  
  195. # How much more lenient should AAC be when a player is attacking a mob? (blocks)
  196. mob_lenience: 0.65
  197.  
  198. # What should AAC limit a player's attack reach to? (blocks)
  199. max_reach: 3.0
  200.  
  201. # Control how the violation level decays over time
  202. decay:
  203. interval: 50
  204. delay: 20
  205. amount: 1
  206.  
  207. # Control how AAC mitigates a cheater's actions
  208. mitigation:
  209. enabled: true
  210. min_vl: 30
  211.  
  212. # Control actions taken upon reaching certain violation levels
  213. thresholds:
  214. 20: "eac {player} jest podejrzany o posiadanie reach/killaury. (Hitbox) (ping {ping}, tps {tps})"
  215. 50: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  216.  
  217. # Killaura detects modifications that create an unfair advantage in combat
  218. killaura:
  219. enabled: true
  220.  
  221. # AAC has a few different methods of detecting Killaura.
  222. # How much should the violation level be increased for each of these methods?
  223. modules:
  224. natural: 2
  225. round: 4
  226. split: 9
  227. sporadic: 4
  228. stable: 3
  229. switch: 2
  230. angle: 0
  231. click: 4
  232. miss: 3
  233. tick: 6
  234. yaw: 2
  235. normal: 1
  236. action: 5
  237. look: 8
  238. timing: 5
  239. accel: 3
  240. accuracy: 10
  241. pattern: 6
  242.  
  243. # Control how the violation level decays over time
  244. decay:
  245. interval: 20
  246. delay: 20
  247. amount: 1
  248.  
  249. # Control how AAC mitigates a cheater's actions
  250. mitigation:
  251. enabled: true
  252. min_vl: 30
  253.  
  254. # Control actions taken upon reaching certain violation levels
  255. thresholds:
  256. 20: "eac {player} jest podejrzany o posiadanie killaury. (Heuristics) (ping {ping}, tps {tps})"
  257. 50: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  258.  
  259. # Regen stops players from regenerating health too quickly
  260. regen:
  261. enabled: true
  262.  
  263. # What delay should AAC enforce between regeneration attempts? (milliseconds)
  264. min_regen_delay: 3600
  265.  
  266. # Players can regenerate faster on MC 1.9+ if they are fully satiated.
  267. # What delay should AAC enforce if this is the case? (milliseconds)
  268. min_satiated_delay: 450
  269.  
  270. # Control how the violation level decays over time
  271. decay:
  272. interval: 20
  273. delay: 100
  274. amount: 1
  275.  
  276. # Control how AAC mitigates a cheater's actions
  277. mitigation:
  278. enabled: true
  279. min_vl: 1
  280.  
  281. # Control actions taken upon reaching certain violation levels
  282. thresholds:
  283. 2: "eac {player} regeneruje życie za szybko. (ping {ping}, tps {tps})"
  284.  
  285. # Derp detects illegal rotations sent by players
  286. derp:
  287. enabled: false
  288.  
  289. # Control how the violation level decays over time
  290. decay:
  291. interval: 20
  292. delay: 20
  293. amount: 1
  294.  
  295. # Derp does not support mitigation
  296.  
  297. # Control actions taken upon reaching certain violation levels
  298. thresholds:
  299. 0: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  300.  
  301. # Move controls player movement
  302. # NOTE: The strict setting also allows Move to detect a number of different combat cheats.
  303. move:
  304. enabled: false
  305.  
  306. # Which client versions should AAC account for the possibility of?
  307. # For example, players can swim faster in MC 1.13+.
  308. # It is usually sufficient to just select 1.8 and 1.13, as movement between 1.9-1.12 is sufficiently similar to 1.8
  309. # If you don't use ProtocolSupport or ViaVersion, specifying only your server version here will improve performance.
  310. simulate_versions:
  311. - "1.8"
  312. - "1.13"
  313.  
  314. # Control how AAC checks movements in general.
  315. normal:
  316. # Control how AAC checks movement along the horizontal axes.
  317. xz:
  318. # Should AAC check that players are moving in the right direction?
  319. direction: true
  320.  
  321. # Should AAC stop players from moving too slowly? Setting this to false also disables direction checking.
  322. strict: true
  323.  
  324. # How lenient should AAC be when checking?
  325. tolerance: 0.001
  326.  
  327. # Control how AAC checks movement along the vertical axis.
  328. y:
  329. # Strict/Direction checking cannot be disabled for vertical movement as this would trivially allow flight.
  330.  
  331. # How lenient should AAC be when checking?
  332. tolerance: 0.001
  333.  
  334. # Control how AAC checks movements in water.
  335. water:
  336. # Control how AAC checks movement along the horizontal axes.
  337. xz:
  338. # Should AAC check that players are moving in the right direction?
  339. direction: true
  340.  
  341. # Should AAC stop players from moving too slowly? Setting this to false also disables direction checking.
  342. strict: true
  343.  
  344. # How lenient should AAC be when checking?
  345. tolerance: 0.001
  346.  
  347. # How much should AAC allow flowing water to accelerate a player?
  348. flowing: 0.1
  349.  
  350. # Control how AAC checks movement along the vertical axis.
  351. y:
  352. # Should AAC check that players are moving in the right direction?
  353. direction: true
  354.  
  355. # Should AAC stop players from moving too slowly? Setting this to false also disables direction checking.
  356. strict: true
  357.  
  358. # How lenient should AAC be when checking?
  359. tolerance: 0.001
  360.  
  361. # How much should AAC allow bubble columns to accelerate a player?
  362. bubble_column: 1.8
  363.  
  364. # Control how AAC checks movements while using the elytra.
  365. elytra:
  366. # Control how AAC checks movement along the horizontal axes.
  367. xz:
  368. # Should AAC check that players are moving in the right direction?
  369. direction: true
  370.  
  371. # Should AAC stop players from moving too slowly? Setting this to false also disables direction checking.
  372. strict: true
  373.  
  374. # How lenient should AAC be when checking?
  375. tolerance: 0.001
  376.  
  377. # Control how AAC checks movement along the vertical axis.
  378. y:
  379. # Should AAC check that players are moving in the right direction?
  380. direction: true
  381.  
  382. # Should AAC stop players from moving too slowly? Setting this to false also disables direction checking.
  383. strict: true
  384.  
  385. # How lenient should AAC be when checking?
  386. tolerance: 0.001
  387.  
  388. # Control how AAC checks movements when on a vehicle
  389. vehicle:
  390. xz:
  391. # Direction checking and strict checking cannot be enabled for vehicles along the x/z axes
  392.  
  393. # How lenient should AAC be when checking?
  394. tolerance: 0.01
  395. y:
  396. # Strict checking cannot be enabled for vehicles along the y axis
  397.  
  398. # Should AAC check that players are moving in the right direction?
  399. direction: true
  400.  
  401. # How lenient should AAC be when checking?
  402. tolerance: 0.01
  403.  
  404. # Control how AAC checks small movements.
  405. # AAC disables both strict and direction checking briefly if a player slows down significantly or comes to a stop.
  406. small:
  407. # How small does a movement need to be to be counted as a significant slowdown? (blocks)
  408. threshold: 0.0625
  409.  
  410. # How much faster should a player be able to move after an initial small movement?
  411. multiplier: 1.0
  412.  
  413. # How lenient should AAC be when checking?
  414. tolerance: 0.001
  415.  
  416. # Control how AAC checks movement when velocity is applied
  417. velocity:
  418. # AAC can check for players which attempt to ignore velocity entirely, rather than just reducing it
  419. anti:
  420. # Should AAC check for anti-velocity (Move will still check for velocity reduction with this turned off)
  421. enabled: true
  422.  
  423. # How long should AAC wait for a player to send the correct velocity? (milliseconds)
  424. wait_time: 10000
  425.  
  426. # How far should AAC send a player back if mitigation is enabled? (ticks)
  427. setback_ticks: 20.0
  428.  
  429. # Control how the violation level decays over time
  430. decay:
  431. interval: 1
  432. delay: 20
  433. amount: 1
  434.  
  435. # Control how AAC mitigates a cheater's actions
  436. mitigation:
  437. enabled: true
  438. min_vl: 100
  439.  
  440. # Control actions taken upon reaching certain violation levels
  441. thresholds:
  442. 100: "eac {player} wydaje się poruszać nieprawidłowo. (ping {ping}, tps {tps})"
  443. 2000: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  444.  
  445. # NoFall stops players from avoiding fall damage
  446. nofall:
  447. enabled: true
  448.  
  449. # Control how the violation level decays over time
  450. decay:
  451. interval: 25
  452. delay: 50
  453. amount: 1
  454.  
  455. # Control how AAC mitigates a cheater's actions
  456. mitigation:
  457. enabled: true
  458. min_vl: 0
  459.  
  460. # Control actions taken upon reaching certain violation levels
  461. thresholds:
  462. 10: "eac {player} może próbować uniknąć obrażeń od upadku. (ping {ping}, tps {tps})"
  463. 50: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  464.  
  465. # Phase stops players from moving through solid walls
  466. phase:
  467. enabled: true
  468.  
  469. # Which blocks should AAC treat as air? This can be used to allow cross-version compatibility.
  470. exclude:
  471. # Incorrect hitboxes on 1.8 servers
  472. - "ANVIL"
  473. - "CHEST"
  474. - "ENDER_CHEST"
  475. - "TRAPPED_CHEST"
  476. - "SOIL"
  477. - "HUGE_MUSHROOM_1"
  478. - "STAINED_CLAY"
  479. # Entity hitboxes
  480. - "AIR"
  481. - "STATIONARY_WATER"
  482. - "WATER"
  483. - "STATIONARY_LAVA"
  484. - "LAVA"
  485. # Protocol hack hitboxes
  486. - "WATER_LILY"
  487. - "LILY_PAD"
  488. # Moving pistons
  489. - "PISTON_MOVING_PIECE"
  490.  
  491. # Control how the violation level decays over time
  492. decay:
  493. interval: 20
  494. delay: 20
  495. amount: 1
  496.  
  497. # Control how AAC mitigates a cheater's actions
  498. mitigation:
  499. enabled: true
  500. min_vl: 0
  501.  
  502. # Control actions taken upon reaching certain violation levels
  503. thresholds:
  504. 50: "eac {player} może próbować przechodzić przez ściany. (ping {ping}, tps {tps})"
  505.  
  506. # Timer stops players from performing actions too quickly by speeding up time
  507. timer:
  508. enabled: false
  509.  
  510. # How much lag should AAC compensate for when checking? (ticks)
  511. min_balance: -20
  512.  
  513. # How many extra packets should AAC limit a player to?
  514. max_extra: 15
  515.  
  516. # Control how the violation level decays over time
  517. decay:
  518. interval: 20
  519. delay: 20
  520. amount: 1
  521.  
  522. # Control how AAC mitigates a cheater's actions
  523. mitigation:
  524. enabled: true
  525. min_vl: 5
  526.  
  527. # Control actions taken upon reaching certain violation levels
  528. thresholds:
  529. 100: "eac {player} próbuje przyspieszyć czas. (ping {ping}, tps {tps})"
  530. 1000: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  531.  
  532. # BadPackets checks for invalid packets
  533. badpackets:
  534. enabled: false
  535.  
  536. # Should AAC check for player ability packets
  537. check_abilities: true
  538.  
  539. # How many times should a player be allowed to toggle use item in one second?
  540. max_use_toggle: 20
  541.  
  542. # How many times should a player be allowed to toggle sneak in one second?
  543. max_sneak_toggle: 10
  544.  
  545. # Control how the violation level decays over time
  546. decay:
  547. interval: 20
  548. delay: 20
  549. amount: 1
  550.  
  551. # BadPackets does not support mitigation
  552.  
  553. # Control actions taken upon reaching certain violation levels
  554. thresholds:
  555. 50: "eac {player} wysyła nieprawidłowe pakiety. (ping {ping}, tps {tps})"
  556. 100: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  557.  
  558. # FastBreak stops players from breaking blocks too quickly
  559. fastbreak:
  560. enabled: true
  561.  
  562. # Should AAC check for a delay between successive block break attempts?
  563. check_delay: true
  564.  
  565. # How lenient should AAC be when checking? (ticks)
  566. tolerance: 4
  567.  
  568. # Control how the violation level decays over time
  569. decay:
  570. interval: 20
  571. delay: 20
  572. amount: 1
  573.  
  574. # Control how AAC mitigates a cheater's actions
  575. mitigation:
  576. enabled: true
  577. min_vl: 5
  578.  
  579. # Control actions taken upon reaching certain violation levels
  580. thresholds:
  581. 5: "eac {player} zbyt szybko niszczy bloki. (ping {ping}, tps {tps})"
  582. 20: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  583.  
  584. # FastPlace stops players from placing blocks too quickly
  585. fastplace:
  586. enabled: true
  587.  
  588. # What should AAC limit block placement to?
  589. max_place_per_second: 12
  590.  
  591. # Control how the violation level decays over time
  592. decay:
  593. interval: 20
  594. delay: 20
  595. amount: 1
  596.  
  597. # Control how AAC mitigates a cheater's actions
  598. mitigation:
  599. enabled: true
  600. min_vl: 5
  601.  
  602. # Control actions taken upon reaching certain violation levels
  603. thresholds:
  604. 5: "eac {player} zbyt szybko niszczy bloki. (ping {ping}, tps {tps})"
  605. 20: "kick {player} Zostałeś wyrzucony przez nasz antycheat."
  606.  
  607. # Interact detects a number of impossible actions that a hacked client could perform.
  608. interact:
  609. enabled: true
  610.  
  611. # Should AAC detect suspicious block placements?
  612. check_suspicious_block: true
  613.  
  614. # Should AAC check if a player interacts with a block out of their line of sight?
  615. check_interact: true
  616.  
  617. # Should AAC check if a player interacts whilst dead?
  618. check_dead: true
  619.  
  620. # Should AAC check if a player breaks a block out of their line of sight?
  621. check_break: true
  622.  
  623. # Should AAC check if a player incorrectly interacts with a liquid?
  624. check_liquids: true
  625.  
  626. # Should AAC check if a player places a block out of their line of sight?
  627. check_place: true
  628.  
  629. # Should AAC check if a player opens an inventory out of their line of sight?
  630. check_inventory: true
  631.  
  632. # Should AAC check if a player attacks an entity behind a wall?
  633. check_attack: true
  634.  
  635. # Should AAC check if a player attacks while using an item?
  636. check_item_attack: true
  637.  
  638. # Control how the violation level decays over time
  639. decay:
  640. interval: 20
  641. delay: 10
  642. amount: 1
  643.  
  644. # Control how AAC mitigates a cheater's actions
  645. mitigation:
  646. enabled: true
  647. min_vl: 10
  648.  
  649. # Control actions taken upon reaching certain violation levels
  650. thresholds:
  651. 10: "eac {player} wykonuje podejrzane interakcje."
  652.  
  653. # Should AAC use a log file?
  654. log_file: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement