Advertisement
Guest User

Untitled

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