Advertisement
Guest User

Untitled

a guest
Sep 9th, 2018
1,243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.65 KB | None | 0 0
  1. # _ _ ____ _ _____ _
  2.  
  3. # /\ | | (_) _ \ | | | __ \ | |
  4.  
  5. # / \ _ __ | |_ _| |_) | ___ | |_| | | | ___| |_ ___ _____
  6.  
  7. # / /\ \ | '_ \| __| | _ < / _ \| __| | | |/ _ \ | | | \ \/ / _ \
  8.  
  9. # / ____ \| | | | |_| | |_) | (_) | |_| |__| | __/ | |_| |> < __/
  10.  
  11. # /_/ \_\_| |_|\__|_|____/ \___/ \__|_____/ \___|_|\__,_/_/\_\___|
  12.  
  13. #
  14.  
  15.  
  16.  
  17.  
  18.  
  19. ###############################
  20.  
  21. ## Info ##
  22.  
  23. ###############################
  24.  
  25.  
  26.  
  27. # FAQ (Offline): https://antibotdeluxe.com/webpanel/faq
  28.  
  29. # Web Panel (Offline): https://antibotdeluxe.com/webpanel/
  30.  
  31. # Discord: https://discord.gg/xTAzMCx
  32.  
  33.  
  34.  
  35. # If you require support, join our Discord as that is the ONLY location that we provide it.
  36.  
  37. # Anonymous statistics are sent to bStats.
  38.  
  39.  
  40.  
  41. # Thank you for purchasing AntiBotDeluxe.
  42.  
  43. # The default config requires very little configuring to make it fit your server.
  44.  
  45.  
  46.  
  47. Version: 10
  48.  
  49.  
  50.  
  51.  
  52.  
  53. ###############################
  54.  
  55. ## General ##
  56.  
  57. ###############################
  58.  
  59.  
  60.  
  61. General:
  62.  
  63. # The prefix of all messages.
  64.  
  65. Prefix: '&7TheNRK &8ร‚ยป &7'
  66.  
  67. # Enable or disable the AntiBotDeluxe log. If this is disabled, you will not receive support, as essential data is contained here.
  68.  
  69. Log: true
  70.  
  71. # You must enable this if you use a modified proxy, eg Waterfall, Hexacord or Travertine.
  72.  
  73. Log4J: false
  74.  
  75. # If enabled the Console will be spammed with for you useless Developer stuff
  76.  
  77. Debug: false
  78.  
  79. # Should we show a animation while there is no attack?
  80.  
  81. Animation: true
  82.  
  83. # Let Whitelisted players pass
  84.  
  85. Whitelist: true
  86.  
  87.  
  88.  
  89. ConsoleFilter:
  90.  
  91. - "logged in with entity id"
  92.  
  93. - "com.mojang.authlib.GameProfile@"
  94.  
  95. - "lost connection"
  96.  
  97. - "timed"
  98.  
  99. - "reset"
  100.  
  101. - "UUID of player"
  102.  
  103. - "InitialHandler"
  104.  
  105. - "UpstreamBridge has disconnected"
  106.  
  107.  
  108.  
  109. AutoWhitelist:
  110.  
  111. Enabled: true
  112.  
  113. ActTime: 240
  114.  
  115.  
  116.  
  117. Storage:
  118.  
  119. # Options Available: MySQL, FlatFile
  120.  
  121. # If you are only running AntiBotDeluxe on one server, flat-file is recommended.
  122.  
  123. Mode: FlatFile
  124.  
  125.  
  126.  
  127. # Here you can set how the configuration file should update
  128.  
  129. # Available options: LIVE, FREQUENTLY, NEVER
  130.  
  131. # FREQUENTLY will cause a minutely update, when set on NEVER the use of /ab reload is needed.
  132.  
  133. ConfigUpdate: FREQUENTLY
  134.  
  135.  
  136.  
  137. MySQL:
  138.  
  139. Host: '127.0.0.1'
  140.  
  141. Username: 'root'
  142.  
  143. Password: ''
  144.  
  145. Database: antibotdeluxe
  146.  
  147. MaximumPoolSize: 10
  148.  
  149. MinimumIdle: 10
  150.  
  151. MaximumLifetime: 1800000
  152.  
  153. ConnectionTimeOut: 5000
  154.  
  155.  
  156.  
  157. ###############################
  158.  
  159. ## Geo ##
  160.  
  161. ###############################
  162.  
  163.  
  164.  
  165. Geographical:
  166.  
  167. Mode: Blacklist
  168.  
  169. Countries:
  170.  
  171. - "South Korea"
  172.  
  173.  
  174.  
  175. Firewall:
  176.  
  177. Enabled: true
  178.  
  179.  
  180.  
  181. # apt install ipset
  182.  
  183. Firewall: IPSet
  184.  
  185. FirewallSettings:
  186.  
  187. IPSet:
  188.  
  189. # How long IPs are blocked
  190.  
  191. Timeout: 3600
  192.  
  193.  
  194.  
  195. AddCommand: "sudo ipset -A proxies %ip%"
  196.  
  197. RemoveCommand: "sudo ipset -D proxies %ip%"
  198.  
  199.  
  200.  
  201. # Flush all rules only added by AntiBotDeluxe on every plugin load.
  202.  
  203. # Disabled by default to keep rules for following attacks.
  204.  
  205. Flush: false
  206.  
  207.  
  208.  
  209. # Blacklist a IP if they get blacklisted.
  210.  
  211. # This wont add IP's that are downloaded
  212.  
  213. # This option allows efficient mitigation of attacks and is recommended.
  214.  
  215. AddWhenBlacklisted: true
  216.  
  217.  
  218.  
  219. ProxyScraper:
  220.  
  221. Enabled: true
  222.  
  223. Threads: 350
  224.  
  225.  
  226.  
  227. # Toggle proxy types to scrape for.
  228.  
  229. # SOCKS is more common for bot attacks.
  230.  
  231. SearchFor:
  232.  
  233. HTTP: true
  234.  
  235. SOCKS: true
  236.  
  237.  
  238.  
  239.  
  240.  
  241. ###############################
  242.  
  243. ## Checks ##
  244.  
  245. ###############################
  246.  
  247.  
  248.  
  249. Checks:
  250.  
  251. # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
  252.  
  253. # The default order is highly recommended to keep.
  254.  
  255.  
  256.  
  257. Priority:
  258.  
  259. BlacklistCheck:
  260.  
  261. Condition: "ConnectionsPerSecond > -1"
  262.  
  263. MaxAccountsPerIP:
  264.  
  265. Condition: "ConnectionsPerSecond > -1"
  266.  
  267. ServerListPing:
  268.  
  269. Condition: "ConnectionsPerSecond > 10"
  270.  
  271. Nameprefix:
  272.  
  273. Condition: "ConnectionsPerSecond > -1"
  274.  
  275. SmartHeuristic:
  276.  
  277. Condition: "ConnectionsPerSecond > 5"
  278.  
  279. ForceRejoin:
  280.  
  281. Condition: "ConnectionsPerSecond > 1"
  282.  
  283. MaxPlayersPerIP:
  284.  
  285. Condition: "ConnectionsPerSecond > -1"
  286.  
  287. GeoCheck:
  288.  
  289. Condition: "ConnectionsPerSecond > -1"
  290.  
  291. ProxyDetection:
  292.  
  293. Condition: "ConnectionsPerSecond > -1"
  294.  
  295.  
  296.  
  297. # 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
  298.  
  299. MaxAccountsPerIP:
  300.  
  301. Value: 2
  302.  
  303. Action: Blacklist
  304.  
  305.  
  306.  
  307. MaxPlayersPerIP:
  308.  
  309. Value: 3
  310.  
  311.  
  312.  
  313. Nameprefix:
  314.  
  315. Blockprefix:
  316.  
  317. - "MCBot_"
  318.  
  319. - "MCSpam_"
  320.  
  321. - "Bot_"
  322.  
  323.  
  324.  
  325. # Define the percentage of SmartHeuristic
  326.  
  327. # The first value has to be reached if its very likely a bot
  328.  
  329. # The second value has to be reached if its not that likely a bot
  330.  
  331. # Therefore a higher percentage needs to be reached.
  332.  
  333. SmartHeuristics:
  334.  
  335. Percentage: 90.0
  336.  
  337. Unlikely:
  338.  
  339. Percentage: 99.0
  340.  
  341.  
  342.  
  343. # Enable or disable checks to use the hold dynamic mode for.
  344.  
  345. # If you do not know what this is, leave it alone.
  346.  
  347. Hold:
  348.  
  349. - MaxPlayersPerSecond
  350.  
  351. - MaxAccountsPerIP
  352.  
  353. ###############################
  354.  
  355. ## Blacklist ##
  356.  
  357. ###############################
  358.  
  359.  
  360.  
  361. Blacklist:
  362.  
  363. # Configure the sites where blacklisted IPs are loaded from.
  364.  
  365. # The default settings are accurately chosen to be efficient and with few false positives.
  366.  
  367. Synchronization:
  368.  
  369. SyncBlacklist: false
  370.  
  371. DirectAccess:
  372.  
  373. - "http://lists.blocklist.de/lists/all.txt"
  374.  
  375. - "http://cinsscore.com/list/ci-badguys.txt"
  376.  
  377. - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
  378.  
  379. - "http://blocklist.greensnow.co/greensnow.txt"
  380.  
  381. - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
  382.  
  383. ClickAccess:
  384.  
  385. - "http://proxy-daily.com/"
  386.  
  387. - "http://www.sslproxies24.top/"
  388.  
  389. - "http://socksproxylist24.blogspot.ro/"
  390.  
  391.  
  392.  
  393. ###############################
  394.  
  395. ## Proxy ##
  396.  
  397. ###############################
  398.  
  399.  
  400.  
  401. # These sites check if an account is a proxy.
  402.  
  403. # The condition just disables the site if requirements aren't reached.
  404.  
  405. #
  406.  
  407. # HIGHLY RECOMMENDED: Register on https://proxycheck.io/ and get a free API KEY !
  408.  
  409. # Then replace the URL like this:
  410.  
  411. # URL: "http://proxycheck.io/v2/%ip%?key=API KEY HERE&vpn=1"
  412.  
  413.  
  414.  
  415.  
  416.  
  417. ProxySettings:
  418.  
  419. Sites:
  420.  
  421. '1':
  422.  
  423. URL: "http://proxycheck.io/v2/%ip%?vpn=1"
  424.  
  425. Keyword: "\"yes\""
  426.  
  427. Action: BLACKLIST
  428.  
  429. '2':
  430.  
  431. URL: "http://check.getipintel.net/check.php?ip=%ip%&format=json&contact=hello@yourmail.com&flags=m"
  432.  
  433. Keyword: "\"result\":\"1\""
  434.  
  435. Action: BLACKLIST
  436.  
  437. '3':
  438.  
  439. URL: "http://api.vpnblocker.net/v2/json/%ip%"
  440.  
  441. Keyword: "\"host-ip\": true"
  442.  
  443. Action: BLACKLIST
  444.  
  445. '4':
  446.  
  447. URL: "http://www.stopforumspam.com/api?ip=%ip%"
  448.  
  449. Keyword: "<appears>yes</appears>"
  450.  
  451. Action: KICK
  452.  
  453.  
  454.  
  455.  
  456.  
  457. ###############################
  458.  
  459. ## Locale ##
  460.  
  461. ###############################
  462.  
  463.  
  464.  
  465. Locale:
  466.  
  467. # Available presets are English (EN), French (FR), German* (DE), Italian* (IT), Dutch* (NL), Turkish* (TU), Romanian* (RO),
  468.  
  469. # Messages are configurable over in the messages_locale.yml.
  470.  
  471. # You can enter the name of your presence here.
  472.  
  473. # * = Currently in progress - Can not be used
  474.  
  475. Preset: EN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement