Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.29 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: FlatFile
  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: 'root'
  72. Password: ''
  73. Database: antibotdeluxe
  74. MaximumPoolSize: 10
  75. MinimumIdle: 10
  76. MaximumLifetime: 1800000
  77. ConnectionTimeOut: 5000
  78.  
  79. ###############################
  80. ## Geo ##
  81. ###############################
  82.  
  83. Geographical:
  84. Mode: Blacklist
  85. Countries:
  86. - "Brazil"
  87. - "Indonesia"
  88. - "China"
  89. - "India"
  90. - "South Africa"
  91. - "Taiwan"
  92.  
  93. Firewall:
  94. Enabled: true
  95.  
  96. # apt install ipset
  97. Firewall: IPSet
  98. FirewallSettings:
  99. IPSet:
  100. # How long IPs are blocked
  101. Timeout: 3600
  102.  
  103. AddCommand: "sudo ipset -A proxies %ip%"
  104. RemoveCommand: "sudo ipset -D proxies %ip%"
  105.  
  106. # Flush all rules only added by AntiBotDeluxe on every plugin load.
  107. # Disabled by default to keep rules for following attacks.
  108. Flush: false
  109.  
  110. # Blacklist a IP if they get blacklisted.
  111. # This wont add IP's that are downloaded
  112. # This option allows efficient mitigation of attacks and is recommended.
  113. AddWhenBlacklisted: true
  114.  
  115. ProxyScraper:
  116. Enabled: false
  117. Threads: 350
  118.  
  119. # Toggle proxy types to scrape for.
  120. # SOCKS is more common for bot attacks.
  121. SearchFor:
  122. HTTP: true
  123. SOCKS: true
  124.  
  125.  
  126. ###############################
  127. ## Checks ##
  128. ###############################
  129.  
  130. Checks:
  131. # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
  132. # The default order is highly recommended to keep.
  133.  
  134. Priority:
  135. ServerListPing:
  136. Condition: "ConnectionsPerSecond > 10"
  137. Nameprefix:
  138. Condition: "ConnectionsPerSecond > -1"
  139. SmartHeuristic:
  140. Condition: "ConnectionsPerSecond > 5"
  141. BlacklistCheck:
  142. Condition: "ConnectionsPerSecond > -1"
  143. MaxAccountsPerIP:
  144. Condition: "ConnectionsPerSecond > -1"
  145. ForceRejoin:
  146. Condition: "ConnectionsPerSecond > 1"
  147. MaxPlayersPerIP:
  148. Condition: "ConnectionsPerSecond > -1"
  149. GeoCheck:
  150. Condition: "ConnectionsPerSecond > -1"
  151. ProxyDetection:
  152. Condition: "ConnectionsPerSecond > -1"
  153.  
  154. # 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
  155. MaxAccountsPerIP:
  156. Value: 10
  157. Action: Blacklist
  158.  
  159. MaxPlayersPerIP:
  160. Value: 7
  161.  
  162. Nameprefix:
  163. Blockprefix:
  164. - "MCBot_"
  165. - "MCSpam_"
  166. - "Bot_"
  167.  
  168. # Define the percentage of SmartHeuristic
  169. # The first value has to be reached if its very likely a bot
  170. # The second value has to be reached if its not that likely a bot
  171. # Therefore a higher percentage needs to be reached.
  172. SmartHeuristics:
  173. Percentage: 90.0
  174. Unlikely:
  175. Percentage: 99.0
  176.  
  177. # Enable or disable checks to use the hold dynamic mode for.
  178. # If you do not know what this is, leave it alone.
  179. Hold:
  180. - MaxPlayersPerSecond
  181. - MaxAccountsPerIP
  182. ###############################
  183. ## Blacklist ##
  184. ###############################
  185.  
  186. Blacklist:
  187. # Configure the sites where blacklisted IPs are loaded from.
  188. # The default settings are accurately chosen to be efficient and with few false positives.
  189. Synchronization:
  190. SyncBlacklist: false
  191. DirectAccess:
  192. - "http://lists.blocklist.de/lists/all.txt"
  193. - "http://cinsscore.com/list/ci-badguys.txt"
  194. - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
  195. - "http://blocklist.greensnow.co/greensnow.txt"
  196. - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
  197. ClickAccess:
  198. - "http://proxy-daily.com/"
  199. - "http://www.sslproxies24.top/"
  200. - "http://socksproxylist24.blogspot.ro/"
  201.  
  202. ###############################
  203. ## Proxy ##
  204. ###############################
  205.  
  206. # These sites check if an account is a proxy.
  207. # The condition just disables the site if requirements aren't reached.
  208. #
  209. # HIGHLY RECOMMENDED: Register on https://proxycheck.io/ and get a free API KEY !
  210. # Then replace the URL like this:
  211. # URL: "http://proxycheck.io/v2/%ip%?key=API KEY HERE&vpn=1"
  212.  
  213.  
  214. ProxySettings:
  215. Sites:
  216. '1':
  217. URL: "http://proxycheck.io/v2/%ip%?vpn=1"
  218. Keyword: "\"yes\""
  219. Action: BLACKLIST
  220. '2':
  221. URL: "http://check.getipintel.net/check.php?ip=%ip%&format=json&contact=bustalinojade@gmail.com&flags=m"
  222. Keyword: "\"result\":\"1\""
  223. Action: BLACKLIST
  224. '3':
  225. URL: "http://api.vpnblocker.net/v2/json/%ip%"
  226. Keyword: "\"host-ip\": true"
  227. Action: BLACKLIST
  228. '4':
  229. URL: "http://www.stopforumspam.com/api?ip=%ip%"
  230. Keyword: "<appears>yes</appears>"
  231. Action: KICK
  232.  
  233.  
  234. ###############################
  235. ## Locale ##
  236. ###############################
  237.  
  238. Locale:
  239. # Available presets are English (EN), French (FR), German* (DE), Italian* (IT), Dutch* (NL), Turkish* (TU), Romanian* (RO),
  240. # Messages are configurable over in the messages_locale.yml.
  241. # You can enter the name of your presence here.
  242. # * = Currently in progress - Can not be used
  243. Preset: EN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement