Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.17 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: '&9&lANTIBOT &8┃ &f'
  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: false
  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. - "Unexpected packet received during login process!"
  55. - "[INFO]"
  56. - "[WARNING]"
  57.  
  58. AutoWhitelist:
  59. Enabled: true
  60. ActTime: 240
  61.  
  62. Storage:
  63. # Options Available: MySQL, FlatFile
  64. # If you are only running AntiBotDeluxe on one server, flat-file is recommended.
  65. Mode: FlatFile
  66.  
  67. # Here you can set how the configuration file should update
  68. # Available options: LIVE, FREQUENTLY, NEVER
  69. # FREQUENTLY will cause a minutely update, when set on NEVER the use of /ab reload is needed.
  70. ConfigUpdate: FREQUENTLY
  71.  
  72. MySQL:
  73. Host: '78.46.73.130'
  74. Username: 'root'
  75. Password: ''
  76. Database: 3306
  77. MaximumPoolSize: 10
  78. MinimumIdle: 10
  79. MaximumLifetime: 1800000
  80. ConnectionTimeOut: 5000
  81.  
  82. ###############################
  83. ## Geo ##
  84. ###############################
  85.  
  86. Geographical:
  87. Mode: Whitelist
  88. Countries:
  89. - "Croatia"
  90. - "Montenegro"
  91. - "Slovenia"
  92. - "Albania"
  93. - "Macedonia"
  94. - "Serbia"
  95. - "Austria"
  96. - "England"
  97. - "Deutschland"
  98. - "Germany"
  99. - "Switzerland"
  100. - "Bosnia and Herzegovina"
  101. - "Europa"
  102. - "France"
  103. - "California"
  104. - "United States"
  105. - "United Kingdom"
  106. - "Czech Republic"
  107. - "N/A"
  108. - "Brazil"
  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: true
  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. ForceRejoin:
  155. Condition: "ConnectionsPerSecond > 3"
  156. ProxyDetection:
  157. Condition: "ConnectionsPerSecond > -1"
  158. Nameprefix:
  159. Condition: "ConnectionsPerSecond > 1"
  160. SmartHeuristic:
  161. Condition: "ConnectionsPerSecond > 5"
  162. MaxAccountsPerIP:
  163. Condition: "ConnectionsPerSecond > 1"
  164. MaxPlayersPerIP:
  165. Condition: "ConnectionsPerSecond > 1"
  166. GeoCheck:
  167. Condition: "ConnectionsPerSecond > 2"
  168.  
  169. # 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
  170. MaxAccountsPerIP:
  171. Value: 1
  172. Action: Blacklist
  173.  
  174. MaxPlayersPerIP:
  175. Value: 1
  176.  
  177. Nameprefix:
  178. Blockprefix:
  179. - "MCBOT_"
  180. - "MCbot_"
  181. - "MCBot_"
  182. - "McBot_"
  183. - "Mcbot_"
  184. - "MCSPAM_"
  185. - "MCSpam_"
  186. - "McSpam_"
  187. - "MCSTORM_"
  188. - "MCStorm_"
  189. - "McStorm_"
  190. - "MCDESTROYER_"
  191. - "MCDestroyer_"
  192. - "McDestroyer_"
  193. - "DESTROYER_"
  194. - "Destroyer_"
  195. - "SHITANTIBOT_"
  196. - "ShitAntiBot_"
  197. - "ShitAntibot_"
  198. - "SHITSERVER_"
  199. - "ShitServer_"
  200. - "BOTATTACK_"
  201. - "BotAttack_"
  202. - "AMAZINGATTACK_"
  203. - "AmazingAttack_"
  204. - "BotAttack_"
  205. - "DOWN_"
  206. - "Down_"
  207. - "BOT_"
  208. - "Bot_"
  209.  
  210. # Define the percentage of SmartHeuristic
  211. # The first value has to be reached if its very likely a bot
  212. # The second value has to be reached if its not that likely a bot
  213. # Therefore a higher percentage needs to be reached.
  214. SmartHeuristics:
  215. Percentage: 90.0
  216. Unlikely:
  217. Percentage: 99.0
  218.  
  219. # Enable or disable checks to use the hold dynamic mode for.
  220. # If you do not know what this is, leave it alone.
  221. Hold:
  222. - MaxPlayersPerSecond
  223. - MaxAccountsPerIP
  224. ###############################
  225. ## Blacklist ##
  226. ###############################
  227.  
  228. Blacklist:
  229. # Configure the sites where blacklisted IPs are loaded from.
  230. # The default settings are accurately chosen to be efficient and with few false positives.
  231. Synchronization:
  232. SyncBlacklist: true
  233. DirectAccess:
  234. - "http://lists.blocklist.de/lists/all.txt"
  235. - "http://cinsscore.com/list/ci-badguys.txt"
  236. - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
  237. - "http://blocklist.greensnow.co/greensnow.txt"
  238. - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
  239. ClickAccess:
  240. - "http://proxy-daily.com/"
  241. - "http://www.sslproxies24.top/"
  242. - "http://socksproxylist24.blogspot.ro/"
  243. - "https://www.proxy-list.download/HTTPS"
  244.  
  245. ###############################
  246. ## Proxy ##
  247. ###############################
  248.  
  249. # These sites check if an account is a proxy.
  250. # The condition just disables the site if requirements aren't reached.
  251. #
  252. # HIGHLY RECOMMENDED: Register on https://proxycheck.io/ and get a free API KEY !
  253. # Then replace the URL like this:
  254. # URL: "http://proxycheck.io/v2/%ip%?key=API KEY HERE&vpn=1"
  255.  
  256.  
  257. ProxySettings:
  258. Sites:
  259. '1':
  260. URL: "http://proxycheck.io/v2/%ip%?vpn=1"
  261. Keyword: "\"yes\""
  262. Action: BLACKLIST
  263. '2':
  264. URL: "http://check.getipintel.net/check.php?ip=%ip%&format=json&9ontact=hello@yourmail.com&flags=m"
  265. Keyword: "\"result\":\"1\""
  266. Action: BLACKLIST
  267. '3':
  268. URL: "http://api.vpnblocker.net/v2/json/%ip%"
  269. Keyword: "\"host-ip\": true"
  270. Action: BLACKLIST
  271. '4':
  272. URL: "http://www.stopforumspam.com/api?ip=%ip%"
  273. Keyword: "<appears>yes</appears>"
  274. Action: KICK
  275.  
  276.  
  277. ###############################
  278. ## Locale ##
  279. ###############################
  280.  
  281. Locale:
  282. # Available presets are English (EN), French (FR), German* (DE), Italian* (IT), Dutch* (NL), Turkish* (TU), Romanian* (RO),
  283. # Messages are configurable over in the messages_locale.yml.
  284. # You can enter the name of your presence here.
  285. # * = Currently in progress - Can not be used
  286. Preset: EN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement