Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.76 KB | None | 0 0
  1. # _ _ ____ _ _____ _
  2. # /\ | | (_) _ \ | | | __ \ | |
  3. # / \ _ __ | |_ _| |_) | ___ | |_| | | | ___| |_ ___ _____
  4. # / /\ \ | '_ \| __| | _ < / _ \| __| | | |/ _ \ | | | \ \/ / _ \
  5. # / ____ \| | | | |_| | |_) | (_) | |_| |__| | __/ | |_| |> < __/
  6. # /_/ \_\_| |_|\__|_|____/ \___/ \__|_____/ \___|_|\__,_/_/\_\___|
  7. #
  8.  
  9.  
  10. ###############################
  11. ## Info ##
  12. ###############################
  13.  
  14. # FAQ (Offline): https://antibotdeluxe.com/webpanel/faq
  15. # Web Panel (Offline): https://antibotdeluxe.com/webpanel/
  16. # Discord: https://discord.gg/xTAzMCx
  17.  
  18. # If you require support, join our Discord as that is the ONLY location that we provide it.
  19. # Anonymous statistics are sent to bStats.
  20.  
  21. # Thank you for purchasing AntiBotDeluxe.
  22. # The default config requires very little configuring to make it fit your server.
  23.  
  24. Version: 10
  25.  
  26.  
  27. ###############################
  28. ## General ##
  29. ###############################
  30.  
  31. General:
  32. # The prefix of all messages.
  33. Prefix: '&7AntiBot&bDeluxe &8» &7'
  34. # Enable or disable the AntiBotDeluxe log. If this is disabled, you will not receive support, as essential data is contained here.
  35. Log: true
  36. # You must enable this if you use a modified proxy, eg Waterfall, Hexacord or Travertine.
  37. Log4J: false
  38. # If enabled the Console will be spammed with for you useless Developer stuff
  39. Debug: false
  40. # Should we show a animation while there is no attack?
  41. Animation: true
  42. # Let Whitelisted players pass
  43. Whitelist: true
  44.  
  45. ConsoleFilter:
  46. - "logged in with entity id"
  47. - "com.mojang.authlib.GameProfile@"
  48. - "lost connection"
  49. - "timed"
  50. - "reset"
  51. - "UUID of player"
  52. - "InitialHandler"
  53. - "UpstreamBridge has disconnected"
  54.  
  55. AutoWhitelist:
  56. Enabled: true
  57. ActTime: 240
  58.  
  59. Storage:
  60. # Options Available: MySQL, FlatFile
  61. # If you are only running AntiBotDeluxe on one server, flat-file is recommended.
  62. Mode: MySQL
  63.  
  64. # Here you can set how the configuration file should update
  65. # Available options: LIVE, FREQUENTLY, NEVER
  66. # FREQUENTLY will cause a minutely update, when set on NEVER the use of /ab reload is needed.
  67. ConfigUpdate: FREQUENTLY
  68.  
  69. MySQL:
  70. Host: '127.0.0.1'
  71. Username: '***********'
  72. Password: '***********'
  73. Database: ***********
  74. MaximumPoolSize: 10
  75. MinimumIdle: 10
  76. MaximumLifetime: 1800000
  77. ConnectionTimeOut: 5000
  78.  
  79. ###############################
  80. ## Geo ##
  81. ###############################
  82.  
  83. Geographical:
  84. Mode: WHITELIST
  85. Countries:
  86. - "Guadeloupe"
  87. - "Canada"
  88. - "France"
  89. - "French Guiana"
  90. - "France Metropolitan"
  91. - "French Polynesia"
  92. - "Reunion"
  93. - "Réunion"
  94. - "Algeria"
  95. - "Belgium"
  96. - "Switzerland"
  97. - "Benin"
  98. - "Mayotte"
  99. - "Saint Pierre and Miquelon"
  100. - "Saint Barthélemy"
  101. - "Burkina Faso"
  102. - "Côte d'Ivoire"
  103. - "Guinea-Bissau"
  104. - "Mali"
  105. - "Niger"
  106. - "Senegal"
  107. - "Togo"
  108. - "Martinique"
  109.  
  110. Firewall:
  111. Enabled: true
  112.  
  113. # apt install ipset
  114. Firewall: IPSet
  115. FirewallSettings:
  116. IPSet:
  117. # How long IPs are blocked
  118. Timeout: 3600
  119.  
  120. AddCommand: "sudo ipset -A proxies %ip%"
  121. RemoveCommand: "sudo ipset -D proxies %ip%"
  122.  
  123. # Flush all rules only added by AntiBotDeluxe on every plugin load.
  124. # Disabled by default to keep rules for following attacks.
  125. Flush: false
  126.  
  127. # Blacklist a IP if they get blacklisted.
  128. # This wont add IP's that are downloaded
  129. # This option allows efficient mitigation of attacks and is recommended.
  130. AddWhenBlacklisted: true
  131.  
  132. ProxyScraper:
  133. Enabled: false
  134. Threads: 350
  135.  
  136. # Toggle proxy types to scrape for.
  137. # SOCKS is more common for bot attacks.
  138. SearchFor:
  139. HTTP: true
  140. SOCKS: true
  141.  
  142.  
  143. ###############################
  144. ## Checks ##
  145. ###############################
  146.  
  147. Checks:
  148. # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
  149. # The default order is highly recommended to keep.
  150.  
  151. Priority:
  152. BlacklistCheck:
  153. Condition: "ConnectionsPerSecond > -1"
  154. MaxAccountsPerIP:
  155. Condition: "ConnectionsPerSecond > -1"
  156. ServerListPing:
  157. Condition: "ConnectionsPerSecond > 10"
  158. Nameprefix:
  159. Condition: "ConnectionsPerSecond > -1"
  160. SmartHeuristic:
  161. Condition: "ConnectionsPerSecond > 5"
  162. ForceRejoin:
  163. Condition: "ConnectionsPerSecond > 1"
  164. MaxPlayersPerIP:
  165. Condition: "ConnectionsPerSecond > -1"
  166. GeoCheck:
  167. Condition: "ConnectionsPerSecond > -1"
  168. ProxyDetection:
  169. Condition: "ConnectionsPerSecond > -1"
  170.  
  171. # This is looking on how often a IP tries to connect with different names in a specific time, other then MaxPlayersPerIP this is not checking the online players
  172. MaxAccountsPerIP:
  173. Value: 3
  174. Action: Blacklist
  175.  
  176. MaxPlayersPerIP:
  177. Value: 2
  178.  
  179. Nameprefix:
  180. Blockprefix:
  181. - "MCBot_"
  182. - "MCSpam_"
  183. - "Bot_"
  184.  
  185. # Define the percentage of SmartHeuristic
  186. # The first value has to be reached if its very likely a bot
  187. # The second value has to be reached if its not that likely a bot
  188. # Therefore a higher percentage needs to be reached.
  189. SmartHeuristics:
  190. Percentage: 90.0
  191. Unlikely:
  192. Percentage: 99.0
  193.  
  194. # Enable or disable checks to use the hold dynamic mode for.
  195. # If you do not know what this is, leave it alone.
  196. Hold:
  197. - MaxPlayersPerSecond
  198. - MaxAccountsPerIP
  199. ###############################
  200. ## Blacklist ##
  201. ###############################
  202.  
  203. Blacklist:
  204. # Configure the sites where blacklisted IPs are loaded from.
  205. # The default settings are accurately chosen to be efficient and with few false positives.
  206. Synchronization:
  207. SyncBlacklist: false
  208. DirectAccess:
  209. - "http://lists.blocklist.de/lists/all.txt"
  210. - "http://cinsscore.com/list/ci-badguys.txt"
  211. - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
  212. - "http://blocklist.greensnow.co/greensnow.txt"
  213. - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
  214. ClickAccess:
  215. - "http://proxy-daily.com/"
  216. - "http://www.sslproxies24.top/"
  217. - "http://socksproxylist24.blogspot.ro/"
  218.  
  219. ###############################
  220. ## Proxy ##
  221. ###############################
  222.  
  223. # These sites check if an account is a proxy.
  224. # The condition just disables the site if requirements aren't reached.
  225. #
  226. # HIGHLY RECOMMENDED: Register on https://proxycheck.io/ and get a free API KEY !
  227. # Then replace the URL like this:
  228. # URL: "http://proxycheck.io/v2/%ip%?key=API KEY HERE&vpn=1"
  229.  
  230.  
  231. ProxySettings:
  232. Sites:
  233. '1':
  234. URL: "http://proxycheck.io/v2/%ip%?vpn=1"
  235. Keyword: "\"yes\""
  236. Action: BLACKLIST
  237. '2':
  238. URL: "http://check.getipintel.net/check.php?ip=%ip%&format=json&contact=hello@yourmail.com&flags=m"
  239. Keyword: "\"result\":\"1\""
  240. Action: BLACKLIST
  241. '3':
  242. URL: "http://api.vpnblocker.net/v2/json/%ip%"
  243. Keyword: "\"host-ip\": true"
  244. Action: BLACKLIST
  245. '4':
  246. URL: "http://www.shroomery.org/ythan/proxycheck.php?ip=%ip%"
  247. Keyword: "Y"
  248. Action: KICK
  249. '5':
  250. URL: "http://www.stopforumspam.com/api?ip=%ip%"
  251. Keyword: "<appears>yes</appears>"
  252. Action: KICK
  253.  
  254.  
  255. ###############################
  256. ## Locale ##
  257. ###############################
  258.  
  259. Locale:
  260. # Available presets are English (EN), French (FR), German* (DE), Italian* (IT), Dutch* (NL), Turkish* (TU), Romanian* (RO),
  261. # Messages are configurable over in the messages_locale.yml.
  262. # You can enter the name of your presence here.
  263. # * = Currently in progress - Can not be used
  264. Preset: EN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement