Guest User

Untitled

a guest
May 18th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. # AntiBot by LinsaFTW
  2. # Please help by donating, we require funds to continue with the development.
  3. # https://paypal.me/LinsaFTW
  4. #
  5.  
  6. # Condition System - (Protection Mode)
  7. #
  8. # PPS -> Pings/second (IPs that pinged the server in the last second)
  9. # CPS -> Connections/second (IPs that are connecting but got cancelled in the last second)
  10. # JPS -> Joins/second (IPs that passed the checks and joined in the last second)
  11. #
  12. # This example means "The server needs any PPS, 4 CPS and 1 JPS to activate the module".
  13. # conditions:
  14. # PPS: 0
  15. # CPS: 4
  16. # JPS: 1
  17. #
  18. # When the conditions are achieved the module will start blocking bots.
  19. # If not, the module wont check anyone. (Made to only work while attack)
  20. # Setting all conditions to 0 will keep the module always active.
  21. #
  22.  
  23. # Default plugin language. (This will change depending on the player's language)
  24. lang: "en"
  25.  
  26. # Notifies console and players with permissions about punishments made.
  27. notifications:
  28. enabled: true
  29.  
  30. # Allows logging notifications on the console.
  31. console: true
  32.  
  33. # Module that handles player data stored to detect bots.
  34. player:
  35. # Time to wait before removing disconnected players from the cache. (In milliseconds)
  36. cache_time: 20000
  37.  
  38. # Adds real players to a list on disconnect so they can bypass the checks.
  39. # If conditions are achieved Lockout will activate and only Whitelisted will be able to join.
  40. # Lockout is made for security measures and its not intended to be used normally.
  41. whitelist:
  42. enabled: true
  43.  
  44. conditions:
  45. pps: 40
  46. cps: 0
  47. jps: 20
  48.  
  49. time:
  50. # Time in milliseconds the player has to be online to get whitelisted.
  51. whitelist: 5000
  52.  
  53. # Time in milliseconds the lockout runs active after conditions are met.
  54. lockout: 20000
  55.  
  56. commands:
  57. - "disconnect %kick_whitelist%"
  58.  
  59. # This check blocks Blacklisted IPs if conditions are achieved.
  60. blacklist:
  61. enabled: true
  62.  
  63. conditions:
  64. pps: 0
  65. cps: 3
  66. jps: 0
  67.  
  68. commands:
  69. - "disconnect %kick_blacklist%"
  70.  
  71. # Checks if connections have abnormal behaviour to prevent attacks from single IPs.
  72. ratelimit:
  73. enabled: true
  74.  
  75. # Conditions to block a connection. (Connection needs to reach one of this values to get blocked)
  76. # This basically limits how much of this actions a single IP can do per second.
  77. conditions:
  78. pps: 8
  79. cps: 3
  80. jps: 2
  81.  
  82. # Minimum time forced between connections from the same IP. (In milliseconds)
  83. throttle: 650
  84.  
  85. # Max players that can be online at the same time from the same IP.
  86. max_online: 3
  87.  
  88. commands:
  89. - "disconnect %kick_ratelimit%"
  90.  
  91. # Checks if connections have bot nicknames.
  92. nickname:
  93. enabled: true
  94.  
  95. conditions:
  96. pps: 0
  97. cps: 4
  98. jps: 0
  99.  
  100. # Checks if the nickname contains any of this strings.
  101. blacklist:
  102. - "mcspam"
  103. - "mcstorm"
  104. - "mcdrop"
  105. - "IceKiller"
  106. commands:
  107. - "disconnect %kick_nickname%"
  108.  
  109. # Forces connections to reconnect if they arent whitelisted.
  110. reconnect:
  111. enabled: true
  112.  
  113. # Asks to ping before reconnecting to increase protection.
  114. ping: true
  115.  
  116. # Times connections have to reconnect the server.
  117. times: 3
  118.  
  119. conditions:
  120. pps: 0
  121. cps: 3
  122. jps: 0
  123.  
  124. # Time to wait to reconnect for the first time. (In milliseconds)
  125. throttle: 800
  126.  
  127. commands:
  128. - "disconnect %kick_reconnect%"
  129.  
  130. # Blocks connections that didnt send the Settings packet.
  131. # WARNING: Disable if you have false positives with Multi-Lobby and Minechat. (Not recommended)
  132. settings:
  133. enabled: true
  134.  
  135. # Delay after joining to check if player sent Settings packet. (In milliseconds)
  136. delay: 10000
  137.  
  138. conditions:
  139. pps: 0
  140. cps: 0
  141. jps: 0
  142.  
  143. commands:
  144. - "disconnect %kick_settings%"
  145.  
  146. # Blocks connections that chat too fast or in invalid moments.
  147. fastchat:
  148. enabled: true
  149.  
  150. conditions:
  151. pps: 0
  152. cps: 3
  153. jps: 2
  154.  
  155. # Time until the check stops monitoring the player. (In milliseconds)
  156. time: 750
  157.  
  158. commands:
  159. - "disconnect %kick_fastchat%"
  160.  
  161. # Checks if different connections try to register with the same password.
  162. register:
  163. enabled: true
  164.  
  165. conditions:
  166. pps: 0
  167. cps: 0
  168. jps: 0
  169.  
  170. commands:
  171. - "disconnect %kick_register%"
  172.  
  173. # Checks if there are too many different nicknames from the same IP.
  174. accounts:
  175. enabled: true
  176.  
  177. # Max different nicknames a player can login while the check is active.
  178. limit: 2
  179.  
  180. conditions:
  181. pps: 0
  182. cps: 6
  183. jps: 1
  184.  
  185. commands:
  186. - "disconnect %kick_accounts%"
Add Comment
Please, Sign In to add comment