Advertisement
ItsMetri

AAC Config 32

Apr 28th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.51 KB | None | 0 0
  1. #### AAC Config
  2. #
  3. # NOTE: Most of the values here have been tried and tested to work.
  4. # It is not recommended that you change them unless you are
  5. # getting false positives.
  6. #
  7. # It would be a good idea to make sure the false positives you're getting aren't actually hackers....
  8. #
  9. #
  10. # The configurable commands will replace "{player}" with the name of the player.
  11. # You can run multiple commands on a single threshold by creating 2 entries with the same key:
  12. # thresholds:
  13. # 10:
  14. # - "broadcast {player} was kicked for hacking"
  15. # - "kick {player} hacking"
  16. #
  17. # Be sure to check language.yml for configuration regarding staff chat, etc.
  18.  
  19. # Hitbox forces players to look at entities they want to attack.
  20. hitbox:
  21. # Do you want to enable the angle check
  22. enabled: true
  23.  
  24. # How much should AAC expand hitboxes by?
  25. lenience: 0.6
  26.  
  27. # Should AAC cancel illegal hits?
  28. cancel: true
  29.  
  30. # How far should a player be able to reach?
  31. # The effective maximum mid-to-mid reach is the sum of:
  32. # - max_dist
  33. # - sqrt(2 * lenience * lenience)
  34. # - 0.3
  35. # - target_entity_hitbox_width / 2
  36. max_dist: 2.6
  37.  
  38. # Minimum number of violations before AAC starts cancelling hits
  39. min_vl: 1
  40.  
  41. # Map of violation levels to commands
  42. thresholds:
  43. 8: "aacstaffnotify {player} is suspected for Killaura (Hitbox) (ping = {ping}, tps = {tps})"
  44. 20: "aacstaffnotify {player} is suspected for Killaura (Hitbox) #2 (ping = {ping}, tps = {tps})"
  45.  
  46. # BadPackets prevents players from using packets to exploit the server
  47. badpackets:
  48. # Do you want to enable the badpackets check
  49. enabled: true
  50.  
  51. # After how many moves should packets be cancelled?
  52. # A lower value reduces the possibility of blinking and exploits and improves performance.
  53. # A higher value will reduce the number of false positives. This should always be above 3.
  54. cancel_threshold: 30
  55.  
  56. # How many moves should a player be able to send in 3 ticks
  57. # An unmodified client should send 3 moves in 3 ticks. Be sure to think about lag
  58. # The violation value will be increased by (how many packets the player sends - max_moves) / 2
  59. max_moves: 10
  60.  
  61. # Map of violation levels to commands
  62. thresholds:
  63. 90: "aacstaffnotify {player} is trying to speed up time (ping = {ping}, tps = {tps})"
  64. 150: "aackick {player} Suspicious activity"
  65.  
  66. # Criticals prevents players from getting critical hits when it's not possible
  67. criticals:
  68. # Do you want to enable the criticals check?
  69. enabled: true
  70.  
  71. # Should a hit be cancelled if it is a critical and the player is on the ground?
  72. cancel_false_hit: true
  73.  
  74. # How many ticks should AAC enforce between jumps
  75. jump_delay: 5
  76.  
  77. # Map of violation levels to commands
  78. thresholds:
  79. 3: "aacstaffnotify {player} is suspected for Criticals (ping = {ping}, tps = {tps})"
  80. 8: "aackick {player} Incorrect movement (Criticals hacking?)"
  81.  
  82. # Fastbow prevents players from shooting their bow too quickly
  83. fastbow:
  84. # Do you want to enable the fastbow check
  85. enabled: true
  86.  
  87. # How much lag compensation should AAC perform when checking for fastbow?
  88. lenience_ms: 130
  89.  
  90. # Map of violation levels to commands
  91. thresholds:
  92. 3: "aacstaffnotify {player} is suspected for FastBow (ping = {ping}, tps = {tps})"
  93. 10: "aackick {player} Shooting arrows too quickly"
  94.  
  95. # FightSpeed prevents players from attacking too quickly
  96. fightspeed:
  97. # Do you want to enable the fightspeed check
  98. enabled: true
  99.  
  100. # How many times should a player be able to attack in 1 second
  101. # NoCheatPlus's fightspeed check allows 15 hits per second
  102. max_hits_per_second: 19
  103.  
  104. # How many times should a player be allowed to interact in 1 second
  105. max_interact_per_second: 50
  106.  
  107. # Should fightspeed check for consistent click speed
  108. consistent_check: true
  109.  
  110. # Map of violation levels to commands
  111. thresholds:
  112. 10: "aacstaffnotify {player} is suspected for AutoClicker (FightSpeed) (ping = {ping}, tps = {tps})"
  113. 17: "aackick {player} Strange click speed. (AutoClicker? Macros?)"
  114.  
  115. # Fly prevents players in survival mode from flying
  116. fly:
  117. # Do you want to enable the fly check
  118. enabled: true
  119.  
  120. # How strongly should AAC enforce fall speeds (smaller values are more accurate)
  121. tolerance: 0.015
  122. e_tolerance: 0.2
  123.  
  124. # Multiplier of violation size to be added to VL level
  125. vl_multiplier: 6.0
  126.  
  127. # Minimum violation level for a player to be teleported down. Only if teleport is true
  128. min_vl: 12
  129.  
  130. # Ticks after velocity a player should be immune to the glide check
  131. vel_ticks: 12
  132.  
  133. # Teleport the player down if detected?
  134. teleport: true
  135.  
  136. # Check for invalid abilities packets?
  137. abilities: true
  138.  
  139. # How many ticks should AAC wait before reducing a player's violation level
  140. reduce_delay: 20
  141.  
  142. # Map of violation levels to commands
  143. thresholds:
  144. 120: "aacstaffnotify {player} is suspected for Fly (ping = {ping}, tps = {tps})"
  145. 210: "aacstaffnotify {player} is suspected for Fly #2 (ping = {ping}, tps = {tps}"
  146. 300: "aackick {player} Moved unexpectedly"
  147.  
  148. # Speed prevents players in survival mode from moving too quickly
  149. speed:
  150. # Do you want to enable the speed check
  151. enabled: true
  152.  
  153. # Maximum amount (in blocks) a player should be allowed to go over a calculated limit.
  154. threshold: 0.005
  155.  
  156. # Duration of time AAC should compensate for velocity (ticks). This is basically lag compensation.
  157. vel_ticks: 12
  158.  
  159. # Should AAC use movement counting to prevent clients from bypassing by sending too many moves?
  160. use_move_counting: true
  161.  
  162. # Multiplier of violation size to be added to VL level
  163. vl_multiplier: 6.0
  164.  
  165. # How many moves per second should be assumed as legitimate? (NCP = 22)
  166. max_moves: 22
  167.  
  168. # Custom modifiers for anti-timer, averaging over a longer period of time
  169. custom:
  170. # Second line of defense over timer. Slow, but practically unbypassable.
  171. enabled: true
  172. # Max moves per second
  173. max_moves: 21.0
  174. # Ticks to take an average over
  175. time: 150
  176.  
  177. # How many times should a player be allowed to toggle sneak in a second
  178. max_sneak_toggles: 15
  179.  
  180. # How many times should a player be allowed to toggle use in a second
  181. max_use_toggles: 35
  182.  
  183. # How many violations before a player will start being teleported
  184. min_vl: 25
  185.  
  186. # How many ticks should AAC wait before reducing a player's violation level
  187. reduce_delay: 20
  188.  
  189. # Specific configuration options. Don't touch these unless you know what you're doing.
  190. #item_scalar: 0.5
  191. #sneak_scalar: 0.63
  192.  
  193. # Map of violation levels to commands
  194. thresholds:
  195. 60: "aacmessage {player} It looks like you might be glitching, please tap sneak and block with your sword"
  196. 150: "aacstaffnotify {player} is suspected for Speed hacking (ping = {ping}, tps = {tps})"
  197. 210: "aackick {player} Moved too quickly"
  198.  
  199. # Derp stops some forms of derp hacking.
  200. derp:
  201. # Do you want to enable the derp check
  202. enabled: true
  203.  
  204. # Map of violation levels to commands
  205. thresholds:
  206. 1: "aackick {player} Illegal position"
  207.  
  208. # Knockback checks if the player moves after he is hit
  209. # Obsolete, see the velocity check
  210. knockback:
  211. # Do you want to enable the knockback check
  212. enabled: false
  213.  
  214. # legacy configuration
  215. tick_delay: 9
  216. add_ping: true
  217. max_ping: 500
  218. min_knockback_dist: 0.01
  219. min_knockback_time: 2
  220.  
  221. thresholds:
  222. 9: "aacstaffnotify {player} is suspected for Anti-Knockback (ping = {ping}, tps = {tps})"
  223. 16: "aackick {player} Not taking knockback"
  224.  
  225. # NoSwing makes sure players swing their arm when attacking
  226. noswing:
  227. # Do you want to enable the noswing check
  228. enabled: true
  229.  
  230. # Map of violation levels to commands
  231. thresholds:
  232. 20: "aacstaffnotify {player} is not swinging their arm (ping = {ping}, tps = {tps})"
  233. 40: "aackick {player} Not swinging arm"
  234.  
  235. # Regen directly stops players from healing too quickly
  236. regen:
  237. # Do you want to enable the regen check
  238. enabled: true
  239.  
  240. # Should AAC cancel regeneration if it happens too quickly?
  241. cancel_regen: true
  242.  
  243. # What delay should AAC force between regeneration?
  244. min_regen_delay: 3600
  245.  
  246. # What delay should AAC force if the player is fully satiated
  247. min_satiated_delay: 450
  248.  
  249. # Map of violation levels to commands
  250. thresholds:
  251. 10: "aacstaffnotify {player} is suspected for Regen (ping = {ping}, tps = {tps})"
  252. 30: "aackick {player} Regenerating health too quickly"
  253.  
  254. # Killaura detects combat hacks which give an unfair advantage
  255. killaura:
  256. # Do you want to enable the killaura check
  257. enabled: true
  258.  
  259. # What % of the time should AAC do a check?
  260. check_chance: 100
  261.  
  262. # Lag compensation paramters - try not to break
  263. check_delay: 3
  264. listen_delay: 6
  265.  
  266. # How far away must 2 players be to be checked?
  267. min_dist: 1.2
  268.  
  269. # How long should the check last?
  270. duration: 20
  271.  
  272. # How much should the check be weighted?
  273. weight: 4
  274.  
  275. # How far off should a player be able to look to allow the hit
  276. max_diff: 0.11
  277.  
  278. # How far should the player be allowed to reach during the check
  279. max_reach: 4.5
  280.  
  281. # Map of violation levels to commands
  282. thresholds:
  283. 25: "aacstaffnotify {player} is suspected for Killaura (Normal) (ping = {ping}, tps = {tps})"
  284. 40: "aackick {player} Killaura/triggerbot is not allowed"
  285.  
  286. # Heuristics are used by AAC to detect advanced killaura hacks that bypass normal checks
  287. heuristics:
  288. # Do you want to enable AAC's heuristic detection
  289. enabled: true
  290.  
  291. # Heuristic confidence required for a violation. This is calculated as a percentage from 0.0% to 100.0%.
  292. # Represents how likely a player is to be using killaura, based on heuristic analysis.
  293. # Constraints: 50 <= min_confidence < 100
  294. # 50% -> Detects practically every killaura/aimbot, including aimassists, but with many false positives.
  295. # 75% -> Detects practically every killaura. Fewer false positives, but may still exist.
  296. # 90% -> Detects most killauras, with practically no false positives.
  297. # 97% -> Detects only the most blatant killaura/multiaura hackers.
  298. min_confidence: 90
  299.  
  300. # List of patterns which should not incur a violation
  301. # Should be a 4 character string, usually "P/" followed by two digits
  302. exempt:
  303. - "P/00" # This is an example entry. Pattern P/00 does not exist.
  304.  
  305. # Map of violation levels to commands.
  306. # The heuristics check is different to other checks: higher violation level does not mean a higher chance of hacking
  307. # All violation levels are equal. The default threshold of 10 creates the effect of a delayed ban.
  308. thresholds:
  309. 1: "aacstaffnotify {player} is suspected for Killaura (Heuristic analysis) (ping = {ping}, tps = {tps})"
  310. 10: "aackick {player} Suspicious (killaura-like) combat"
  311.  
  312. # NoFall ensures players take fall damage
  313. nofall:
  314. # Do you want to enable the NoFall check
  315. enabled: true
  316.  
  317. # Minimum downwards velocity for NoFall to apply
  318. required_velocity: -0.2
  319.  
  320. # Should AAC deal fall damage to players?
  321. deal_damage: true
  322.  
  323. # Map of violation levels to commands
  324. thresholds:
  325. 10: "aacstaffnotify {player} is suspected for NoFall hacks (ping = {ping}, tps = {tps})"
  326. 30: "aackick {player} Suspicious activity midair"
  327.  
  328. # Jesus stops people from walking on water
  329. jesus:
  330. # Do you want to enable the Jesus check
  331. # Disabled by default - functionality covered by Speed/Fly
  332. enabled: false
  333.  
  334. # Should Jesus teleport players?
  335. teleport: true
  336.  
  337. # Map of violation levels to commands
  338. thresholds:
  339. 10: "aacstaffnotify {player} is suspected for Jesus hacks (ping = {ping}, tps = {tps})"
  340. 30: "aacstaffnotify {player} is very likely to be using Jesus hacks"
  341. 50: "aackick {player} Walking on water?"
  342.  
  343. # Phase stops people glitching through blocks
  344. phase:
  345. # Do you want to enable the Phase check
  346. enabled: true
  347.  
  348. # Which materials should be exempt from phase checking?
  349. # Items are included in this list due to potenital ViaVersion/cross version compatibility problems with 1.8
  350. # Should be entered exactly as seen on the Spigot Material enum.
  351. exclude:
  352. # Incorrect hitboxes in 1.8 servers
  353. - "ANVIL"
  354. - "CHEST"
  355. - "ENDER_CHEST"
  356. - "TRAPPED_CHEST"
  357. - "SOIL"
  358. # Entity hitboxes
  359. - "AIR"
  360. - "STATIONARY_WATER"
  361. - "WATER"
  362. - "STATIONARY_LAVA"
  363. - "LAVA"
  364. # Protocol hack hitboxes
  365. - "WATER_LILY"
  366. # Moving pistons
  367. - "PISTON_MOVING_PIECE"
  368.  
  369. # Map of violation levels to commands
  370. thresholds:
  371. 10: "aacstaffnotify {player} is suspected for Phase (ping = {ping}, tps = {tps})"
  372. 30: "aacstaffnotify {player} is suspected for Phase #2 (ping = {ping}, tps = {tps})"
  373.  
  374. # FastUse stops players consuming items too quickly
  375. fastuse:
  376. # Do you want to enable the FastUse check
  377. enabled: true
  378.  
  379. # What delay should AAC enforce for eating an item (ms)
  380. ms_to_use: 1200
  381.  
  382. # Map of violation levels to commands
  383. thresholds:
  384. 2: "aacstaffnotify {player} is suspected for FastEat hacks (ping = {ping}, tps = {tps})"
  385. 4: "aackick {player} Using items too quickly"
  386.  
  387. # FastBreak stops players from breaking blocks too quickly
  388. fastbreak:
  389. # Do you want to enable the fastbreak check?
  390. enabled: true
  391.  
  392. # How many ticks should fastbreak count as lag, and ignore
  393. let_ticks: 2
  394.  
  395. # Should AAC cancel an illegal block break?
  396. cancel_break: true
  397.  
  398. # Should AAC check for a break delay (i.e. between block breaks)
  399. check_delay: true
  400.  
  401. # How many violations before AAC starts cancelling block breaks?
  402. cancel_vl: 1
  403.  
  404. # Map of violation levels to commands
  405. thresholds:
  406. 10: "aacstaffnotify {player} is suspected for FastBreak hacks (ping = {ping}, tps = {tps})"
  407. 15: "aackick {player} Breaking blocks too fast"
  408.  
  409. # FastPlace stops players from placing blocks too quickly
  410. fastplace:
  411. # Do you want to enable the fastplace check?
  412. enabled: true
  413.  
  414. # How many blocks should a player be allowed to place in one second?
  415. max_place_per_second: 10
  416.  
  417. # Should AAC cancel an illegal block place?
  418. cancel_place: true
  419.  
  420. # How many violations before AAC starts cancelling block placements?
  421. cancel_vl: 2
  422.  
  423. # Map of violation levels to commands
  424. thresholds:
  425. 10: "aacstaffnotify {player} is suspected for FastPlace hacks (ping = {ping}, tps = {tps})"
  426. 20: "aackick {player} Placing blocks too fast"
  427.  
  428. # Nuker stops players from breaking too many blocks at once
  429. nuker:
  430. # Do you want to enable the nuker check?
  431. enabled: true
  432.  
  433. # How many blocks should a player be able to break in 1 second: vl if greater than this value
  434. max_breaks_per_second: 40
  435.  
  436. # The violation will only be recorded if it divides by this number (reduces spam)
  437. vl_divisor: 41
  438.  
  439. # Map of violation levels to commands
  440. thresholds:
  441. 5: "aacstaffnotify {player} is suspected for Nuker (ping = {ping}, tps = {tps})"
  442. 10: "aackick {player} Breaking too many blocks"
  443.  
  444. # Interact stops players interacting in impossible situations
  445. interact:
  446. # Do you want to enable the impossibleinteract check?
  447. enabled: true
  448.  
  449. # Detect interacting with liquids?
  450. cancel_liquids: true
  451.  
  452. # Detect ghosthand to interact with blocks?
  453. cancel_ghost_block: true
  454.  
  455. # Detect interacting whilst dead?
  456. cancel_dead: true
  457.  
  458. # Detect hitting whilst using an item?
  459. cancel_item_attack: true
  460.  
  461. # Detect hitting through walls?
  462. cancel_ghost_attack: true
  463.  
  464. # Violation before AAC starts cancelling interact when detecting ghosthand
  465. cancel_vl_interact: 5
  466. cancel_vl_place: 5
  467. cancel_vl_break: 0
  468.  
  469. # Map of violation levels to commands
  470. thresholds:
  471. 14: "aacstaffnotify {player} is interacting suspiciously (ping = {ping}, tps = {tps})"
  472. 25: "aacstaffnotify {player} is interacting suspiciously #2 (ping = {ping}, tps = {tps})"
  473.  
  474. # Velocity makes sure that players take proper knockback
  475. velocity:
  476. # Do you want to enable the velocity check
  477. enabled: true
  478.  
  479. # How many ticks should AAC check a player for? Higher values compensate for higher ping.
  480. check_length: 15
  481.  
  482. # What is the maximum distance AAC should teleport a detected player?
  483. # If this is zero, the detected player will not be teleported at all
  484. max_tp_dist: 3.0
  485.  
  486. # How many violations before AAC starts teleporting players who ignore velocity?
  487. min_vl: 5
  488.  
  489. # How much should AAC increase a player's violation level by on detection?
  490. vl_normal: 2
  491.  
  492. # If a player seems frozen (e.g. changing resource packs/lagging), how much should AAC increase their violation level?
  493. # 0 by default to prevent false positives with changing resource packs
  494. vl_no_packet: 0
  495.  
  496. # Map of violation levels to commands
  497. thresholds:
  498. 6: "aacstaffnotify {player} seems to be ignoring velocity"
  499. 12: "aackick {player} Not taking knockback"
  500.  
  501. # Spam prevents players from spamming the server chat
  502. spam:
  503. # Do you want to enable the spam check?
  504. enabled: true
  505.  
  506. # What words should not be covered by the anti-spam check?
  507. # messages less than 3 letters are already ignored
  508. whitelist:
  509. - "lol"
  510. - "hello"
  511. - "okay"
  512.  
  513. # How many messages should a player be able to send in 10 seconds
  514. message_limit: 4
  515.  
  516. # How fast can a player send messages (ticks)
  517. chat_speed: 10
  518.  
  519. # Map of violation levels to commands
  520. thresholds:
  521. 10: "aacstaffnotify {player} is probably spamming"
  522. 15: "aackick {player} Stop spamming, you sad person"
  523.  
  524. ### General things
  525.  
  526. # How many times must a player be kicked before he is banned (-1 for no autoban)
  527. # The kick command used must be /aackick for this to work.
  528. # Disabled by default.
  529. ban_threshold: -1
  530.  
  531. # What command should be executed when a player is banned (only applies for /aackick)
  532. ban_command: "aacban {player}"
  533.  
  534. # How long after a player is kicked should he be allowed to log in (ticks)
  535. kick_ticks: 120
  536.  
  537. # How long before a player leaves combat after dealing/taking damage
  538. combat_time: 50
  539.  
  540. # Should AAC kill combat loggers (combat_time)
  541. kill_loggers: false
  542.  
  543. # Should AAC log events to a file?
  544. log_file: true
  545.  
  546. # Should /aackick broadcast a message?
  547. aackick_broadcast: false
  548.  
  549. # Should AAC disable/enable checks dynamically? IF YOU HAVE PWP DISABLE
  550. usetps: true
  551.  
  552. # Enable verbose logging? This splits log output and pipes some to administrators. Not recommended for normal use.
  553. #verbose: false
  554. #log_console: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement