Advertisement
Guest User

Untitled

a guest
Dec 1st, 2018
598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.96 KB | None | 0 0
  1. # _ _ ____ _ _____ _
  2. # /\ | | (_) _ \ | | | __ \ | |
  3. # / \ _ __ | |_ _| |_) | ___ | |_| | | | ___| |_ ___ _____
  4. # / /\ \ | '_ \| __| | _ < / _ \| __| | | |/ _ \ | | | \ \/ / _ \
  5. # / ____ \| | | | |_| | |_) | (_) | |_| |__| | __/ | |_| |> < __/
  6. # /_/ \_\_| |_|\__|_|____/ \___/ \__|_____/ \___|_|\__,_/_/\_\___|
  7. #
  8.  
  9.  
  10. ###############################
  11. ## Info ##
  12. ###############################
  13.  
  14. # FAQ: https://antibotdeluxe.com/webpanel/faq
  15. # Web Panel: 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. # Some IMPORTANT options of the plugin is only available via the WEB PANEL.
  24.  
  25. Version: 9
  26.  
  27.  
  28. ###############################
  29. ## General ##
  30. ###############################
  31.  
  32. General:
  33. # The prefix of all messages.
  34. Prefix: '&7✔ &a'
  35. # Enable or disable the AntiBotDeluxe log. If this is disabled, you will not receive support, as essential data is contained here.
  36. Log: true
  37. # You must enable this if you use a modified proxy, eg Waterfall, Hexacord or Travertine.
  38. Log4J: false
  39. # If enabled the Console will be spammed with for you useless Developer stuff
  40. Debug: false
  41. # Should we show a animation while there is no attack?
  42. Animation: true
  43. # Let Whitelisted players pass
  44. Whitelist: true
  45.  
  46. ConsoleFilter:
  47. - "logged in with entity id"
  48. - "com.mojang.authlib.GameProfile@"
  49. - "lost connection"
  50. - "timed"
  51. - "reset"
  52. - "UUID of player"
  53. - "InitialHandler"
  54. - "UpstreamBridge has disconnected"
  55.  
  56. Statistics:
  57. AttackAlert:
  58. Enabled: true
  59. # If enabled it will alert everyone with the permission antibotdeluxe.alert even without /ab toggle
  60. AlertPerm: true
  61. Interval: 15
  62. TriggerAmount: 5
  63. BlacklistAlert:
  64. Enabled: true
  65. # If enabled it will alert everyone with the permission antibotdeluxe.alert even without /ab toggle
  66. AlertPerm: true
  67. Interval: 15
  68. AutoWhitelist:
  69. Enabled: true
  70. ActTime: 120
  71.  
  72. Storage:
  73. # Options Available: MySQL, FlatFile
  74. # If you are only running AntiBotDeluxe on one server, flat-file is recommended.
  75. Mode: FlatFile
  76.  
  77. # Here you can set how the configuration file should update
  78. # Available options: LIVE, FREQUENTLY, NEVER
  79. # FREQUENTLY will cause a minutely update, when set on NEVER the use of /ab reload is needed.
  80. ConfigUpdate: FREQUENTLY
  81.  
  82. MySQL:
  83. Host: '127.0.0.1'
  84. Username: 'root'
  85. Password: ''
  86. Database: antibotdeluxe
  87. MaximumPoolSize: 10
  88. MinimumIdle: 10
  89. MaximumLifetime: 1800000
  90. ConnectionTimeOut: 5000
  91.  
  92. ###############################
  93. ## Geo ##
  94. ###############################
  95.  
  96. Geographical:
  97. Mode: Blacklist
  98. Countries:
  99. - "N/A"
  100. - "Anonymous Proxy"
  101. - "Other Country"
  102. - "Andorra"
  103. - "United Arab Emirates"
  104. - "Afghanistan"
  105. - "Antigua and Barbuda"
  106. - "Anguilla"
  107. - "Bangladesh"
  108. - "Brazil"
  109. - "Belize"
  110. - "China"
  111. - "Congo, The Democratic Republic of the"
  112. - "Czech Republic"
  113. - "Denmark"
  114. - "Egypt"
  115. - "Ethiopia"
  116. - "Guam"
  117. - "Hong Kong"
  118. - "Haiti"
  119. - "Indonesia"
  120. - "India"
  121. - "Iraq"
  122. - "Iran, Islamic Republic of"
  123. - "Kenya"
  124. - "Korea, Democratic People's Republic of"
  125. - "Korea, Republic of"
  126. - "Luxembourg"
  127. - "Malaysia"
  128. - "Mongolia"
  129. - "Nigeria"
  130. - "Philippines"
  131. - "Pakistan"
  132. - "Poland"
  133. - "Romania"
  134. - "Serbia"
  135. - "Russian Federation"
  136. - "Rwanda"
  137. - "Singapore"
  138. - "Slovenia"
  139. - "Slovakia"
  140. - "Thailand"
  141. - "Turkey"
  142. - "Taiwan"
  143. - "Ukraine"
  144. - "Uzbekistan"
  145. - "Vietnam"
  146. - "Yemen"
  147. - "Mayotte"
  148. - "South Africa"
  149. - "Zambia"
  150. - "Zimbabwe"
  151.  
  152. IPTables:
  153. Enabled: true
  154.  
  155. AddCommand: "sudo iptables -A INPUT -s %ips% -j DROP -m comment --comment \"AntiBotDeluxe\" -w"
  156. RemoveCommand: "sudo iptables -D INPUT -s %ips% -j DROP -m comment --comment \"AntiBotDeluxe\" -w"
  157.  
  158. # Flush all rules only added by AntiBotDeluxe on every plugin load.
  159. # Disabled by default to keep rules for following attacks.
  160. Flush: false
  161.  
  162. # Blacklist a IP if they get blacklisted.
  163. # This wont add IP's that are downloaded
  164. # This option allows efficient mitigation of attacks and is recommended.
  165. AddWhenBlacklisted: true
  166.  
  167. # Get IPTables to limit the speed of joins.
  168. # This is highly recommended to block sources of mass bot joins.
  169. ConnectLimit:
  170. Enabled: true
  171. # When set to AUTOMATIC the Plugin will try to get the Server's Port automatically
  172. ServerPort: AUTOMATIC
  173. Limit: 3
  174.  
  175. ProxyScraper:
  176. Enabled: false
  177. Threads: 350
  178.  
  179. # Toggle proxy types to scrape for.
  180. # SOCKS is more common for bot attacks.
  181. SearchFor:
  182. HTTP: true
  183. SOCKS: true
  184.  
  185.  
  186. ###############################
  187. ## Checks ##
  188. ###############################
  189.  
  190. Checks:
  191. # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
  192. # The default order is highly recommended to keep.
  193. Priority:
  194. - MaxPlayersPerIP
  195. - MaxAccountsPerIP
  196. - MaxConnectionsPerSecond
  197. - MaxPlayersPerSecond
  198. - APNCheck
  199. - GeoCheck
  200. - ForceRejoin
  201. - Condition01
  202. - ProxyDetection
  203. - DNSBLCheck
  204.  
  205. # Those checks will be executed before everything else, bots kicked by this will neither be logged or announced in any way.
  206. # This is made to take stress of the server and help handle the attack
  207. # All PreChecks will be ran by DeluxeAI workers.
  208. PreChecks:
  209. Checks:
  210. - ServerListPing
  211. - BlacklistCheck
  212. - Nameprefix
  213. - SmartHeuristic
  214. - BlacklistCheck
  215. - ProxyDetection
  216. - ForceRejoin
  217. # Can be set to NONE if it does not want to be used
  218. Condition: Condition01
  219.  
  220.  
  221. # This check looks how often the same IP tries to connect per second
  222. MaxConnectionsPerSecond:
  223. Value: 3
  224.  
  225. # 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
  226. MaxAccountsPerIP:
  227. Value: 3
  228. Action: Blacklist
  229.  
  230. MaxPlayersPerIP:
  231. Value: 2
  232.  
  233. # Remember in default config this is just a condition
  234. MaxPlayersPerSecond:
  235. Value: 3
  236.  
  237. Nameprefix:
  238. Blockprefix:
  239. - "MCBot_"
  240. - "MCSpam_"
  241.  
  242. # Define the percentage of SmartHeuristic
  243. # The first value has to be reached if its very likely a bot
  244. # The second value has to be reached if its not that likely a bot
  245. # Therefore a higher percentage needs to be reached.
  246. SmartHeuristics:
  247. Percentage: 80.0
  248. Unlikely:
  249. Percentage: 99.0
  250.  
  251. # Enable or disable checks to use the hold dynamic mode for.
  252. # If you do not know what this is, leave it alone.
  253. Hold:
  254. - MaxPlayersPerSecond
  255. - MaxAccountsPerIP
  256. - MaxConnectionsPerSecond
  257.  
  258. # Enable or disable checks to use the conditional dynamic checks for.
  259. # If you do not know what this is, leave it alone.
  260. Conditional:
  261. '01':
  262. - MaxPlayersPerSecond
  263.  
  264. ###############################
  265. ## Blacklist ##
  266. ###############################
  267.  
  268. Blacklist:
  269. # Configure the sites where blacklisted IPs are loaded from.
  270. # The default settings are accurately chosen to be efficient and with few false positives.
  271. Synchronization:
  272. SyncBlacklist: false
  273. DirectAccess:
  274. - "http://lists.blocklist.de/lists/all.txt"
  275. - "http://cinsscore.com/list/ci-badguys.txt"
  276. - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
  277. - "http://blocklist.greensnow.co/greensnow.txt"
  278. - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
  279. ClickAccess:
  280. - "http://proxy-daily.com/"
  281. - "http://www.sslproxies24.top/"
  282. - "http://socksproxylist24.blogspot.ro/"
  283.  
  284. # You can control the blocked APNs here.
  285. # If you do not know what this is, leave it alone.
  286. APN:
  287. - OVH
  288. - INFOLINK
  289. - TELEF
  290. - CHINANET
  291. - GoDaddy
  292. - PARSONLINE
  293. - "CORPORACION NACIONAL"
  294. - contabo
  295. - server
  296. - "TWC Central"
  297. - "USA COMPANIES"
  298. - "Fibrenoire"
  299. - "Fibrenoire Inc."
  300.  
  301. ###############################
  302. ## Proxy ##
  303. ###############################
  304.  
  305. # These sites check if an account is a proxy.
  306. # The condition just disables the site if requirements aren't reached.
  307. ProxySettings:
  308. Sites:
  309. '1':
  310. # URL: "http://www.stopforumspam.com/api?ip=%ip%"
  311. # Keyword: "<appears>yes</appears>"
  312. # Action: KICK
  313. # '2':
  314. # URL: "http://www.shroomery.org/ythan/proxycheck.php?ip=%ip%"
  315. # Keyword: "Y"
  316. # Action: KICK
  317. '1':
  318. URL: "http://proxycheck.io/v2/%ip%&vpn=1"
  319. Keyword: "\"yes\""
  320. Action: KICK
  321. # '4':
  322. # URL: "http://botscout.com/test/?ip=%ip%"
  323. # Keyword: "Y"
  324. # Action: KICK
  325. '2':
  326. URL: "http://api.antibotdeluxe.com/system/1/check?ip=%ip%"
  327. Keyword: "\"1\""
  328. Action: KICK
  329. Condition: PLUS
  330.  
  331. DNSBL:
  332. Services:
  333. # Confirmed Proxies
  334. - "dnsbl.proxybl.org"
  335. # Zombie Networks
  336. - "zombie.dnsbl.sorbs.net"
  337. # HTTP Proxies
  338. - "http.dnsbl.sorbs.net"
  339. # Socks Proxies
  340. - "socks.dnsbl.sorbs.net"
  341. # Misc Proxies
  342. - "misc.dnsbl.sorbs.net"
  343. # XBL
  344. - "xbl.spamhaus.org"
  345.  
  346. ###############################
  347. ## Locale ##
  348. ###############################
  349.  
  350. Locale:
  351. # Available presets are English (EN), German (DE), French (FR), Italian (IT), Dutch (NL), Turkish (TU), Romanian (RO),
  352. # Messages are configurable over in the messages_locale.yml.
  353. # You can enter the name of your presence here.
  354. # NOT SUPPORTED IN BETA VERSIONS!
  355. Preset: EN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement