Advertisement
BluePvP

AAC config

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