Advertisement
NORTBE

Untitled

Nov 15th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.33 KB | None | 0 0
  1. # -------------------------------------------------------------------- #
  2. #
  3. # Reflex: Advanced Cheat Prevention (~DarksideCode & sinnlosername)
  4. # The configuration file (config.yml)
  5. #
  6. # -------------------------------------------------------------------- #
  7. #
  8. # If you are getting false positives, please make sure
  9. # that the players who getting them aren't really hackers.
  10. #
  11. # If you are 100% sure that some checks have false positives,
  12. # please contact MeGysssTaa on SpigotMC (PM) with the video
  13. # proof of false positive and the proof that the player who
  14. # getting it is completely legit.
  15. #
  16. # If you have any questions related to this configuration,
  17. # please ask those on SpigotMC (PM). Thanks for downloading
  18. #
  19. # -------------------------------------------------------------------- #
  20.  
  21. # -------------------------------------------------------------------- #
  22. # MAIN SETTINGS
  23. # In this section, you can customize
  24. # main Reflex parts, such as ban waves,
  25. # updater, and global settings
  26. # -------------------------------------------------------------------- #
  27. global:
  28.  
  29. # You won't be able to run Reflex unless you accept it's EULA
  30. # (End User License Agreement) located at the end of the plugin overview page on SpigotMC
  31. # Replace false with true and restart server if you agree with the license
  32. accept_eula: true
  33.  
  34. # Don't touch this. This is used to auto-reset config if
  35. # it's extremely out of date and requires massive changes
  36. config_version: 1
  37. verbose: true
  38. console_verbose: true
  39.  
  40. # Amount of digits after dor in doubles/floats
  41. # E.g. if it's set to 2, then variable 3.4857835834564 will be simplified with 3.48,
  42. # if it's set to 5, it will be simplified with 3.48578. Maximal amount is 15
  43. # Decreasing this will make consistency checks stricter and calculations faster
  44. strict_mode: 2
  45.  
  46. # Required amount of moves that player should hit to be checked by some math checks
  47. required_moves: 45
  48.  
  49. # Should Reflex kick everyone from server when using /reflexreload
  50. # This may help avoid issues related to multiple Forcefield
  51. # checking entities per player
  52. kick_on_reload: true
  53.  
  54. # If set to true, Reflex will throw some TNTs out of hacker's
  55. # ass when he gets kicked using /reflexkick %player% epic <...>
  56. use_tnt: false
  57.  
  58. # The CommandSender instance Reflex should use while acting commands
  59. # from violation maps in checks. 0 = default Bukkit sender, 1 = custom Reflex sender
  60. # Enable this if you are having problems/errors with executing commands
  61. commandsender: 1
  62.  
  63. # What should Reflex do if player uses/tab-completes
  64. # a Reflex command without valid permissions for it?
  65. hide_policy:
  66.  
  67. # 0 = default command response, 1 = no response, 2 = default "Unknown command" message
  68. command: 2
  69.  
  70. # 0 = working tab-complete, 1 = no response when command is included, 2 = filter commands
  71. tab: 1
  72.  
  73. # Set this to 'true' if you want to hide /reflex command from players
  74. require_permission: true
  75.  
  76. # Auto-Updater settings
  77. updater:
  78.  
  79. # Should Reflex check for updates every 15 minutes automatically
  80. # If set to false, Reflex will check for updates only on enable
  81. # WARNING: this can LAG your server if it has a slow Internet connection or a lot of players online
  82. enabled: false
  83.  
  84. # Should Reflex disable itself if updater found a new version
  85. # WARNING: not recommended if your server has a big / average online
  86. # because you may be not online when plugin will be ready to update,
  87. # but your server will miss anticheat protection. Use on your own risk
  88. force_disable: false
  89.  
  90. # Ban waves settings
  91. ban_waves:
  92.  
  93. # Enable or disable ban waves
  94. # Ban waves is a system which bans all players who were kicked for hacking too many times before
  95. # every *delay* minutes (for example, 30) and notifies all other players about amount of banned hackers
  96. # Set this to false if you don't want Reflex to ban someone for hackinig
  97. enabled: false
  98.  
  99. # Delay between banwaves (in minutes)
  100. delay: 30
  101.  
  102. # Ban waves bans only players, who's GVL (global violation level) hit this value
  103. # GVL adds using command /reflexaddgvl (player_name) (amount)
  104. threshold: 5
  105.  
  106. # Should Reflex affect offline players (control their's GVL, ban them in ban waves, etc)
  107. # WARNING: requires an SSD and an overpowered server (with a lot of free memory)
  108. # because it will go through all the server files every minute and do some weird calculations
  109. process_offline_players: false
  110.  
  111. # Message which will sent to all players when a ban wave was happened
  112. # %BannedPlayers% means amount of players who were banned in this wave
  113. # Reflex won't show this message if there are no players banned
  114. message: '&c&lReflex&r&c » &f%BannedPlayers%&c players have been banned for &fhacking&r&c just now. Please delete all your illegal modifications to avoid ban'
  115.  
  116. # Command which will be dispatched as a ban command
  117. command: 'ban %Player% &c&lReflex&r&c » Combat hacking is not allowed'
  118.  
  119. # Should Reflex reset GVL of everyone who wasn't banned in ban wave after it happened
  120. reset_gvl: false
  121.  
  122. # -------------------------------------------------------------------- #
  123. # CHECKS CONFIGURATION
  124. # Here you can set up which commands are
  125. # going to be dispatched when player fails
  126. # certain check multiple times, customize
  127. # how the checks will act, etc.
  128. # -------------------------------------------------------------------- #
  129.  
  130. # FrontEntity check spawns an invisible entity in fron of
  131. # the player. Normally he should hit it, but if he is using
  132. # KillAura, he will hit through this entity and VL will be added
  133. frontentity:
  134.  
  135. # Enable this check?
  136. enabled: true
  137.  
  138. # Player won't be kicked if his ping is higher than this value (milliseconds)
  139. lag_ping: 235
  140.  
  141. # If set to true, then all the front entities will have
  142. # random names and UUIDs. This will prevent most of nametag
  143. # plugins from creating a nametag over invisible entity
  144. # to make it ghost for players, don't use if you have no
  145. # compatibility issues with nametag plugins
  146. nametags_compatibility: true
  147.  
  148. # If players are too close to each other, the check will be cancelled
  149. min_cancel_distance: 1.21
  150.  
  151. # If players are too far away from each other, the check will be cancelled
  152. max_cancel_distance: 8.06
  153.  
  154. # Prevent FrontEntities from moving/teleporting and make them
  155. # re-spawn if they are no longer in the line of sight
  156. # Not recommended
  157. no_movements: false
  158.  
  159. # The check will be cancelled if there are too
  160. # many entities around the player
  161. entities_to_cancel:
  162.  
  163. # In normal mode (with enabled movements)
  164. normal: 4
  165.  
  166. # In no_movements mode ('no_movements: true' over here)
  167. no_movements: 3
  168.  
  169. # Minimal difference between attacker and his target
  170. # to begin check. If the distance is less than this value,
  171. # the check will be cancelled
  172. min_diff: '2.1387D'
  173.  
  174. # Distance between player and front entity
  175. distance: '1.5143F'
  176.  
  177. # When player will do more than this amount of hits (attacks), the FrontEntity check will begin
  178. hits_to_check: 5
  179.  
  180. # Should Reflex cancel hits which cannot happen normally
  181. cancel_suspicious_combat: true
  182.  
  183. # Should Reflex damage player's main target if he will hit FrontEntity
  184. # This will help keep Reflex ghost in combat as no legit hits will be cancelled
  185. simulate_damage: true
  186.  
  187. # Commands
  188. actions:
  189. 10:
  190. - ekick %Player% &7[&eAntiCheat&7] > &6Вы были кикнуты за использование боевых читов! &7(F)
  191. - bc &6%Player% был кикнут за читерство.
  192.  
  193. # KillauraCombined combines different in-combat heuristic
  194. # checks to detect any malicious PvP behaviour and stop
  195. # players from using any kind of combat hack to get advantage
  196. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  197. # THIS CHECK IS EXPERIMENTAL AND ONLY IN DEVELOPMENT STAGE.
  198. # PLEASE INFORM US IF YOU FIND ANY FALSE POSITIVES AS SOON
  199. # AS POSSIBLE WITH AS MUCH INFO AS YOU CAN. USE ON OWN RISK
  200. killauracombined:
  201.  
  202. # Enable this check?
  203. enabled: true
  204.  
  205. # Player won't be kicked if his ping is higher than this value (milliseconds)
  206. lag_ping: 215
  207.  
  208. # Should Reflex cancel hits which cannot happen normally
  209. cancel_suspicious_combat: true
  210.  
  211. # Chance of hacking on the Aimbot check to kick (in %)
  212. # Set the number below to 100 to disable this component
  213. aimbot_chance: 100
  214.  
  215. # Chance of hacking on the Accuracy check to kick (in %)
  216. # Set the number below to 100 to disable this component
  217. accuracy_chance: 100
  218.  
  219. # Chance of hacking on the Angle check to kick (in %)
  220. # Set the number below to 100 to disable this component
  221. angle_chance: 50
  222.  
  223. # Chance of hacking on the Killaura check to kick (in %)
  224. # Set the number below to 100 to disable this component
  225. killaura_chance: 90
  226.  
  227. # Chance of hacking on the Prediction check to kick (in %)
  228. # Set the number below to 100 to disable this component
  229. prediction_chance: 95
  230.  
  231. # Enabling this will make heuristic checks stricter.
  232. # It will significantly speed them up, but could
  233. # make Reflex sometimes kick legit players too
  234. strict_mode: false
  235.  
  236. # What's the maximum amount of clicks players are allowed
  237. # to do per second? If they do more, they will be kicked
  238. max_cps: 13
  239.  
  240. # If player is clicking at the same speed for
  241. # this amount of seconds, he will be kicked
  242. constant_rate_factor: 9
  243.  
  244. # Minimal delay that player should wait (in ms) before clicking again
  245. min_click_delay: 0
  246.  
  247. # If player is clicking with low delays for a long period
  248. # of time (this amount of times in a row), he will be kicked
  249. low_delay_clicks_to_kick: 99999999
  250.  
  251. # Maximal allowed TDelay in attacks
  252. t_delay: 4600
  253.  
  254. # For how long time should player be checked for
  255. # suspicious clicking rate (1 second = 20 ticks)
  256. keep_thread_alive_ticks: 200
  257.  
  258. # For how long should player be checked for an Aimbot (in ticks)
  259. aimbot_time_ticks: 95
  260.  
  261. # For how long should player be checked for an Accuracy (in ticks)
  262. accuracy_time_ticks: 90
  263.  
  264. # Maximal yaw rate player is allowed to have before attacking
  265. max_yaw_rate: 32.0
  266.  
  267. # Required angle rate to attack
  268. required_rate: 0.42
  269.  
  270. # Maximal angle rate allowed before attacking
  271. suspicious_rate: 0.68
  272.  
  273. # Player's VL will be increased if his
  274. # move angle before attack seems impossible
  275. impossible_angle_increase: 2
  276.  
  277. # Angle check length (check time in rotations/moves)
  278. angle_length: 165
  279.  
  280. # If player's angle ratio goes over this value, he will be kicked
  281. angle_ratio: 96
  282.  
  283. # Turn check settings
  284. turn_borders:
  285.  
  286. # What's the minimum prediction accuracy
  287. # should player have to get checked?
  288. min: 8.99
  289.  
  290. # What's the maximum prediction accuracy
  291. # can player have to get checked?
  292. max: 10.8
  293.  
  294. # Aiming check settings
  295. aiming:
  296.  
  297. # This amount of violations will be
  298. # added if player did not pass the check
  299. increase: 0
  300.  
  301. # This amount of violations will be
  302. # removed if player has passed the check
  303. decrease: 100
  304.  
  305. # When player reaches this amount of violations
  306. # on the check, he will be kicked
  307. threshold: 99999999
  308.  
  309. # Hitting check settings
  310. hitting:
  311.  
  312. # This amount of violations will be
  313. # added if player did not pass the check
  314. increase: 50
  315.  
  316. # This amount of violations will be
  317. # removed if player has passed the check
  318. decrease: 25
  319.  
  320. # When player reaches this amount of violations
  321. # on the check, he will be kicked
  322. threshold: 290
  323.  
  324. # YawRating check settings
  325. yaw_rating:
  326.  
  327. # This amount of violations will be
  328. # added if player did not pass the check
  329. increase: 21
  330.  
  331. # This amount of violations will be
  332. # removed if player has passed the check
  333. decrease: 17
  334.  
  335. # When player reaches this amount of violations
  336. # on the check, he will be kicked
  337. threshold: 86
  338.  
  339. # Fighting check settings
  340. fighting:
  341.  
  342. # This amount of violations will be
  343. # added if player did not pass the check
  344. increase: 5
  345.  
  346. # This amount of violations will be
  347. # removed if player has passed the check
  348. decrease: 2
  349.  
  350. # When player reaches this amount of violations
  351. # on the check, he will be kicked
  352. threshold: 8
  353.  
  354. # HeadMoving check settings
  355. head_moving:
  356.  
  357. # This amount of violations will be
  358. # added if player did not pass the check
  359. increase: 3
  360.  
  361. # This amount of violations will be
  362. # removed if player has passed the check
  363. decrease: 1
  364.  
  365. # When player reaches this amount of violations
  366. # on the check, he will be kicked
  367. threshold: 24
  368.  
  369. # Yaw rate required to check the player
  370. # Important thing to fix false positives when
  371. # not rotating or doing it not quick enough
  372. yaw_rate_to_check: 2.51
  373.  
  374. # If player's yaw rate goes below this value,
  375. # the attack will be flagged as suspicious
  376. min_yaw_rate: 4.38
  377.  
  378. # Maximal allowed head rotation speed
  379. rotation_speed: '36000.0F'
  380.  
  381. # Should player be checked by all the checks if no one is fighting him?
  382. # Disable this if you have false positives on this
  383. # check when fighting AFK (passive) entities/players
  384. check_outside_combat: true
  385.  
  386. # These checks will not happen if no one is hitting player
  387. # Only effective if 'check_outside_combat' is set to false
  388. # Available checks are: accuracy, aimbot, angle, killaura
  389. outside_combat_exclude: 'accuracy, killaura'
  390.  
  391. # Commands
  392. actions:
  393. 32:
  394. - ekick %Player% &7[&eAntiCheat&7] > &6Вы были кикнуты за использование боевых читов! &7(C)
  395. - bc &6%Player% был кикнут за читерство.
  396.  
  397. # Direction check forces player to look his
  398. # view at the target before attacking it
  399. direction:
  400.  
  401. # Enable this check?
  402. enabled: true
  403.  
  404. # Player won't be kicked if his ping is higher than this value (milliseconds)
  405. lag_ping: 205
  406.  
  407. # Should Reflex cancel hits which cannot happen normally
  408. cancel_suspicious_combat: true
  409.  
  410. # How far away off an entity should player
  411. # be allowed to look to attack/hit it
  412. max_offset: 1.3
  413.  
  414. # Commands
  415. actions:
  416. 50:
  417. - ekick %Player% &7[&eAntiCheat&7] > &6Вы были кикнуты за использование боевых читов! &7(D)
  418. - bc &6%Player% был кикнут за читерство.
  419.  
  420. # Fightspeed makes player wait a certain amount of
  421. # milliseconds before attacking an entity again (prevents InstantKill hacks)
  422. fightspeed:
  423.  
  424. # Enable this check?
  425. enabled: true
  426.  
  427. # Player won't be kicked if his ping is higher than this value (milliseconds)
  428. lag_ping: 215
  429.  
  430. # Minimal delay (ms) before player
  431. # will be allowed to attack again
  432. min_delay: 60
  433.  
  434. # Commands
  435. actions:
  436. 8:
  437. - ekick %Player% &7[&eAntiCheat&7] > &6Вы были кикнуты за использование боевых читов! &7(Clicker, Macros)
  438. - bc &6%Player% был кикнут за читерство.
  439.  
  440. # Reach check limits the attack distance
  441. # Prevents players from attacking entities which are too far away
  442. reach:
  443.  
  444. # Enable this check?
  445. enabled: true
  446.  
  447. # Player won't be kicked if his ping is higher than this value (milliseconds)
  448. lag_ping: 230
  449.  
  450. # Should Reflex cancel hits which cannot happen normally
  451. cancel_suspicious_combat: true
  452.  
  453. # How far away should players be allowed to reach
  454. max_reach: 3.6
  455.  
  456. # If player has failed reach only a few times, hit won't be cancelled
  457. # This is the minimal amount of violations required for Reflex to cancel hits
  458. violations_to_cancel: 5
  459.  
  460. # Commands
  461. actions:
  462. 99999999:
  463. - ?
  464.  
  465. # FastSwitch measures the delay between switching targets
  466. # for stopping players from using MultiAura
  467. fastswitch:
  468.  
  469. # Enable this check?
  470. enabled: true
  471.  
  472. # Player won't be kicked if his ping is higher than this value (milliseconds)
  473. lag_ping: 240
  474.  
  475. # Minimal delay (ms) which player have to
  476. # wait before switching his target
  477. min_delay: 20
  478.  
  479. # Commands
  480. actions:
  481. 6:
  482. - ekick %Player% &7[&eAntiCheat&7] > &6Вы были кикнуты за использование боевых читов! &7(S)
  483. - bc &6%Player% был кикнут за читерство.
  484.  
  485. # This check spawns an invisible entities behind the player
  486. # It becomes visible for some seconds in combat. It's impossible
  487. # for legit player to hit those entities too many times, but
  488. # possible to for bad Killauras/Aimbots
  489. npc:
  490.  
  491. # Enable this check?
  492. enabled: false
  493.  
  494. # Player won't be kicked if his ping is higher than this value (milliseconds)
  495. lag_ping: 245
  496.  
  497. # Should NPC move away from player's line of sight if he damaged it
  498. move_on_damage: true
  499.  
  500. # Distance between player and NPC
  501. distance: '4.0F'
  502.  
  503. # Should NPC become for some time if player hits someone
  504. visible: true
  505.  
  506. # For how long time (ms) will NPC stay visible (if it's enabled over here)
  507. # after player hit an entity. 1 second contains 1000 milliseconds
  508. visible_timeout: 2750
  509.  
  510. # Should Reflex make client believe that NPC is not flying
  511. # and moving legitimately. Could prevent some bypasses
  512. fake_on_ground: true
  513.  
  514. # Make NPCs wear realistic player names and UUIDs
  515. # Disable this if you have issues with floating
  516. # nametags (nametag plugins incompatibility fix)
  517. real_player_copies: false
  518.  
  519. # Should NPCs move (fly, walk, fall down, swing arms, rotate head)
  520. movements: true
  521.  
  522. # Commands
  523. actions:
  524. 99999999:
  525. - ?
  526.  
  527. # Velocity forces player to move away from attacker
  528. # when he get knockback (stops player from using AntiKnockback hacks)
  529. velocity:
  530.  
  531. # Enable this check?
  532. enabled: false
  533.  
  534. # Player won't be kicked if his ping is higher than this value (milliseconds)
  535. lag_ping: 210
  536.  
  537. # Player's VL will be multiplied by this value if he will fail VerticalVelocity check
  538. vertical_multiplier: 20
  539.  
  540. # If the difference between player's previous and actual velocities
  541. # is higher or less than this value, player's VL will be increased
  542. expected_diff: 5
  543.  
  544. # Commands
  545. actions:
  546. 100:
  547. - ekick %Player% &7[&eAntiCheat&7] > &6Вы были кикнуты за использование боевых читов! (AKB)
  548. - bc &6%Player% был кикнут за читерство.
  549.  
  550. # Criticals prevents players from doing fake critical hits by quickly
  551. # mini-hopping or sending special packets while they are actually on ground
  552. criticals:
  553.  
  554. # Enable this check?
  555. enabled: true
  556.  
  557. # Player won't be kicked if his ping is higher than this value (milliseconds)
  558. lag_ping: 235
  559.  
  560. # Should Reflex cancel false critical hits
  561. cancel_suspicious_combat: true
  562.  
  563. # Commands
  564. actions:
  565. 99999999:
  566. - ?
  567.  
  568. # PingSpoof hacks makes server believe that player is
  569. # lagging while he does not. Hackers can exploit this to
  570. # bypass all Reflex checks since they aren't working if
  571. # player's ping is too high. This check will prevent
  572. # cheaters from exploiting this by kicking them
  573. pingspoof:
  574.  
  575. # Enable this check?
  576. enabled: true
  577.  
  578. # If player's NMS ping (ms) is less than this value, then
  579. # he is not lagging/trying to spoof lag, so won't be checked
  580. lag_ping: 210
  581.  
  582. # How often should player be checked for ping spoofing hacks (in seconds)?
  583. check_delay: 15
  584.  
  585. # Commands
  586. actions:
  587. 1:
  588. - ekick %Player% &7[&eAntiCheat&7] > &6Вы были кикнуты за использование боевых читов! (PingSpoof)
  589. - bc &6%Player% был кикнут за читерство.
  590.  
  591. # -------------------------------------------------------------------- #
  592. # MESSAGES
  593. # In this one, you can change the look
  594. # of Reflex completely, aka change it's prefix,
  595. # message sent by the plugin in different
  596. # cases, and more
  597. # -------------------------------------------------------------------- #
  598. lang:
  599.  
  600. # If player tries to perform a Reflex command, but he has no the correct permission
  601. # for it, he will receive this message
  602. no_permission: '&c&lReflex&r&c » Insufficient permissions'
  603.  
  604. # This message is sent when Reflex is looking for updates
  605. searching_update: '&c&lReflex&r&c » Looking for updates...'
  606.  
  607. # This message is sent when Reflex found a new version
  608. update_avialable: '&c&lReflex&r&c » &f%NewVersion%&r&c is out (running &f%InstalledVersion%&r&c). Please update as soon as possible'
  609.  
  610. # This message is sent when Reflex didn't find any updates
  611. no_updates_found: '&c&lReflex&r&c » Reflex is up to date'
  612.  
  613. # This message is sent when player tried to perform a command which is console only
  614. console_only: '&c&lReflex&r&c » That command cannot be executed by players'
  615.  
  616. # /reflexnotify notificatins format. %Message% is a message, %Sender% is a nickname of
  617. # player who sent command. If command was dispatched as console, %Sender%
  618. # will be replaced with CONSOLE
  619. notification_format: '&4Reflex » &7%Sender%&f %Message%'
  620.  
  621. # Format of Invalid syntax message (%s is the command syntax itself)
  622. syntax_format: "§cInvalid syntax! Use » %s"
  623.  
  624. # Player will receive this message if he will dispatch /reflexrunbanwave command
  625. running_ban_wave: '&c&lReflex&r&c » Forcefully running a bun wave! Expect some lagg..'
  626.  
  627. # This message is sent to all online players when someone gets kicked via /reflexkick
  628. kick_broadcast: '%Player% was kicked for hacking'
  629.  
  630. # Prefix which will be displayed when player gets kicked via /reflexkick
  631. prefix: '&c&lReflex&r&c » '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement