Advertisement
Guest User

Untitled

a guest
Jan 12th, 2019
1,663
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.18 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: ''
  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: Blacklist
  85. Countries:
  86. - "N/A"
  87. - "Anonymous Proxy"
  88. - "Other Country"
  89. - "Andorra"
  90. - "United Arab Emirates"
  91. - "Afghanistan"
  92. - "Antigua and Barbuda"
  93. - "Anguilla"
  94. - "Bangladesh"
  95. - "Brazil"
  96. - "Belize"
  97. - "China"
  98. - "Congo, The Democratic Republic of the"
  99. - "Czech Republic"
  100. - "Denmark"
  101. - "Egypt"
  102. - "Ethiopia"
  103. - "Guam"
  104. - "Hong Kong"
  105. - "Haiti"
  106. - "Indonesia"
  107. - "India"
  108. - "Iraq"
  109. - "Iran, Islamic Republic of"
  110. - "Kenya"
  111. - "Korea, Democratic People's Republic of"
  112. - "Korea, Republic of"
  113. - "Luxembourg"
  114. - "Malaysia"
  115. - "Mongolia"
  116. - "Nigeria"
  117. - "Philippines"
  118. - "Pakistan"
  119. - "Poland"
  120. - "Romania"
  121. - "Serbia"
  122. - "Russian Federation"
  123. - "Rwanda"
  124. - "Singapore"
  125. - "Slovenia"
  126. - "Slovakia"
  127. - "Thailand"
  128. - "Turkey"
  129. - "Taiwan"
  130. - "Ukraine"
  131. - "Uzbekistan"
  132. - "Vietnam"
  133. - "Yemen"
  134. - "Mayotte"
  135. - "South Africa"
  136. - "Zambia"
  137. - "Zimbabwe"
  138.  
  139. Firewall:
  140. Enabled: true
  141.  
  142. # apt install ipset
  143. Firewall: IPSet
  144. FirewallSettings:
  145. IPSet:
  146. # How long IPs are blocked
  147. Timeout: 3600
  148.  
  149. AddCommand: "sudo ipset -A proxies %ip%"
  150. RemoveCommand: "sudo ipset -D proxies %ip%"
  151.  
  152. # Flush all rules only added by AntiBotDeluxe on every plugin load.
  153. # Disabled by default to keep rules for following attacks.
  154. Flush: false
  155.  
  156. # Blacklist a IP if they get blacklisted.
  157. # This wont add IP's that are downloaded
  158. # This option allows efficient mitigation of attacks and is recommended.
  159. AddWhenBlacklisted: true
  160.  
  161. ProxyScraper:
  162. Enabled: true
  163. Threads: 350
  164.  
  165. # Toggle proxy types to scrape for.
  166. # SOCKS is more common for bot attacks.
  167. SearchFor:
  168. HTTP: true
  169. SOCKS: true
  170.  
  171.  
  172. ###############################
  173. ## Checks ##
  174. ###############################
  175.  
  176. Checks:
  177. # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
  178. # The default order is highly recommended to keep.
  179.  
  180. Priority:
  181. ServerListPing:
  182. Condition: "ConnectionsPerSecond > 10"
  183. Nameprefix:
  184. Condition: "ConnectionsPerSecond > -1"
  185. SmartHeuristic:
  186. Condition: "ConnectionsPerSecond > 5"
  187. BlacklistCheck:
  188. Condition: "ConnectionsPerSecond > -1"
  189. MaxAccountsPerIP:
  190. Condition: "ConnectionsPerSecond > -1"
  191. ForceRejoin:
  192. Condition: "ConnectionsPerSecond > 1"
  193. MaxPlayersPerIP:
  194. Condition: "ConnectionsPerSecond > -1"
  195. GeoCheck:
  196. Condition: "ConnectionsPerSecond > -1"
  197. ProxyDetection:
  198. Condition: "ConnectionsPerSecond > -1"
  199.  
  200. # 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
  201. MaxAccountsPerIP:
  202. Value: 2
  203. Action: Blacklist
  204.  
  205. MaxPlayersPerIP:
  206. Value: 2
  207.  
  208. Nameprefix:
  209. Blockprefix:
  210. - "MCBot_"
  211. - "MCSpam_"
  212. - "Bot_"
  213.  
  214. # Define the percentage of SmartHeuristic
  215. # The first value has to be reached if its very likely a bot
  216. # The second value has to be reached if its not that likely a bot
  217. # Therefore a higher percentage needs to be reached.
  218. SmartHeuristics:
  219. Percentage: 90.0
  220. Unlikely:
  221. Percentage: 99.0
  222.  
  223. # Enable or disable checks to use the hold dynamic mode for.
  224. # If you do not know what this is, leave it alone.
  225. Hold:
  226. - MaxPlayersPerSecond
  227. - MaxAccountsPerIP
  228. ###############################
  229. ## Blacklist ##
  230. ###############################
  231.  
  232. Blacklist:
  233. # Configure the sites where blacklisted IPs are loaded from.
  234. # The default settings are accurately chosen to be efficient and with few false positives.
  235. Synchronization:
  236. SyncBlacklist: true
  237. DirectAccess:
  238. - "http://lists.blocklist.de/lists/all.txt"
  239. - "http://cinsscore.com/list/ci-badguys.txt"
  240. - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
  241. - "http://blocklist.greensnow.co/greensnow.txt"
  242. - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
  243. ClickAccess:
  244. - "http://proxy-daily.com/"
  245. - "http://www.sslproxies24.top/"
  246. - "http://socksproxylist24.blogspot.ro/"
  247.  
  248. ###############################
  249. ## Proxy ##
  250. ###############################
  251.  
  252. # These sites check if an account is a proxy.
  253. # The condition just disables the site if requirements aren't reached.
  254. #
  255. # HIGHLY RECOMMENDED: Register on https://proxycheck.io/ and get a free API KEY !
  256. # Then replace the URL like this:
  257. # URL: "http://proxycheck.io/v2/%ip%?key=API KEY HERE&vpn=1"
  258.  
  259.  
  260. ProxySettings:
  261. Sites:
  262. '1':
  263. URL: "http://proxycheck.io/v2/%ip%?vpn=1"
  264. Keyword: "\"yes\""
  265. Action: BLACKLIST
  266. '2':
  267. URL: "http://check.getipintel.net/check.php?ip=%ip%&format=json&contact=hello@yourmail.com&flags=m"
  268. Keyword: "\"result\":\"1\""
  269. Action: BLACKLIST
  270. '3':
  271. URL: "http://api.vpnblocker.net/v2/json/%ip%"
  272. Keyword: "\"host-ip\": true"
  273. Action: BLACKLIST
  274. '4':
  275. URL: "http://www.stopforumspam.com/api?ip=%ip%"
  276. Keyword: "<appears>yes</appears>"
  277. Action: KICK
  278.  
  279.  
  280. ###############################
  281. ## Locale ##
  282. ###############################
  283.  
  284. Locale:
  285. # Available presets are English (EN), French (FR), German* (DE), Italian* (IT), Dutch* (NL), Turkish* (TU), Romanian* (RO),
  286. # Messages are configurable over in the messages_locale.yml.
  287. # You can enter the name of your presence here.
  288. # * = Currently in progress - Can not be used
  289. Preset: IT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement