Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.60 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: '&7Anti&bBot &8» &7'
  35. # Enable or disable the AntiBotDeluxe log. If this is disabled, you will not receive support, as essential data is contained here.
  36. Log: false
  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.  
  44. # Default values have been tested
  45. SmartCooldown:
  46. # Makes sure the server does not overload.
  47. MaxChecks: 300
  48. Message: "&7Le serveur est &lsurchargé"
  49. Message2: "&7%animation%"
  50.  
  51. # BungeeCord only --
  52. BungeeCord:
  53. # Here you can set how many Threads one check is allowed to use.
  54. Threads: 5
  55.  
  56. ConsoleFilter:
  57. - "logged in with entity id"
  58. - "com.mojang.authlib.GameProfile@"
  59. - "lost connection"
  60. - "timed"
  61. - "reset"
  62. - "UUID of player"
  63. - "InitialHandler"
  64. - "UpstreamBridge has disconnected"
  65.  
  66. Statistics:
  67. AttackAlert:
  68. Enabled: true
  69. # If enabled it will alert everyone with the permission antibotdeluxe.alert even without /ab toggle
  70. AlertPerm: true
  71. Interval: 15
  72. TriggerAmount: 5
  73. BlacklistAlert:
  74. Enabled: true
  75. # If enabled it will alert everyone with the permission antibotdeluxe.alert even without /ab toggle
  76. AlertPerm: true
  77. Interval: 15
  78. AutoWhitelist:
  79. Enabled: true
  80. ActTime: 5
  81.  
  82. Storage:
  83. # Options Available: MySQL, FlatFile
  84. # If you are only running AntiBotDeluxe on one server, flat-file is recommended.
  85. Mode: FlatFile
  86.  
  87. # Here you can set how the configuration file should update
  88. # Available options: LIVE, FREQUENTLY, NEVER
  89. # FREQUENTLY will cause a minutely update, when set on NEVER the use of /ab reload is needed.
  90. ConfigUpdate: FREQUENTLY
  91.  
  92. MySQL:
  93. Host: '127.0.0.1'
  94. Username: ''
  95. Password: ''
  96. Database:
  97. MaximumPoolSize: 10
  98. MinimumIdle: 10
  99. MaximumLifetime: 1800000
  100. ConnectionTimeOut: 5000
  101.  
  102. ###############################
  103. ## Geo ##
  104. ###############################
  105.  
  106. Geographical:
  107. Mode: Whitelist
  108. Countries:
  109. - "N/A"
  110. - "Australia"
  111. - "Belgium"
  112. - "Benin"
  113. - "Burkina Faso"
  114. - "Saint Bartelemey"
  115. - "Congo"
  116. - "Switzerland"
  117. - "Cote d'Ivoire"
  118. - "Germany"
  119. - "Algeria"
  120. - "Spain"
  121. - "Europe"
  122. - "France"
  123. - "French Guiana"
  124. - "Guadeloupe"
  125. - "Guyana"
  126. - "Italy"
  127. - "Luxembourg"
  128. - "Monaco"
  129. - "Saint Martin"
  130. - "Martinique"
  131. - "New Caledonia"
  132. - "Niger"
  133. - "Nigeria"
  134. - "French Polynesia"
  135. - "Philippines"
  136. - "Portugal"
  137. - "Seychelles"
  138. - "Slovakia"
  139. - "Senegal"
  140. - "French Southern Territories"
  141. - "Tunisia"
  142. - "United States"
  143. - "Mayotte"
  144. - "South Africa"
  145. - "Satellite Provider"
  146. - "United Kingdom"
  147. - "Croatia"
  148. - "Canada"
  149. - "Réunion"
  150. - "Reunion"
  151. - "Turkey"
  152. - "Morocco"
  153. - "Thailand"
  154.  
  155. IPTables:
  156. Enabled: true
  157.  
  158. AddCommand: "sudo iptables -A INPUT -s %ips% -j DROP -m comment --comment \"AntiBotDeluxe\" -w"
  159. RemoveCommand: "sudo iptables -D INPUT -s %ips% -j DROP -m comment --comment \"AntiBotDeluxe\" -w"
  160.  
  161. # Flush all rules only added by AntiBotDeluxe on every plugin load.
  162. # Disabled by default to keep rules for following attacks.
  163. Flush: false
  164.  
  165. # Blacklist a IP if they get blacklisted.
  166. # This wont add IP's that are downloaded
  167. # This option allows efficient mitigation of attacks and is recommended.
  168. AddWhenBlacklisted: true
  169.  
  170. # Get IPTables to limit the speed of joins.
  171. # This is highly recommended to block sources of mass bot joins.
  172. ConnectLimit:
  173. Enabled: true
  174. # When set to AUTOMATIC the Plugin will try to get the Server's Port automatically
  175. ServerPort: AUTOMATIC
  176. Limit: 3
  177.  
  178. ProxyScraper:
  179. Enabled: true
  180. Threads: 350
  181.  
  182. # Toggle proxy types to scrape for.
  183. # SOCKS is more common for bot attacks.
  184. SearchFor:
  185. HTTP: true
  186. SOCKS: true
  187.  
  188.  
  189. ###############################
  190. ## Checks ##
  191. ###############################
  192.  
  193. Checks:
  194. # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
  195. # The default order is highly recommended to keep.
  196. Priority:
  197. - Condition02
  198. - MaxPlayersPerIP
  199. - MaxAccountsPerIP
  200. - MaxConnectionsPerSecond
  201. # - APNCheck
  202. - GeoCheck
  203. - BlacklistCheck
  204. - Condition01
  205. - ServerListPing
  206. - SmartHeuristic
  207. - ProxyDetection
  208. # - DNSBLCheck
  209.  
  210.  
  211. # This check looks how often the same IP tries to connect per second
  212. MaxConnectionsPerSecond:
  213. Value: 2
  214.  
  215. # 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
  216. MaxAccountsPerIP:
  217. Value: 3
  218. # Time storing the IP in minutes
  219. Time: 20
  220. Action: Blacklist
  221.  
  222. MaxPlayersPerIP:
  223. Value: 2
  224.  
  225. # Remember in default config this is just a condition
  226. MaxPlayersPerSecond:
  227. Value: 3
  228.  
  229. # Define the percentage of SmartHeuristic
  230. # The first value has to be reached if its very likely a bot
  231. # The second value has to be reached if its not that likely a bot
  232. # Therefore a higher percentage needs to be reached.
  233. SmartHeuristics:
  234. Percentage: 80
  235. Unlikely:
  236. Percentage: 95
  237.  
  238. # Enable or disable checks to use the hold dynamic mode for.
  239. # If you do not know what this is, leave it alone.
  240. Hold:
  241. - MaxPlayersPerSecond
  242. - MaxAccountsPerIP
  243. - MaxConnectionsPerSecond
  244.  
  245. # Enable or disable checks to use the conditional dynamic checks for.
  246. # If you do not know what this is, leave it alone.
  247. Conditional:
  248. '01':
  249. - MaxPlayersPerSecond
  250. '02':
  251. - Whitelist
  252.  
  253. ###############################
  254. ## Blacklist ##
  255. ###############################
  256.  
  257. Blacklist:
  258. # Configure the sites where blacklisted IPs are loaded from.
  259. # The default settings are accurately chosen to be efficient and with few false positives.
  260. Synchronization:
  261. SyncBlacklist: true
  262. DirectAccess:
  263. - "http://lists.blocklist.de/lists/all.txt"
  264. - "http://cinsscore.com/list/ci-badguys.txt"
  265. - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
  266. - "http://blocklist.greensnow.co/greensnow.txt"
  267. - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
  268. ClickAccess:
  269. - "http://proxy-daily.com/"
  270. - "http://www.sslproxies24.top/"
  271. - "http://socksproxylist24.blogspot.ro/"
  272.  
  273. # You can control the blocked APNs here.
  274. # If you do not know what this is, leave it alone.
  275. APN:
  276. - OVH
  277. - INFOLINK
  278. - TELEF
  279. - CHINANET
  280. - GoDaddy
  281. - PARSONLINE
  282. - "CORPORACION NACIONAL"
  283. - contabo
  284. - server
  285. - "TWC Central"
  286. - "USA COMPANIES"
  287. - "Fibrenoire"
  288. - "Fibrenoire Inc."
  289.  
  290. ###############################
  291. ## Proxy ##
  292. ###############################
  293.  
  294. # These sites check if an account is a proxy.
  295. # The condition just disables the site if requirements aren't reached.
  296. ProxySettings:
  297. Sites:
  298. '1':
  299. URL: "http://www.stopforumspam.com/api?ip=%ip%"
  300. Keyword: "<appears>yes</appears>"
  301. Action: KICK
  302. # '2':
  303. # URL: "http://www.shroomery.org/ythan/proxycheck.php?ip=%ip%"
  304. # Keyword: "Y"
  305. # Action: KICK
  306. '2':
  307. URL: "http://proxycheck.io/v1/%ip%&vpn=1&asn=1&node=1&time=0"
  308. Keyword: "\"yes\""
  309. Action: KICK
  310. # '4':
  311. # URL: "http://botscout.com/test/?ip=%ip%"
  312. # Keyword: "Y"
  313. # Action: KICK
  314. '3':
  315. URL: "http://api.antibotdeluxe.com/system/1/check?ip=%ip%"
  316. Keyword: "\"1\""
  317. Action: KICK
  318. Condition: PLUS
  319.  
  320. DNSBL:
  321. Services:
  322. # Confirmed Proxies
  323. - "dnsbl.proxybl.org"
  324. # Zombie Networks
  325. - "zombie.dnsbl.sorbs.net"
  326. # HTTP Proxies
  327. - "http.dnsbl.sorbs.net"
  328. # Socks Proxies
  329. - "socks.dnsbl.sorbs.net"
  330. # Misc Proxies
  331. - "misc.dnsbl.sorbs.net"
  332. # XBL
  333. - "xbl.spamhaus.org"
  334.  
  335. ###############################
  336. ## Locale ##
  337. ###############################
  338.  
  339. Locale:
  340. # Available presets are English (EN), German (DE), French (FR), Italian (IT), Dutch (NL), Turkish (TU), Romanian (RO),
  341. # Messages are configurable over in the messages_locale.yml.
  342. # You can enter the name of your presence here.
  343. # NOT SUPPORTED IN BETA VERSIONS!
  344. Preset: EN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement