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)
Very Good plugin. But proxy check not working, i have turn to true and stills not working! ( I HaveVersion Spigot 1.8.8)
@Maxetto
Thank you :)
Awesome plugin! Blocks every proxy! Even cyberghost!
@MasterMithrandir
No, it would be unsecure as it would allow every proxy to join thru that nickname.
Somewhere in the comments I posted a Dev version where you can do /ajb add <IP> to whitelist an IP. That will help players getting false positives.
Is /ajb add <player> usefull for players getting false positives?
@xion87
Strano che faccia crashare, ancora più strano che non generi Log. Prova ad abilitare "Debug: true" e vedere se c'è qualche problema (Al momento è andata offline la API di Shroomery, ma non causa problemi a me). AJB non è ancora un plugin per BungeeCord, quindi se ti crasha il Proxy in sé, non è causato da AJB.
Non uso neanche Skype, quindi per quanto mi faccia piacere aiutarti, non posso farlo tramite quel mezzo (puoi usare i PM, se vuoi).
@Maxetto Ho un problemino, in pratica ho spostato il mio network sotto il panello Pufferpanel, da poco hanno aggiornato il Pufferpanel che ora usa i docker (ogni server è isolato), il problema che con questo plugin fa crashare dopo qualche ora (crash al bungeecord e server login, senza generare nessun log...) che potrebbe essere? Inoltre se ti va mi farebbe piacere averti su skype per alcune spiegazioni sul network e sicurezza, grazie mille!
@KmunBiene
No, this just protects your server from Bot attacks and possible crashes related to them.
Is it an AntiDDoS plugin?
@MasterMithrandir
I actually like that it does that (though I don't use it anymore since the bukkit.yml autosave config does exactly the same thing), and I can't find a plugin that monitors this sort of thing. Helps me easily track down plugins that like to randomly hang my server just because an http request timed out and they couldn't be bothered to make it async :/
From that log, it looks like everything happened in the same second, so not sure why you think AJB takes long to load. (Nobody's going to care about which plugins you run; just edit (and indicate) plugins you don't want others to know about if you're worried about pasting the entire server startup log.)
@The_PC_Tech_Guy Sorry about the late response. This is as much as I think I can provide (AJB startup process log):
http://hastebin.com/apesicorob.pas
Please say if you would like anything more specific.
@JugadorON
Auto Save World is a newscense xD It always sends weird interaction messages indicating possible bad actions from other plugins :S
@JugadorON
No, that's not an error. It's just reporting that AntiJoinBot is doing stupid things in the main thread.
Help!!! Please!!!
AutoSaveWorld error with this plugin T-T
[19:37:07] [Server thread/WARN]: [AutoSaveWorld] Plugin AntiJoinBot attempted to establish connection http://myip.ms/files/blacklist/csf/latest_blacklist.txt in main server thread
[19:37:07] [Server thread/WARN]: [AutoSaveWorld] Plugin AntiJoinBot attempted to establish connection socket://myip.ms:80 in main server thread
@Layania
There's no "ajb_whitelist" table in the database, you must use "/ajb add <name>" or put "false" in the "ajb_blacklist" table where is the name you want to Whitelist.
BTW, IP checks > Username checks, if you blocked an IP from joining the server, it won't be able to join even if it's entering with a Whitelisted Username
@MasterMithrandir
Yeah, you probably have slow connection to the database, on server start it downloads a blacklist of roughly 200 Kb and writes it to the database. For the first start it should take around 10-20 seconds, but after that it doesn't take no more than 2 seconds.
You can disable that feature in the config.
@MasterMithrandir
Provide a server log. I bet it's the auto-updater hanging the main thread. (I don't think it checks players on enable.)
AntiJoinBot is the plugin that takes the longest to load on my server for some reason.
Apparently it takes such a long time due to the fact that it checks all registred players before loading :S
I have some problem with ajb.bypass permissions
I have put one ip in ajb_blacklist but i want give permissions to bypass to one name.
My account is on ajb_whitelist and have - ajb.bypass and always have block message.
So, how's progress going on the long-anticipated update?
@200dvd
You! I finally got you :P, why don't you answer my PM? >-< (Answer it please, I love your SimpleStats plugin <3)
In any case, about this issue. Many users with those issues don't even know about VPN's, so unless someone has established their connection through a VPN, they should know what's going on is affecting their access.
But most casual users don't use VPN's so the issue is most provably that many of the blacklisted IP's on those 3 default websites are not really harmfull IP's. Some people seem to inherit IP's which may have been up to no good in the past, which in turn denies their access to my server, as your plugin interprets those evil IP's to be harmul proxies.
Solution: Maybe you could incorporate an analyzer which checks if there have been too many "suspicuous" IP's logging in together, for example, if a user logs in with an IP considered to be regularly used as proxy, you could let him in. But if a preconfigurably defined ammount of users with suspicuious IP's start to log in, then the proxy blocker would execute itself for a preconfigurably ammount of time. After the time is over, all proxies would be allowed to enter again.
This should decrease the ammount of false positives, which would only increase when attacks occur.