Advertisement
Guest User

Untitled

a guest
Nov 4th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. General:
  2. # The prefix of all messages.
  3. Prefix: '&7AntiBot&bDeluxe &8» &7'
  4. # Enable or disable the AntiBotDeluxe log. If this is disabled, you will not receive support, as essential data is contained here.
  5. Log: true
  6. # You must enable this if you use a modified proxy, eg Waterfall, Hexacord or Travertine.
  7. Log4J: false
  8. # If enabled the Console will be spammed with for you useless Developer stuff
  9. Debug: false
  10. # Should we show a animation while there is no attack?
  11. Animation: false
  12. # Let Whitelisted players pass
  13. Whitelist: true
  14.  
  15. ConsoleFilter: []
  16.  
  17. AutoWhitelist:
  18. Enabled: true
  19. ActTime: 60
  20.  
  21. Storage:
  22. # Options Available: MySQL, FlatFile
  23. # If you are only running AntiBotDeluxe on one server, flat-file is recommended.
  24. Mode: FlatFile
  25.  
  26. # Here you can set how the configuration file should update
  27. # Available options: LIVE, FREQUENTLY, NEVER
  28. # FREQUENTLY will cause a minutely update, when set on NEVER the use of /ab reload is needed.
  29. ConfigUpdate: NEVER
  30.  
  31. MySQL:
  32. Host: '127.0.0.1'
  33. Username: 'root'
  34. Password: ''
  35. Database: antibotdeluxe
  36. MaximumPoolSize: 10
  37. MinimumIdle: 10
  38. MaximumLifetime: 1800000
  39. ConnectionTimeOut: 5000
  40.  
  41. ###############################
  42. ## Geo ##
  43. ###############################
  44.  
  45. Geographical:
  46. Mode: Blacklist
  47. Countries:
  48. - "Brazil"
  49. - "Indonesia"
  50. - "China"
  51. - "India"
  52. - "South Africa"
  53. - "Taiwan"
  54.  
  55. Firewall:
  56. Enabled: false
  57.  
  58. # apt install ipset
  59. Firewall: IPSet
  60. FirewallSettings:
  61. IPSet:
  62. # How long IPs are blocked
  63. Timeout: 3600
  64.  
  65. AddCommand: "sudo ipset -A proxies %ip%"
  66. RemoveCommand: "sudo ipset -D proxies %ip%"
  67.  
  68. # Flush all rules only added by AntiBotDeluxe on every plugin load.
  69. # Disabled by default to keep rules for following attacks.
  70. Flush: true
  71.  
  72. # Blacklist a IP if they get blacklisted.
  73. # This wont add IP's that are downloaded
  74. # This option allows efficient mitigation of attacks and is recommended.
  75. AddWhenBlacklisted: true
  76.  
  77. ProxyScraper:
  78. Enabled: false
  79. Threads: 350
  80.  
  81. # Toggle proxy types to scrape for.
  82. # SOCKS is more common for bot attacks.
  83. SearchFor:
  84. HTTP: true
  85. SOCKS: true
  86.  
  87.  
  88. ###############################
  89. ## Checks ##
  90. ###############################
  91.  
  92. Checks:
  93. # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
  94. # The default order is highly recommended to keep.
  95.  
  96. Priority:
  97. ServerListPing:
  98. Condition: "ConnectionsPerSecond > 10"
  99. Nameprefix:
  100. Condition: "ConnectionsPerSecond > 1"
  101. SmartHeuristic:
  102. Condition: "ConnectionsPerSecond > 4"
  103. BlacklistCheck:
  104. Condition: "ConnectionsPerSecond > 1"
  105. MaxAccountsPerIP:
  106. Condition: "ConnectionsPerSecond > -1"
  107. ForceRejoin:
  108. Condition: "ConnectionsPerSecond > 1"
  109. MaxPlayersPerIP:
  110. Condition: "ConnectionsPerSecond > -1"
  111. GeoCheck:
  112. Condition: "ConnectionsPerSecond > 4"
  113. ProxyDetection:
  114. Condition: "ConnectionsPerSecond > 100000"
  115.  
  116. # 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
  117. MaxAccountsPerIP:
  118. Value: 3
  119. Action: Blacklist
  120.  
  121. MaxPlayersPerIP:
  122. Value: 3
  123.  
  124. Nameprefix:
  125. Blockprefix:
  126. - "MCBot_"
  127. - "MCSpam_"
  128. - "Bot_"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement