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)
@The_PC_Tech_Guy
Will look into. I'll probably add a timeout and/or thread it, so it won't freeze the whole server.
@Pablo_M98
It's normal. Blacklists work with users reportings, some proxies couldn't be already reported in time. However I feel that with AJB 5.0, bot joins got halved. In my server, with something like 50+- bots, only 2 got into the server... It's a pretty good rate! I will add another blacklist in the new update anyway (and it will also block Tor exits!)
AntiJoinBot seems to freeze the server for a minute if it has trouble connecting and downloading a blacklist :/
https://gist.github.com/RoboMWM/f919d5dae8f289c701c6
@Pablo_M98
I'm currently using the default list. I haven't "tested" it yet.
@The_PC_Tech_Guy
What proxy blacklists you use?
@Pablo_M98 Then suggest some proxy blacklists? It's not going to stop every single proxy in the world, as I'm sure new ones are being created all the time, but it should stop most of the popular ones.
Some proxied bots are able to enter
@Burockk
Were you using proxied bots? Were you botting from your Internal IP? Did you have set "ajb.bypass" permission to the default group? Is there any error in console?
@Burockk Try reading the description.
Hey,
I added this plugin to my server and tried to bot my server but bots can join my server plugin didnt do anythink how can I fix it I used last version and spigot 1649 build Ty
@Maxetto
PM'd, issue still occurs after letting it recreate the offline_data.db
@The_PC_Tech_Guy
Yes please. If you don't want to publish it, you can also PM me
EDIT: Maybe I found the solution. Could you try to rename (or delete if it's not a problem) the Database and let AntiJoinBot recreate it (/ajb reload if your server is already running, otherwise just start it)?
@Maxetto
No I edited the log file (wasn't aware if UUIDs were public or not at the time).
If you need me to re-paste with my username and UUID I can do that...
Source for 5.0 uploaded!
You can find them there: GitHub
@Zilacon
Put OfflineMode: true in the config, it tries to get the UUID but since you're running on 1.6.4, it doesn't support them.
@The_PC_Tech_Guy
It seems like the username "-snipped-" doesn't have an UUID. Is him perhaps an NPC or a Fake Player (like [BuildCraft] for Tekkit servers). According to Mojang no UUID is found upon requesting it, so that's why it throws an NPE.
@Maxetto
To clarify: My server does not run in offline-mode.
In the antijoinbot config, if I set online-mode to false, it throws the errors I posted. Setting online-mode to true (in the plugin config, not the server properties) does not cause the posted errors.
@zuzzas
https://bitbucket.org/NullP0interEx/antijoinbot
@Maxetto
It shows its compatible for 1.5.2 and im running 1.6.4 but i get this error when someone joins:
http://pastie.org/pastes/10062321/text
@The_PC_Tech_Guy I probably misunderstood your post. Is your server running in Offline Mode? If this is so, then you have to put "OfflineMode: true" in AntiJoinBot. Otherwise just let me know and I'll look into it ASAP.
@zuzzas
Sorry, i was on a study holiday in London. I still haven't uploaded the source for version 5.0, but you can find a source for the previous versions in the main page.
Do you have a source code repository?
@Maxetto
Offline, as in not using a MySQL database? If so, that's correct - offline is set to true
In the config, OfflineMode is set to false, as I specified in my comment (albeit not as you spell it in the config). No errors occur if OfflineMode is set to true.
I do not and never intend to run my server in offline-mode
@The_PC_Tech_Guy
Do you also have "OfflineMode" set to true in the AntiJoinBot config? It seems like it wants to take the UUID but, since it's offlinemode, it gives nothing.