· 6 years ago · Sep 12, 2019, 09:14 PM
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
24Version: 10
25
26
27###############################
28## General ##
29###############################
30
31General:
32 # The prefix of all messages.
33 Prefix: '&7Anarchymc &8» &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: true
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: false
42 # Let Whitelisted players pass
43 Whitelist: true
44
45 ConsoleFilter:
46 - "logged in with entity id"
47 - "com.mojang.authlib.GameProfile@"
48 - "timed"
49 - "reset"
50 - "UUID of player"
51 - "InitialHandler"
52 - "UpstreamBridge has disconnected"
53 - "handleDisconnection() called twice"
54
55 AutoWhitelist:
56 Enabled: false
57 ActTime: 240
58
59Storage:
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
83Geographical:
84 Mode: Blacklist
85 Countries:
86 - ""
87
88Firewall:
89 Enabled: false
90
91 # apt install ipset
92 Firewall: iptables
93 FirewallSettings:
94 iptables:
95 # How long IPs are blocked
96 Timeout: 3600
97
98 AddCommand: "sudo iptables -A INPUT -s %ip% -p TCP -j DROP"
99 RemoveCommand: "sudo iptables -D INPUT -s %ip% -p TCP -j DROP"
100
101 # Flush all rules only added by AntiBotDeluxe on every plugin load.
102 # Disabled by default to keep rules for following attacks.
103 Flush: false
104
105 # Blacklist a IP if they get blacklisted.
106 # This wont add IP's that are downloaded
107 # This option allows efficient mitigation of attacks and is recommended.
108 AddWhenBlacklisted: true
109
110ProxyScraper:
111 Enabled: true
112 Threads: 350
113
114 # Toggle proxy types to scrape for.
115 # SOCKS is more common for bot attacks.
116 SearchFor:
117 HTTP: true
118 SOCKS: true
119
120
121###############################
122## Checks ##
123###############################
124
125Checks:
126 # This is the order of how checks work. You can comment them out here to disable them but is not recommended for blocking bots.
127 # The default order is highly recommended to keep.
128
129 Priority:
130 ServerListPing:
131 Condition: "ConnectionsPerSecond > 10"
132# Nameprefix:
133# Condition: "ConnectionsPerSecond > -1"
134 SmartHeuristic:
135 Condition: "ConnectionsPerSecond > 5"
136 BlacklistCheck:
137 Condition: "ConnectionsPerSecond > -1"
138 MaxAccountsPerIP:
139 Condition: "ConnectionsPerSecond > -1"
140 ForceRejoin:
141 Condition: "ConnectionsPerSecond > 1"
142 MaxPlayersPerIP:
143 Condition: "ConnectionsPerSecond > -1"
144 GeoCheck:
145 Condition: "ConnectionsPerSecond > -1"
146 ProxyDetection:
147 Condition: "ConnectionsPerSecond > -1"
148
149 # 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
150 MaxAccountsPerIP:
151 Value: 4
152 Action: Blacklist
153
154 MaxPlayersPerIP:
155 Value: 2
156
157 Nameprefix:
158 Blockprefix:
159 - "MCBot_"
160 - "MCSpam_"
161 - "Bot_"
162
163 # Define the percentage of SmartHeuristic
164 # The first value has to be reached if its very likely a bot
165 # The second value has to be reached if its not that likely a bot
166 # Therefore a higher percentage needs to be reached.
167 SmartHeuristics:
168 Percentage: 90.0
169 Unlikely:
170 Percentage: 99.0
171
172 # Enable or disable checks to use the hold dynamic mode for.
173 # If you do not know what this is, leave it alone.
174 Hold:
175 - MaxPlayersPerSecond
176 - MaxAccountsPerIP
177###############################
178## Blacklist ##
179###############################
180
181Blacklist:
182 # Configure the sites where blacklisted IPs are loaded from.
183 # The default settings are accurately chosen to be efficient and with few false positives.
184 Synchronization:
185 SyncBlacklist: true
186 DirectAccess:
187 - "http://lists.blocklist.de/lists/all.txt"
188 - "http://cinsscore.com/list/ci-badguys.txt"
189 - "https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
190 - "http://blocklist.greensnow.co/greensnow.txt"
191 - "http://myip.ms/files/blacklist/csf/latest_blacklist.txt"
192 ClickAccess:
193 - "http://proxy-daily.com/"
194 - "http://www.sslproxies24.top/"
195 - "http://socksproxylist24.blogspot.ro/"
196
197###############################
198## Proxy ##
199###############################
200
201# These sites check if an account is a proxy.
202# The condition just disables the site if requirements aren't reached.
203#
204# HIGHLY RECOMMENDED: Register on https://proxycheck.io/ and get a free API KEY !
205# Then replace the URL like this:
206# URL: "http://proxycheck.io/v2/%ip%?key=API KEY HERE&vpn=1"
207
208
209ProxySettings:
210 Sites:
211 '1':
212 URL: "http://proxycheck.io/v2/%ip%?vpn=1"
213 Keyword: "\"yes\""
214 Action: BLACKLIST
215 '2':
216 URL: "http://check.getipintel.net/check.php?ip=%ip%&format=json&contact=hello@yourmail.com&flags=m"
217 Keyword: "\"result\":\"1\""
218 Action: BLACKLIST
219 '3':
220 URL: "http://api.vpnblocker.net/v2/json/%ip%"
221 Keyword: "\"host-ip\": true"
222 Action: BLACKLIST
223 '4':
224 URL: "http://www.stopforumspam.com/api?ip=%ip%"
225 Keyword: "<appears>yes</appears>"
226 Action: KICK
227
228
229###############################
230## Locale ##
231###############################
232
233Locale:
234 # Available presets are English (EN), French (FR), German* (DE), Italian* (IT), Dutch* (NL), Turkish* (TU), Romanian* (RO),
235 # Messages are configurable over in the messages_locale.yml.
236 # You can enter the name of your presence here.
237 # * = Currently in progress - Can not be used
238 Preset: EN