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)

-
View User Profile
-
Send Message
Posted Jan 14, 2021Wow, 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!
-
View User Profile
-
Send Message
Posted Nov 10, 2017Hi, 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]
-
View User Profile
-
Send Message
Posted Sep 11, 2017The plugins is awesome
-
View User Profile
-
Send Message
Posted Apr 24, 2017-
View User Profile
-
Send Message
Posted Apr 25, 2017In reply to mat41997:
Its your SQL server ...
-
View User Profile
-
Send Message
Posted Feb 28, 2017Does 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.
-
View User Profile
-
Send Message
Posted Feb 9, 2017Thank 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
-
View User Profile
-
Send Message
Posted Apr 25, 2017In reply to Fsw_totoro:
-
View User Profile
-
Send Message
Posted Oct 23, 2016It does not work well in 1.10.2
-
View User Profile
-
Send Message
Posted Apr 25, 2017In reply to JugadorON:
-
View User Profile
-
Send Message
Posted Oct 15, 2016@JugadorON
Latest version works on 1.10.2 too.
If you want get rid of the Non-Blocking "NoSuchMethodError" see THIS comment.
-
View User Profile
-
Send Message
Posted Sep 23, 2016I need version to 1.10.2, please!!!
Java 8!
-
View User Profile
-
Send Message
Posted Sep 8, 2016@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.
-
View User Profile
-
Send Message
Posted Sep 7, 2016Could 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.
-
View User Profile
-
Send Message
Posted Sep 3, 2016@Maxetto
When i check on my mysql db, i dont see the 100K blacklisted IP but only 1K
-
View User Profile
-
Send Message
Posted Aug 31, 2016@TheKillHD
From what I see, it seems it worked. Can you enable debug and report any errors that appears?
Thank you
-
View User Profile
-
Send Message
Posted Aug 24, 2016I 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
-
View User Profile
-
Send Message
Posted Jun 19, 2016complete trash, didn't even work
-
View User Profile
-
Send Message
Posted Jun 17, 2016Hell guys, someone already test last build on spigot 1.10 ? Well i will do it and report if works or not.
-
View User Profile
-
Send Message
Posted May 6, 2016@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.