Guest User

Untitled

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