szumielxd

AAC-CFG

Dec 24th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.32 KB | None | 0 0
  1. #### AAC Config (Generated by AAC 3.3.9)
  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 trips 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 tripping checks in AAC. A player has a seperate VL for each check.
  20. #
  21. # How commands work:
  22. # - Each check has a section labelled "thresholds". This consists of a list of "threshold actions", each of which is a
  23. # number paired with a command or list of commands.
  24. # - When a player's VL (see above) for a check goes above the number, or "threshold" for a threshold action, the
  25. # threshold action is triggered and the command is executed.
  26. # - The command won't be executed again until the player's VL decays below that number, and then rises above it again.
  27. # - If there are multiple commands in the same threshold action, they are all executed in the order they appear.
  28. #
  29. # Common changes:
  30. # - Reducing teleports or setbacks:
  31. # -> Fly and Speed are the main checks which set back for movement.
  32. # -> Change fly.min_vl to a high value so players need to have a higher VL (see above) before being teleported.
  33. # -> Do the same for speed.min_vl.
  34. # - Improving hit detection:
  35. # -> Hitbox sometimes cancels hits if a player is laggy.
  36. # -> You can increase hitbox.move_compensation and/or max_reach to reduce reach violations for laggy players.
  37. # -> You can increase hitbox.lenience to relax how directly the attacker needs to look at their target.
  38. # -> You can increase hitbox.min_vl so players need to have a higher VL (see above) before having hits cancelled.
  39. # -> For hardcore PVP servers, the killaura check could affect PVP because it very slightly changes entity hitboxes.
  40. # -> You may need to set killaura.enabled -> false if this is a problem for your players.
  41. # - Changing kicks:
  42. # -> Kicks are caused by a threshold action tied to an /aackick command.
  43. # -> You can remove the threshold action with an /aackick command for a check to disable kicking.
  44. # -> You can increase the threshold for the threshold action to make kicking more lenient.
  45. # -> You can reduce the threshold for the threshold action to make kicking more strict.
  46. # - Other:
  47. # -> Look in the logs for a timestamp that matches a problem that you've experienced.
  48. # -> Find out which check was tripped.
  49. # -> Locate that check in this config file.
  50. # -> Look for a relevant option, and change it as described by the comment.
  51. # -> If you can't solve the issue, please check out the issue tracker or discord server for support.
  52. #
  53. # The configurable commands will replace {player}, {ping}, {tps} and {world} with their in-game values.
  54. # You can run multiple commands on a single threshold by creating 2 (or more) entries with the same key:
  55. # thresholds:
  56. # 10:
  57. # - "broadcast {player} was kicked for cheating"
  58. # - "kick {player} cheating"
  59. #
  60. # Be sure to check language.yml for configuration regarding messages, staff chat, etc.
  61.  
  62. # Hitbox forces players to look at entities they want to attack.
  63. hitbox:
  64. # Do you want to enable the hitbox check?
  65. enabled: true
  66.  
  67. # How much should AAC expand hitboxes by?
  68. lenience: 0.6
  69.  
  70. # Should AAC cancel illegal hits?
  71. cancel: true
  72.  
  73. # How far should a player be able to reach?
  74. # This value is added to the target entity hitbox size before being checked.
  75. max_reach: 3.7
  76.  
  77. # How much should AAC compensate for the movement of the target?
  78. # This only affects reach, not hitbox lenience.
  79. move_compensation: 6.0
  80.  
  81. # How many violations before AAC starts cancelling hits?
  82. min_vl: 4
  83.  
  84. # Number of ticks before AAC starts reducing violations
  85. reduce_delay: 60
  86.  
  87. # Map of violation levels to commands
  88. thresholds:
  89. 20: "aacstaffnotify {player} in {world} is attacking suspiciously (Hitbox) (ping = {ping}, tps = {tps})"
  90. 50: "aackick {player} Attacking suspiciously"
  91.  
  92. # BadPackets prevents players from using packets to exploit the server.
  93. badpackets:
  94. # Do you want to enable the badpackets check?
  95. enabled: true
  96.  
  97. # After how many moves should packets be cancelled?
  98. # A lower value reduces the possibility of blinking and exploits and improves performance.
  99. # A higher value will reduce the number of false positives. This should always be above 3.
  100. cancel_threshold: 30
  101.  
  102. # How many moves should a player be able to send in 3 ticks?
  103. # An unmodified client should send 3 moves in 3 ticks. Be sure to think about lag
  104. # The violation value will be increased by (how many packets the player sends - max_moves) / 2
  105. max_moves: 30
  106.  
  107. # Map of violation levels to commands
  108. thresholds:
  109. 1000: "aacstaffnotify {player} in {world} might be trying to speed up time (ping = {ping}, tps = {tps})"
  110. 3500: "aackick {player} Suspicious activity (or extreme lag)"
  111.  
  112. # Criticals prevents players from getting critical hits when it's not possible.
  113. criticals:
  114. # Do you want to enable the criticals check?
  115. enabled: true
  116.  
  117. # Should a hit be cancelled if it is a critical and the player is on the ground?
  118. cancel_false_hit: true
  119.  
  120. # How many ticks should AAC enforce between jumps?
  121. jump_delay: 5
  122.  
  123. # Map of violation levels to commands
  124. thresholds:
  125. 8: "aackick {player} Illegal movement"
  126.  
  127. # Fastbow prevents players from shooting their bow too quickly.
  128. fastbow:
  129. # Do you want to enable the fastbow check?
  130. enabled: true
  131.  
  132. # How much lag compensation should AAC perform when checking for fastbow?
  133. lenience_ms: 130
  134.  
  135. # How long should AAC block bow usage after a player is detected for fastbow? (set to 0 to disable)
  136. block_ticks: 100
  137.  
  138. # How much VL does a player need before AAC starts blocking shots?
  139. min_vl: 8
  140.  
  141. # Map of violation levels to commands
  142. thresholds:
  143. 5: "aacstaffnotify {player} in {world} seems to be shooting arrows too quickly (ping = {ping}, tps = {tps})"
  144. 25: "aackick {player} Shooting arrows too quickly"
  145.  
  146. # FightSpeed prevents players from attacking too quickly.
  147. fightspeed:
  148. # Do you want to enable the fightspeed check?
  149. enabled: true
  150.  
  151. # How many times should a player be able to attack per second?
  152. max_hit: 15
  153.  
  154. # How many times should a player be allowed to swing their arm per second?
  155. max_swing: 35
  156.  
  157. # Should fightspeed check for consistent click speed?
  158. consistent_check: true
  159.  
  160. # How close together do hit speed measurements need to be for a violation?
  161. consistent_threshold: 25
  162.  
  163. # Map of violation levels to commands
  164. thresholds:
  165. 10: "aacstaffnotify {player} in {world} might be using an autoclicker (ping = {ping}, tps = {tps})"
  166. 30: "aackick {player} Suspicious click speed"
  167.  
  168. # Fly prevents players in survival mode from flying.
  169. fly:
  170. # Do you want to enable the fly check?
  171. enabled: true
  172.  
  173. # How strongly should AAC enforce fall speeds? (smaller values are more accurate)
  174. tolerance: 0.015
  175. e_tolerance: 0.015
  176.  
  177. # How quickly should AAC increase the violation level for larger movements?
  178. vl_multiplier: 3.0
  179.  
  180. # How many violations before AAC starts teleporting a player down? (needs teleport: true)
  181. min_vl: 28
  182.  
  183. # How long should a player have to respond to velocity given by the server?
  184. vel_ticks: 30
  185.  
  186. # Teleport the player down if detected?
  187. teleport: true
  188.  
  189. # Check for invalid abilities packets?
  190. abilities: true
  191.  
  192. # How many ticks should AAC wait before reducing a player's violation level?
  193. reduce_delay: 20
  194.  
  195. # Should AAC reset a player's pitch to 0 after a detection?
  196. reset_pitch: false
  197.  
  198. # Map of violation levels to commands
  199. thresholds:
  200. 150: "aacstaffnotify {player} in {world} might be trying to fly (ping = {ping}, tps = {tps})"
  201. 300: "aacstaffnotify {player} in {world} is probably trying to fly (ping = {ping}, tps = {tps}"
  202. 300: "aackick {player} Flying"
  203.  
  204. # Speed prevents players in survival mode from moving too quickly.
  205. speed:
  206. # Do you want to enable the speed check?
  207. enabled: true
  208.  
  209. # How much leniency should the speed check have?
  210. threshold: 0.005
  211.  
  212. # How long should a player have to respond to velocity given by the server?
  213. vel_ticks: 30
  214.  
  215. # How quickly should AAC increase the violation level for larger movements?
  216. vl_multiplier: 6.0
  217.  
  218. # How many times should a player be allowed to toggle sneak in a second?
  219. max_sneak_toggles: 15
  220.  
  221. # How many times should a player be allowed to toggle use-item in a second?
  222. max_use_toggles: 35
  223.  
  224. # How many violations before a player will start being teleported?
  225. min_vl: 36
  226.  
  227. # How many ticks should AAC wait before reducing a player's violation level?
  228. reduce_delay: 20
  229.  
  230. # Specific configuration options. Don't touch these unless you know what you're doing.
  231. #item_scalar: 0.5
  232. #sneak_scalar: 0.63
  233.  
  234. # Map of violation levels to commands
  235. thresholds:
  236. 100: "aacmessage {player} It looks like you might be glitching, please tap sneak and block with your sword"
  237. 250: "aacstaffnotify {player} in {world} seems to be moving too quickly (ping = {ping}, tps = {tps})"
  238. 500: "aackick {player} Unexpected movement"
  239.  
  240. # Derp stops some forms of derp cheats.
  241. derp:
  242. # Do you want to enable the derp check?
  243. enabled: true
  244.  
  245. # Map of violation levels to commands
  246. thresholds:
  247. 1: "aackick {player} Illegal position"
  248.  
  249. # Old check for anti-velocity and anti-knockback, see velocity check for current check.
  250. knockback:
  251. # Do you want to enable the knockback check
  252. enabled: false
  253.  
  254. # legacy configuration
  255. tick_delay: 9
  256. add_ping: true
  257. max_ping: 500
  258. min_knockback_dist: 0.01
  259. min_knockback_time: 2
  260. thresholds: {}
  261.  
  262. # NoSwing ensures that players swing their arm when attacking or mining.
  263. noswing:
  264. # Do you want to enable the noswing check?
  265. enabled: true
  266.  
  267. # Map of violation levels to commands
  268. thresholds:
  269. 20: "aacstaffnotify {player} in {world} is not swinging their arm (ping = {ping}, tps = {tps})"
  270. 40: "aackick {player} Not swinging arm"
  271.  
  272. # Regen directly stops players from healing too quickly.
  273. regen:
  274. # Do you want to enable the regen check?
  275. enabled: true
  276.  
  277. # Should AAC cancel regeneration if it happens too quickly?
  278. cancel_regen: true
  279.  
  280. # What delay should AAC force between regeneration?
  281. min_regen_delay: 3600
  282.  
  283. # What delay should AAC force if the player is fully satiated?
  284. min_satiated_delay: 450
  285.  
  286. # Map of violation levels to commands
  287. thresholds:
  288. 10: "aacstaffnotify {player} in {world} is trying to regain health too quickly (ping = {ping}, tps = {tps})"
  289. 20: "aackick {player} Regenerating health too quickly"
  290.  
  291. # Killaura detects combat cheats which give an unfair advantage.
  292. killaura:
  293. # Do you want to enable the killaura check?
  294. enabled: true
  295.  
  296. # What % of the time should AAC do a check?
  297. check_chance: 100
  298.  
  299. # Lag compensation paramters - shouldn't need changes
  300. check_delay: 3
  301. listen_delay: 6
  302.  
  303. # How far away must 2 players be to be checked?
  304. min_dist: 1.2
  305.  
  306. # How long should the check last?
  307. duration: 20
  308.  
  309. # How much should the check be weighted?
  310. weight: 4
  311.  
  312. # How far off should a player be able to look to allow the hit?
  313. max_diff: 0.12
  314.  
  315. # How far should the player be allowed to reach during the check?
  316. max_reach: 4.6
  317.  
  318. # Map of violation levels to commands
  319. thresholds:
  320. 30: "aacstaffnotify {player} in {world} might be using killaura (ping = {ping}, tps = {tps})"
  321. 75: "aackick {player} Killaura"
  322.  
  323. # Heuristics are used by AAC to detect advanced killaura cheats that bypass normal checks.
  324. heuristics:
  325. # Do you want to enable AAC's heuristic detection?
  326. enabled: true
  327.  
  328. # Heuristic confidence required for a violation. This is calculated as a percentage from 0.0% to 100.0%.
  329. # Represents how likely a player is to be using killaura, based on heuristic analysis.
  330. # Must be: 50 <= min_confidence < 100
  331. # For reference: min_confidence of 85 has been tested to have practically zero false detections.
  332. min_confidence: 75
  333.  
  334. # List of patterns which should not incur a violation
  335. # Should be a 4 character string, usually "P/" followed by two digits
  336. # The suffixes of ? and ! must be included to fully exempt all cases of a pattern
  337. exempt:
  338. - "P/XX?" # This is an example entry.
  339.  
  340. # Map of violation levels to commands.
  341. # The heuristics check is different to other checks: higher violation level does not mean a higher confidence.
  342. # All violation levels are equal. The default threshold of 10 creates the effect of a delayed ban.
  343. thresholds:
  344. 1: "aacstaffnotify {player} in {world} is fighting suspiciously (AAC heuristic analysis) (ping = {ping}, tps = {tps})"
  345. 10: "aackick {player} Suspicious combat"
  346.  
  347. # NoFall ensures players take fall damage.
  348. nofall:
  349. # Do you want to enable the NoFall check?
  350. enabled: true
  351.  
  352. # What downward velocity is needed to check for nofall?
  353. required_velocity: -0.2
  354.  
  355. # Should AAC deal fall damage to players?
  356. deal_damage: true
  357.  
  358. # Map of violation levels to commands
  359. thresholds:
  360. 10: "aacstaffnotify {player} in {world} might be trying to avoid fall damage (ping = {ping}, tps = {tps})"
  361. 30: "aackick {player} Suspicious activity midair"
  362.  
  363. # Jesus stops people from walking on water.
  364. jesus:
  365. # Do you want to enable the Jesus check?
  366. enabled: true
  367.  
  368. # Should Jesus teleport players?
  369. teleport: true
  370.  
  371. # Map of violation levels to commands
  372. thresholds:
  373. 15: "aacstaffnotify {player} in {world} is trying to walk on water (ping = {ping}, tps = {tps})"
  374. 30: "aackick {player} Walking on water?"
  375.  
  376. # Phase stops people glitching through blocks.
  377. phase:
  378. # Do you want to enable the Phase check?
  379. enabled: false
  380.  
  381. # Which blocks should be exempt from phase checking?
  382. # Items are included in this list due to potential ViaVersion/cross version compatibility problems with 1.8
  383. # Should be entered exactly as seen on the Spigot Material enum.
  384. exclude:
  385. # Incorrect hitboxes on 1.8 servers
  386. - "ANVIL"
  387. - "CHEST"
  388. - "ENDER_CHEST"
  389. - "TRAPPED_CHEST"
  390. - "SOIL"
  391. # Entity hitboxes
  392. - "AIR"
  393. - "STATIONARY_WATER"
  394. - "WATER"
  395. - "STATIONARY_LAVA"
  396. - "LAVA"
  397. # Protocol hack hitboxes
  398. - "WATER_LILY"
  399. # Moving pistons
  400. - "PISTON_MOVING_PIECE"
  401.  
  402. # Map of violation levels to commands
  403. thresholds:
  404. 40: "aacstaffnotify {player} in {world} might be trying to phase into blocks (ping = {ping}, tps = {tps})"
  405. 80: "aacmessage {player} Please disconnect and log back in if you are stuck inside a block"
  406.  
  407. # FastUse stops players using items too quickly.
  408. fastuse:
  409. # Do you want to enable the FastUse check?
  410. enabled: true
  411.  
  412. # What delay should AAC enforce for eating an item? (ms)
  413. ms_to_use: 1200
  414.  
  415. # Map of violation levels to commands
  416. thresholds:
  417. 2: "aacstaffnotify {player} in {world} is trying to consume items too quickly (ping = {ping}, tps = {tps})"
  418. 5: "aackick {player} Using items too quickly"
  419.  
  420. # FastBreak stops players from breaking blocks too quickly.
  421. fastbreak:
  422. # Do you want to enable the fastbreak check?
  423. enabled: false
  424.  
  425. # How many ticks should fastbreak count as lag, and ignore?
  426. let_ticks: 2
  427.  
  428. # Should AAC cancel an illegal block break?
  429. cancel_break: true
  430.  
  431. # Should AAC check for a break delay? (i.e. between block breaks)
  432. check_delay: true
  433.  
  434. # How many violations before AAC starts cancelling block breaks?
  435. cancel_vl: 1
  436.  
  437. # Map of violation levels to commands
  438. thresholds:
  439. 10: "aacstaffnotify {player} in {world} seems to be breaking blocks too quickly (ping = {ping}, tps = {tps})"
  440. 15: "aackick {player} Mining too quickly"
  441.  
  442. # FastPlace stops players from placing blocks too quickly.
  443. fastplace:
  444. # Do you want to enable the fastplace check?
  445. enabled: false
  446.  
  447. # How many blocks should a player be allowed to place in one second?
  448. max_place_per_second: 10
  449.  
  450. # Should AAC cancel an illegal block place?
  451. cancel_place: true
  452.  
  453. # How many violations before AAC starts cancelling block placements?
  454. cancel_vl: 4
  455.  
  456. # Map of violation levels to commands
  457. thresholds:
  458. 15: "aacstaffnotify {player} in {world} is placing blocks too quickly (ping = {ping}, tps = {tps})"
  459. 30: "aackick {player} Placing blocks too fast"
  460.  
  461. # Nuker stops players in creative mode from breaking too many blocks at once.
  462. nuker:
  463. # Do you want to enable the nuker check?
  464. enabled: false
  465.  
  466. # How many blocks should a player be able to break in 1 second: vl if greater than this value
  467. max_breaks_per_second: 40
  468.  
  469. # The violation will only be recorded if it divides by this number (reduces spam)
  470. vl_divisor: 41
  471.  
  472. # Map of violation levels to commands
  473. thresholds:
  474. 5: "aacstaffnotify {player} in {world} is using creative-mode nuker (ping = {ping}, tps = {tps})"
  475. 10: "aackick {player} Nuker"
  476.  
  477. # Interact stops players interacting in impossible situations, like when they're dead or behind a wall.
  478. interact:
  479. # Do you want to enable the impossibleinteract check?
  480. enabled: true
  481.  
  482. # Detect interacting with liquids?
  483. cancel_liquids: true
  484.  
  485. # Detect ghosthand to interact with blocks?
  486. cancel_ghost_block: true
  487.  
  488. # Detect interacting whilst dead?
  489. cancel_dead: true
  490.  
  491. # Detect hitting whilst using an item?
  492. cancel_item_attack: true
  493.  
  494. # Detect hitting through walls?
  495. cancel_ghost_attack: true
  496.  
  497. # Violation before AAC starts cancelling interact when detecting ghosthand
  498. cancel_vl_interact: 5
  499. cancel_vl_place: 5
  500. cancel_vl_break: 0
  501.  
  502. # Map of violation levels to commands
  503. thresholds:
  504. 20: "aacstaffnotify {player} in {world} is interacting suspiciously (ping = {ping}, tps = {tps})"
  505. 40: "aackick {player} Interacting suspiciously"
  506.  
  507. # Velocity makes sure that players take proper knockback.
  508. velocity:
  509. # Do you want to enable the velocity check
  510. enabled: true
  511.  
  512. # How many ticks should AAC check a player for? Higher values compensate for higher ping.
  513. check_length: 15
  514.  
  515. # What is the maximum distance AAC should teleport a detected player?
  516. # If this is zero, the detected player will not be teleported at all
  517. max_tp_dist: 3.0
  518.  
  519. # How many violations before AAC starts teleporting players who ignore velocity?
  520. min_vl: 8
  521.  
  522. # How much should AAC increase a player's violation level by on detection?
  523. vl_normal: 2
  524.  
  525. # If a player seems frozen (e.g. changing resource packs/lagging), how much should AAC increase their violation level?
  526. # 0 by default to prevent false positives with changing resource packs
  527. vl_no_packet: 0
  528.  
  529. # Map of violation levels to commands
  530. thresholds:
  531. 10: "aacstaffnotify {player} in {world} seems to be ignoring velocity"
  532. 20: "aackick {player} Not taking knockback"
  533.  
  534. # Spam prevents players from spamming the server chat.
  535. spam:
  536. # Do you want to enable the spam check?
  537. enabled: false
  538.  
  539. # What words should not be covered by the anti-spam check?
  540. # messages less than 3 letters are already ignored
  541. whitelist:
  542. - "lol"
  543. - "hello"
  544. - "okay"
  545.  
  546. # How many messages should a player be able to send in 10 seconds
  547. message_limit: 4
  548.  
  549. # How fast can a player send messages (ticks)
  550. chat_speed: 10
  551.  
  552. # Map of violation levels to commands
  553. thresholds:
  554. 10: "aacstaffnotify {player} in {world} is spamming the chat"
  555. 15: "aackick {player} Stop spamming, you sad person"
  556.  
  557. # Parameters for AAC's packet level movement check system. It is required for nearly all checks.
  558. # Monitors movement rate and illegal movement positions.
  559. move:
  560. # This must be enabled to use any movement check in AAC, and is also required for some world and combat checks.
  561. # Do not disable, or most of AAC will stop working and errors will spew out into the console.
  562. enabled: true
  563.  
  564. # How much lag should AAC compensate for? (ticks)
  565. min_balance: -60
  566.  
  567. # How many extra packets should a player be allowed to send?
  568. cancel_threshold: 5
  569.  
  570. # What balance should AAC set the player to when the connection seems normal?
  571. reset_level: -1
  572.  
  573. # How high should the internal packet balance be allowed to get?
  574. balance_cap: 10
  575.  
  576. # At what tick interval should AAC reduce 1 VL from the player?
  577. decay: 25
  578.  
  579. # What teleport offset should AAC accept from players?
  580. tp_accept_threshold: 0.001
  581.  
  582. # Map of violation levels to commands
  583. thresholds:
  584. 200: "aacstaffnotify {player} in {world} is sending unusual movement information (ping = {ping}, tps = {tps})"
  585. 1000: "aackick {player} Sending unusual movement packets"
  586.  
  587. ### General things
  588.  
  589. # How many times must a player be kicked before he is banned (-1 for no autoban)
  590. # The kick command used must be /aackick for this to work.
  591. # Disabled by default.
  592. ban_threshold: -1
  593.  
  594. # What command should be executed when a player is banned (only applies for /aackick)
  595. ban_command: "aackick {player}"
  596.  
  597. # How long after a player is kicked should he be allowed to log in (ticks)
  598. kick_ticks: 120
  599.  
  600. # Should AAC log events to a file?
  601. log_file: true
  602.  
  603. # Should /aackick broadcast a message?
  604. aackick_broadcast: false
  605.  
  606. # Should AAC disable/enable checks dynamically? IF YOU HAVE PWP DISABLE
  607. usetps: true
  608.  
  609. # Enable verbose logging? This splits log output and pipes some to administrators. Not recommended for normal use.
  610. #verbose: false
  611. #log_console: false
Advertisement
Add Comment
Please, Sign In to add comment