Advertisement
Guest User

config.yml

a guest
Apr 5th, 2018
2,323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.62 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: "&2[&bAntiBot&2] &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: true
  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: false
  43.  
  44. # BungeeCord only --
  45. BungeeCord:
  46. # Here you can set how many Threads one check is allowed to use.
  47. Threads: 2
  48.  
  49. ConsoleFilter:
  50. - "logged in with entity id"
  51. - "com.mojang.authlib.GameProfile@"
  52. - "lost connection"
  53. - "timed"
  54. - "reset"
  55. - "UUID of player"
  56. - "InitialHandler"
  57. - "UpstreamBridge has disconnected"
  58.  
  59. Statistics:
  60. AttackAlert:
  61. Enabled: false
  62. # If enabled it will alert everyone with the permission antibotdeluxe.alert even without /ab toggle
  63. AlertPerm: true
  64. Interval: 15
  65. TriggerAmount: 5
  66. BlacklistAlert:
  67. Enabled: false
  68. # If enabled it will alert everyone with the permission antibotdeluxe.alert even without /ab toggle
  69. AlertPerm: true
  70. Interval: 15
  71. AutoWhitelist:
  72. Enabled: true
  73. ActTime: 5
  74.  
  75. Storage:
  76. # Options Available: MySQL, FlatFile
  77. # If you are only running AntiBotDeluxe on one server, flat-file is recommended.
  78. Mode: FlatFile
  79.  
  80. # Here you can set how the configuration file should update
  81. # Available options: LIVE, FREQUENTLY, NEVER
  82. # FREQUENTLY will cause a minutely update, when set on NEVER the use of /ab reload is needed.
  83. ConfigUpdate: NEVER
  84.  
  85. MySQL:
  86. Host: '127.0.0.1'
  87. Username: 'root'
  88. Password: ''
  89. Database: antibotdeluxe
  90. MaximumPoolSize: 10
  91. MinimumIdle: 10
  92. MaximumLifetime: 1800000
  93. ConnectionTimeOut: 5000
  94.  
  95. ###############################
  96. ## Geo ##
  97. ###############################
  98.  
  99. Geographical:
  100. Mode: Blacklist
  101. Countries: []
  102.  
  103. ###############################
  104. ## Plus ##
  105. ###############################
  106.  
  107. # All settings here are only available to AntiBotDeluxe Plus users.
  108. # Plus is not required for bot protection but allows access to better proxy definitions and more features.
  109.  
  110. IPTables:
  111. Enabled: true
  112.  
  113. AddCommand: "sudo iptables -A INPUT -s %ips% -j DROP -m comment --comment \"AntiBotDeluxe\" -w"
  114. RemoveCommand: "sudo iptables -D INPUT -s %ips% -j DROP -m comment --comment \"AntiBotDeluxe\" -w"
  115.  
  116. # Flush all rules only added by AntiBotDeluxe on every plugin load.
  117. # This is important to ensure all blacklisted IPs are up to date.
  118. # If you are developing your server and constantly rebooting, disable this.
  119. # Disabled by default to keep rules for following attacks.
  120. Flush: false
  121.  
  122. # Blacklist a IP if they get blacklisted.
  123. # This wont add IP's that are downloaded
  124. # This option allows efficient mitigation of attacks and is recommended.
  125. AddWhenBlacklisted: true
  126.  
  127. # Get IPTables to limit the speed of joins.
  128. # This is highly recommended to block sources of mass bot joins.
  129. ConnectLimit:
  130. Enabled: true
  131. # When set to AUTOMATIC the Plugin will try to get the Server's Port automatically
  132. ServerPort: 25565
  133. Limit: 5
  134.  
  135. ProxyScraper:
  136. Enabled: true
  137. Threads: 350
  138.  
  139. # Toggle proxy types to scrape for.
  140. # SOCKS is more common for bot attacks.
  141. SearchFor:
  142. HTTP: true
  143. SOCKS: true
  144.  
  145.  
  146. ###############################
  147. ## Checks ##
  148. ###############################
  149.  
  150. Checks:
  151. # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
  152. # The default order is highly recommended to keep.
  153. Priority:
  154. - Condition02
  155. - ServerListPing
  156. - MaxPlayersPerIP
  157. - MaxAccountsPerIP
  158. - MaxConnectionsPerSecond
  159. - APNCheck
  160. - GeoCheck
  161. - BlacklistCheck
  162. - Condition01
  163. - ProxyDetection
  164. - DNSBLCheck
  165.  
  166.  
  167. # This check looks how often the same IP tries to connect per second
  168. MaxConnectionsPerSecond:
  169. Value: 3
  170.  
  171. # 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
  172. MaxAccountsPerIP:
  173. Value: 5
  174. # Time storing the IP in minutes
  175. Time: 10
  176. Action: Blacklist
  177.  
  178. MaxPlayersPerIP:
  179. Value: 5
  180.  
  181. # Remember in default config this is just a condition
  182. MaxPlayersPerSecond:
  183. Value: 100000
  184.  
  185. # Enable or disable checks to use the hold dynamic mode for.
  186. # If you do not know what this is, leave it alone.
  187. Hold:
  188. - MaxPlayersPerSecond
  189. - MaxAccountsPerIP
  190. - MaxConnectionsPerSecond
  191.  
  192. # Enable or disable checks to use the conditional dynamic checks for.
  193. # If you do not know what this is, leave it alone.
  194. Conditional:
  195. '01':
  196. - MaxPlayersPerSecond
  197. '02':
  198. - Whitelist
  199.  
  200. ###############################
  201. ## Blacklist ##
  202. ###############################
  203.  
  204. Blacklist:
  205. # Configure the sites where blacklisted IPs are loaded from.
  206. # The default settings are accurately chosen to be efficient and with few false positives.
  207. Synchronization:
  208. SyncBlacklist: true
  209. DirectAccess:
  210. - "http://lists.blocklist.de/lists/all.txt"
  211. - "http://cinsscore.com/list/ci-badguys.txt"
  212. - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
  213. - "http://blocklist.greensnow.co/greensnow.txt"
  214. - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
  215. ClickAccess :
  216. - "http://proxy-daily.com/"
  217. - "http://www.sslproxies24.top/"
  218. - "http://socksproxylist24.blogspot.ro/"
  219.  
  220. # You can control the blocked APNs here.
  221. # If you do not know what this is, leave it alone.
  222. APN:
  223. - OVH
  224. - INFOLINK
  225. - TELEF
  226. - CHINANET
  227. - GoDaddy
  228. - PARSONLINE
  229. - "CORPORACION NACIONAL"
  230. - contabo
  231. - server
  232. - "TWC Central"
  233. - "USA COMPANIES"
  234. - "Fibrenoire"
  235. - "Fibrenoire Inc."
  236.  
  237. ###############################
  238. ## Proxy ##
  239. ###############################
  240.  
  241. # These sites check if an account is a proxy.
  242. # The condition just disables the site if requirements aren't reached.
  243. ProxySettings:
  244. Sites:
  245. '1':
  246. URL: "http://www.stopforumspam.com/api?ip=%ip%"
  247. Keyword: "<appears>yes</appears>"
  248. Action: KICK
  249. '2':
  250. URL: "http://www.shroomery.org/ythan/proxycheck.php?ip=%ip%"
  251. Keyword: "Y"
  252. Action: KICK
  253. '3':
  254. URL: "http://proxycheck.io/v1/%ip%&vpn=1&asn=1&node=1&time=0"
  255. Keyword: "\"yes\""
  256. Action: KICK
  257. '4':
  258. URL: "http://botscout.com/test/?ip=%ip%"
  259. Keyword: "Y"
  260. Action: KICK
  261. '5':
  262. URL: "http://api.antibotdeluxe.com/system/1/check?ip=%ip%"
  263. Keyword: "\"1\""
  264. Action: KICK
  265. Condition: PLUS
  266.  
  267. DNSBL:
  268. Services:
  269. # Confirmed Proxies
  270. - "dnsbl.proxybl.org"
  271. # Zombie Networks
  272. - "zombie.dnsbl.sorbs.net"
  273. # HTTP Proxies
  274. - "http.dnsbl.sorbs.net"
  275. # Socks Proxies
  276. - "socks.dnsbl.sorbs.net"
  277. # Misc Proxies
  278. - "misc.dnsbl.sorbs.net"
  279. # XBL
  280. - "xbl.spamhaus.org"
  281.  
  282. ###############################
  283. ## Locale ##
  284. ###############################
  285.  
  286. Locale:
  287. # Available presets are English (EN), German (DE), French (FR), Italian (IT), Dutch (NL), Turkish (TU), Romanian (RO),
  288. # Messages are configurable over in the messages_locale.yml.
  289. # You can enter the name of your presence here.
  290. Preset: EN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement