AntiJoinBot
Bukkit Firewall / Proxy Blocker
This plugin protects your server from bots that use proxies!
The players IP will be automatically verified when they join.
The plugin has been written to have an High level of performance.
Features:
- Works with potentially any Minecraft version
- UUID Support aswell as Nickname support (for Offline mode Servers)
- Whitelistless (Doesn't require to activate a Whitelist to block the bots)
- Configurable delayed start (to reduce plugin load on server start/restart)
- MySQL/SQLite support
- Downloadable Blacklist on server start
- Customizable Blacklists ("URL:Response" format) (Paste the URL with , instead of .)
- Customizable Kick Messages
- Quickly Disable/Enable the plugin via command
- Reload the config in game
- Permission to bypass checks
- User Whitelist/Blacklist
- Force check mode (Kick everyone for the first check, player is asked to rejoin)
- Permission support
- Proxy check from Server List and change MoTD if a proxy is found (Beta)
- Debug mode available
- Plugin Metrics
Video
Installation:
1. Put the "AntiJoinBot.jar" in the plugin folder and run the server.
2. It will create a folder called "AntiJoinBot" containing the "config.yml" (Default Config) and the "offline_data.db".
3. Ready ;D
Permissions and Commands:
Bypass checks:
Permission: "ajb.bypass"
Add/block players in whitelist:
Permission: "ajb.add"
- "/ajb add <player>" -> (add player to whitelist)
- "/ajb block <player>" -> (add player to blacklist)
Toggle AntiJoinBot:
Permission: "ajb.toggle"
- "/ajb toggle"
Reload Configuration and Database Connection:
Permission: "ajb.reload"
- "/ajb reload"
Note:
If you can not connect, please wait 24 hours and try it again or restart your router.
If this plugin helped you, please Donate ;D
Default Blacklist API's:
http://www.shroomery.org/ythan/proxycheck.php?ip=
http://www.stopforumspam.com/api?ip=
http://yasb.intuxication.org/api/check.xml?ip=
Source:
https://bitbucket.org/NullP0interEx/antijoinbot (Before 5.0)
https://github.com/Maxetto/AntiJoinBot (After 5.0)
This plugin does not work. it is useless...
Spigot 1.8.8 and lots of bot: https://gist.github.com/anonymous/962c9eb1e4372ede68ad60e222bd4b8d
@mat41997
See comment #685
error
The /ajb add <player> command and the ajb.bypass permission are not working for me.. The player still being checked
@tommy14lp
Please, check that:
As of me and others 1,392 servers that are using this plugin, it should mean that it works. (For me 80% of Spambots get's blocked)
this plugin is so bad it makes 0 what it promises just dirt Proxy's 0 SpamBots Remove 0 just bad
@Maxetto
Okay then I use that. Cause in my country its block so much proxies :/
Spigot 1.9 error;
@omgitsbob12
Will try for version 6.0 ;)
Can this be updated for Sponge?
@foxi69
AntiJoinBot works by blocking bad proxies (private and school proxies can still join). If you want to use a Whitelist-like AntiBot, I suggest you the AntiBot feature integrated in AuthMeReloaded.
Its auto add the players to the whitelist and turn on that when bots are coming?
i dont want to block proxies just the bots like AntiBotUltra, but no more support on that
@Maxetto
Well, I'd say so. I downloaded two of those bot spammers and grabbed the proxy list from them. Almost none was detected.
I think shroomery's list only checks proxies from this list: http://www.shroomery.org/ythan/proxylist.txt
If you go to the index of "ythan" and dig around there isn't much of a proxy list found there.
@Phumix
Blacklist are costantly updated, there's no way that a Blacklist can not be updated.
@Fritz2456
This is a non-proxied attack. We can not deal with that. You can block them with AuthMe's AntiBot Feature, whitelist or this IPTables rule (recommended):
iptables -A INPUT -p tcp --syn --dport <your server's port> -m connlimit --connlimit-above 3 -j REJECT
@Fritz2456
I think the blacklist API's are outdated. Isn't there some new/more updated lists to use? I've experienced this on my server as well, some bots seems to go through.
hello, we've been using this plugin and it has blocked some of the attacks,.
however someone managed to get thru,.
any idea how to block this kind of attack?
http://pastebin.com/9tqwsqGE
basically, same IP, but different ports.
@dadee971
See comment #685
Hi,
CraftBukkit version git-Spigot-bc01c3a-935349e (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT) + AntiJoinBot v5.0:
[09:27:50] [Craft Scheduler Thread - 4/WARN]: org.apache.commons.lang.UnhandledException: Plugin AntiJoinBot v5.0 generated an exception while executing task 7 at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at org.mcstats.Metrics.postPlugin(Metrics.java:335) at org.mcstats.Metrics.access$4(Metrics.java:328) at org.mcstats.Metrics$1.run(Metrics.java:223) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
Can you add an option to disable metrics please?
@Maxetto
Thanks Maxetto!
@dadee971
@ShadowedDreamer
Plugin is working fine in 1.9, the error is caused by Metrics (that is some statistics for the plugin), while all the main features of the plugin are still working.
With the errors, as for now, you can do: