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)
Wow, this really worked for me when other plugins didn't. Is it possible to have AJB be "disabled" by default? After restarting it is defaulting to enabled and I have to manually /ajb toggle each morning to turn it off. Many of my players use proxies and I only want to engage this plugin when there is a problem. Thanks!
Hi, I have this thing spamming my console:
WARN [AJB] Plugin AntiJoinBot v5.0 generated an exception while executing task 105
11.11 01:17:05 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player;
11.11 01:17:05 [Server] INFO at org.mcstats.Metrics.postPlugin(Metrics.java:335) ~[?:?]
11.11 01:17:05 [Server] INFO at org.mcstats.Metrics.access$4(Metrics.java:328) ~[?:?]
11.11 01:17:05 [Server] INFO at org.mcstats.Metrics$1.run(Metrics.java:223) ~[?:?]
11.11 01:17:05 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.12.2.jar:git-Spigot-5695bca-53fccdf]
11.11 01:17:05 [Server] INFO at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [spigot-1.12.2.jar:git-Spigot-5695bca-53fccdf]
11.11 01:17:05 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
11.11 01:17:05 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
11.11 01:17:05 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
The plugins is awesome
In reply to mat41997:
Its your SQL server ...
Does this plugin work for "normal" players, too?
We have some troll users and want to prevent fast rejoins if possible.
So users have to wait a minute after logout til they can rejoin the server for example.
Thank you for your contribution to the server security, your plugin looks very useful, can I share it in the Chinese web site, http://www.mcbbs.net?:D
In reply to Fsw_totoro:
It does not work well in 1.10.2
In reply to JugadorON:
@JugadorON
Latest version works on 1.10.2 too.
If you want get rid of the Non-Blocking "NoSuchMethodError" see THIS comment.
I need version to 1.10.2, please!!!
Java 8!
@TheKillHD Maybe your MySQL server is closing the connection before the end of the transaction.
Do you see any errors in Console with Debug enabled?
@Qalle Will see for version 6.0. Currently it looks like many IPs are Blacklisted too on StopForumSpam, which makes this check not efficient.
Could you provide support for DNSBLs such as sbl.spamhaus.org?
Similarly to what this https://mods.curse.com/bukkit-plugins/minecraft/dnsbl plugin is doing, except configurable, please.
@Maxetto
When i check on my mysql db, i dont see the 100K blacklisted IP but only 1K
@TheKillHD
From what I see, it seems it worked. Can you enable debug and report any errors that appears?
Thank you
I have a custom blacklist but the plugin don't want to download it :
http://ohminegod.fr/blacklist/full_blacklist_database.txt
[15:33:40 INFO]: [AJB] Downloading Blacklist 'http://ohminegod.fr/blacklist/full_blacklist_database.txt' ... [15:33:42 INFO]: [AJB] Blacklist successfully Downloaded
config :
http://pastebin.com/tP5U7nC8
complete trash, didn't even work
Hell guys, someone already test last build on spigot 1.10 ? Well i will do it and report if works or not.
@piorunek1985
As I said many times, this plugin won't help you with bots that don't use Proxies.
You can either block them by configuring your firewall (if you can), or by using the AuthMe AntiBot feature or other rate-limiting/whitelisting Anti Bot that you can find online.
Note: Whitelisting AntiBots will rise a Whitelist that will last until the attack ends, this will also block normal players from playing.