Advertisement
Guest User

Untitled

a guest
Feb 9th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.13 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: '&cAntiBot &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: false
  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: '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. - "Andorra"
  87. - "United Arab Emirates"
  88. - "Afghanistan"
  89. - "Antigua and Barbuda"
  90. - "Anguilla"
  91. - "Albania"
  92. - "Armenia"
  93. - "Angola"
  94. - "Asia/Pacific Region"
  95. - "Antarctica"
  96. - "Argentina"
  97. - "American Samoa"
  98. - "Austria"
  99. - "Australia"
  100. - "Aruba"
  101. - "Aland Islands"
  102. - "Azerbaijan"
  103. - "Bosnia and Herzegovina"
  104. - "Barbados"
  105. - "Bangladesh"
  106. - "Belgium"
  107. - "Burkina Faso"
  108. - "Bulgaria"
  109. - "Bahrain"
  110. - "Burundi"
  111. - "Benin"
  112. - "Saint Bartelemey"
  113. - "Bermuda"
  114. - "Brunei Darussalam"
  115. - "Bolivia"
  116. - "Bonaire, Saint Eustatius and Saba"
  117. - "Brazil"
  118. - "Bahamas"
  119. - "Bhutan"
  120. - "Bouvet Island"
  121. - "Botswana"
  122. - "Belarus"
  123. - "Belize"
  124. - "Canada"
  125. - "Cocos (Keeling) Islands"
  126. - "Congo, The Democratic Republic of the"
  127. - "Central African Republic"
  128. - "Congo"
  129. - "Switzerland"
  130. - "Cote d'Ivoire"
  131. - "Cook Islands"
  132. - "Chile"
  133. - "Cameroon"
  134. - "China"
  135. - "Colombia"
  136. - "Costa Rica"
  137. - "Cuba"
  138. - "Cape Verde"
  139. - "Curacao"
  140. - "Christmas Island"
  141. - "Cyprus"
  142. - "Djibouti"
  143. - "Denmark"
  144. - "Dominica"
  145. - "Dominican Republic"
  146. - "Algeria"
  147. - "Ecuador"
  148. - "Egypt"
  149. - "Western Sahara"
  150. - "Eritrea"
  151. - "Ethiopia"
  152. - "Europe"
  153. - "Finland"
  154. - "Fiji"
  155. - "Falkland Islands (Malvinas)"
  156. - "Micronesia, Federated States of"
  157. - "Faroe Islands"
  158. - "France"
  159. - "Gabon"
  160. - "Grenada"
  161. - "Georgia"
  162. - "French Guiana"
  163. - "Guernsey"
  164. - "Ghana"
  165. - "Gibraltar"
  166. - "Greenland"
  167. - "Gambia"
  168. - "Guinea"
  169. - "Guadeloupe"
  170. - "Equatorial Guinea"
  171. - "Greece"
  172. - "South Georgia and the South Sandwich Islands"
  173. - "Guatemala"
  174. - "Guam"
  175. - "Guinea-Bissau"
  176. - "Guyana"
  177. - "Hong Kong"
  178. - "Heard Island and McDonald Islands"
  179. - "Honduras"
  180. - "Croatia"
  181. - "Haiti"
  182. - "Hungary"
  183. - "Indonesia"
  184. - "Ireland"
  185. - "Israel"
  186. - "Isle of Man"
  187. - "India"
  188. - "British Indian Ocean Territory"
  189. - "Iraq"
  190. - "Iran, Islamic Republic of"
  191. - "Italy"
  192. - "Jersey"
  193. - "Jamaica"
  194. - "Jordan"
  195. - "Japan"
  196. - "Kenya"
  197. - "Kyrgyzstan"
  198. - "Cambodia"
  199. - "Kiribati"
  200. - "Comoros"
  201. - "Saint Kitts and Nevis"
  202. - "Korea, Democratic People's Republic of"
  203. - "Korea, Republic of"
  204. - "Kuwait"
  205. - "Cayman Islands"
  206. - "Kazakhstan"
  207. - "Lao People's Democratic Republic"
  208. - "Lebanon"
  209. - "Saint Lucia"
  210. - "Liechtenstein"
  211. - "Sri Lanka"
  212. - "Liberia"
  213. - "Lesotho"
  214. - "Luxembourg"
  215. - "Libyan Arab Jamahiriya"
  216. - "Morocco"
  217. - "Monaco"
  218. - "Moldova, Republic of"
  219. - "Montenegro"
  220. - "Saint Martin"
  221. - "Madagascar"
  222. - "Marshall Islands"
  223. - "Macedonia"
  224. - "Mali"
  225. - "Myanmar"
  226. - "Mongolia"
  227. - "Macao"
  228. - "Northern Mariana Islands"
  229. - "Martinique"
  230. - "Mauritania"
  231. - "Montserrat"
  232. - "Malta"
  233. - "Mauritius"
  234. - "Maldives"
  235. - "Malawi"
  236. - "Mexico"
  237. - "Malaysia"
  238. - "Mozambique"
  239. - "Namibia"
  240. - "New Caledonia"
  241. - "Niger"
  242. - "Norfolk Island"
  243. - "Nigeria"
  244. - "Nicaragua"
  245. - "Norway"
  246. - "Nepal"
  247. - "Nauru"
  248. - "Niue"
  249. - "New Zealand"
  250. - "Oman"
  251. - "Panama"
  252. - "Peru"
  253. - "French Polynesia"
  254. - "Papua New Guinea"
  255. - "Philippines"
  256. - "Pakistan"
  257. - "Saint Pierre and Miquelon"
  258. - "Pitcairn"
  259. - "Puerto Rico"
  260. - "Palestinian Territory"
  261. - "Palau"
  262. - "Paraguay"
  263. - "Qatar"
  264. - "Reunion"
  265. - "Romania"
  266. - "Serbia"
  267. - "Rwanda"
  268. - "Saudi Arabia"
  269. - "Solomon Islands"
  270. - "Seychelles"
  271. - "Sudan"
  272. - "Singapore"
  273. - "Saint Helena"
  274. - "Slovenia"
  275. - "Svalbard and Jan Mayen"
  276. - "Sierra Leone"
  277. - "San Marino"
  278. - "Senegal"
  279. - "Somalia"
  280. - "Suriname"
  281. - "South Sudan"
  282. - "Sao Tome and Principe"
  283. - "El Salvador"
  284. - "Sint Maarten"
  285. - "Syrian Arab Republic"
  286. - "Swaziland"
  287. - "Turks and Caicos Islands"
  288. - "Chad"
  289. - "French Southern Territories"
  290. - "Togo"
  291. - "Thailand"
  292. - "Tajikistan"
  293. - "Tokelau"
  294. - "Timor-Leste"
  295. - "Turkmenistan"
  296. - "Tunisia"
  297. - "Tonga"
  298. - "Turkey"
  299. - "Trinidad and Tobago"
  300. - "Tuvalu"
  301. - "Taiwan"
  302. - "Tanzania, United Republic of"
  303. - "Uganda"
  304. - "United States Minor Outlying Islands"
  305. - "Uruguay"
  306. - "Uzbekistan"
  307. - "Holy See (Vatican City State)"
  308. - "Saint Vincent and the Grenadines"
  309. - "Venezuela"
  310. - "Virgin Islands, British"
  311. - "Virgin Islands, U.S."
  312. - "Vietnam"
  313. - "Vanuatu"
  314. - "Wallis and Futuna"
  315. - "Samoa"
  316. - "Yemen"
  317. - "Mayotte"
  318. - "South Africa"
  319. - "Zambia"
  320. - "Zimbabwe"
  321. - "N/A"
  322. Firewall:
  323. Enabled: true
  324.  
  325. # apt install ipset
  326. Firewall: IPSet
  327. FirewallSettings:
  328. IPSet:
  329. # How long IPs are blocked
  330. Timeout: 3600
  331.  
  332. AddCommand: "sudo ipset -A proxies %ip%"
  333. RemoveCommand: "sudo ipset -D proxies %ip%"
  334.  
  335. # Flush all rules only added by AntiBotDeluxe on every plugin load.
  336. # Disabled by default to keep rules for following attacks.
  337. Flush: false
  338.  
  339. # Blacklist a IP if they get blacklisted.
  340. # This wont add IP's that are downloaded
  341. # This option allows efficient mitigation of attacks and is recommended.
  342. AddWhenBlacklisted: true
  343.  
  344. ProxyScraper:
  345. Enabled: false
  346. Threads: 350
  347.  
  348. # Toggle proxy types to scrape for.
  349. # SOCKS is more common for bot attacks.
  350. SearchFor:
  351. HTTP: true
  352. SOCKS: true
  353.  
  354.  
  355. ###############################
  356. ## Checks ##
  357. ###############################
  358.  
  359. Checks:
  360. # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
  361. # The default order is highly recommended to keep.
  362.  
  363. Priority:
  364. ServerListPing:
  365. Condition: "ConnectionsPerSecond > 10"
  366. Nameprefix:
  367. Condition: "ConnectionsPerSecond > -1"
  368. SmartHeuristic:
  369. Condition: "ConnectionsPerSecond > 5"
  370. BlacklistCheck:
  371. Condition: "ConnectionsPerSecond > -1"
  372. MaxAccountsPerIP:
  373. Condition: "ConnectionsPerSecond > -1"
  374. ForceRejoin:
  375. Condition: "ConnectionsPerSecond > 1"
  376. MaxPlayersPerIP:
  377. Condition: "ConnectionsPerSecond > -1"
  378. GeoCheck:
  379. Condition: "ConnectionsPerSecond > -1"
  380. ProxyDetection:
  381. Condition: "ConnectionsPerSecond > -1"
  382.  
  383. # 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
  384. MaxAccountsPerIP:
  385. Value: 5
  386. Action: Blacklist
  387.  
  388. MaxPlayersPerIP:
  389. Value: 5
  390.  
  391. Nameprefix:
  392. Blockprefix:
  393. - "MCBot_"
  394. - "MCSpam_"
  395. - "Bot_"
  396.  
  397. # Define the percentage of SmartHeuristic
  398. # The first value has to be reached if its very likely a bot
  399. # The second value has to be reached if its not that likely a bot
  400. # Therefore a higher percentage needs to be reached.
  401. SmartHeuristics:
  402. Percentage: 90.0
  403. Unlikely:
  404. Percentage: 99.0
  405.  
  406. # Enable or disable checks to use the hold dynamic mode for.
  407. # If you do not know what this is, leave it alone.
  408. Hold:
  409. - MaxPlayersPerSecond
  410. - MaxAccountsPerIP
  411. ###############################
  412. ## Blacklist ##
  413. ###############################
  414.  
  415. Blacklist:
  416. # Configure the sites where blacklisted IPs are loaded from.
  417. # The default settings are accurately chosen to be efficient and with few false positives.
  418. Synchronization:
  419. SyncBlacklist: false
  420. DirectAccess:
  421. - "http://lists.blocklist.de/lists/all.txt"
  422. - "http://cinsscore.com/list/ci-badguys.txt"
  423. - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
  424. - "http://blocklist.greensnow.co/greensnow.txt"
  425. - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
  426. ClickAccess:
  427. - "http://proxy-daily.com/"
  428. - "http://www.sslproxies24.top/"
  429. - "http://socksproxylist24.blogspot.ro/"
  430.  
  431. ###############################
  432. ## Proxy ##
  433. ###############################
  434.  
  435. # These sites check if an account is a proxy.
  436. # The condition just disables the site if requirements aren't reached.
  437. #
  438. # HIGHLY RECOMMENDED: Register on https://proxycheck.io/ and get a free API KEY !
  439. # Then replace the URL like this:
  440. # URL: "http://proxycheck.io/v2/%ip%?key=API KEY HERE&vpn=1"
  441.  
  442.  
  443. ProxySettings:
  444. Sites:
  445. '1':
  446. URL: "http://proxycheck.io/v2/%ip%?key=78j301-51dg5s-77ho54-n0819m&vpn=1"
  447. Keyword: "\"yes\""
  448. Action: BLACKLIST
  449. '2':
  450. URL: "http://check.getipintel.net/check.php?ip=%ip%&format=json&contact=sideatbalsts@gmail.com&flags=m"
  451. Keyword: "\"result\":\"1\""
  452. Action: BLACKLIST
  453. '3':
  454. URL: "http://api.vpnblocker.net/v2/json/%ip%"
  455. Keyword: "\"host-ip\": true"
  456. Action: BLACKLIST
  457. '4':
  458. URL: "http://www.shroomery.org/ythan/proxycheck.php?ip=%ip%"
  459. Keyword: "Y"
  460. Action: KICK
  461. '5':
  462. URL: "http://www.stopforumspam.com/api?ip=%ip%"
  463. Keyword: "<appears>yes</appears>"
  464. Action: KICK
  465.  
  466.  
  467. ###############################
  468. ## Locale ##
  469. ###############################
  470.  
  471. Locale:
  472. # Available presets are English (EN), French (FR), German* (DE), Italian* (IT), Dutch* (NL), Turkish* (TU), Romanian* (RO),
  473. # Messages are configurable over in the messages_locale.yml.
  474. # You can enter the name of your presence here.
  475. # * = Currently in progress - Can not be used
  476. Preset: EN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement