HomeJavaModsAnti Bot Attack
Anti Bot Attack
[​IMG]

Have you ever wondered how do big servers don’t suffer from bot attacks? Either online or offline?
Your bungeecord gets overloaded and ram on 100%?
You search the web for protections but anti-proxy plugins are ineffective and iptables just protects too much?

This is your best solution ! You don’t have to worry more about it because this plugin will use the best method to protect you: ONLINE MODE and still work on offline servers.
Requirements:

[​IMG]

Every server has offline players and premium players. Anti Bot Attack detects patterns of bot-attacks and enables the perfect protection: Online Mode
What about non-premium players?
Spoiler: Answer
- They will still be able to join :) The plugin will recognize them because they accessed through the Server-List and they will be able to join if the protection is enabled.

What are the best news? This works for EVERY TYPE OF SERVER - Offline, Mixed-Mode… Without players losing any items!

Whenever a bot attack is happening the plugin only allows original players in, during a configurable amount of time (or until bot attack ends) and if the server is offline, they will keep their offline UUID.

This is what the bots will see:
[​IMG]
This is what the players can see:
[​IMG]

Videos:



Known Incompatibilities:
There are no other known incompatibilities. It should be compatible to every bungeecord mixed mode authentication plugins.

[​IMG]

/aba - Main command for admins
/aba reload - Reload configuration
/aba on - Enable protection
/aba off - Disable protection

Permissions: aba.admin

Spoiler: Configuration
Code (Text):

# Anti Bot Attack
#
# By: imTedzi
#
# Configuration Details
#
# MAX-LOGINS - Max logins allowed per time defined in "PER-HOW-MUCH-SECONDS"
# PER-HOW-MUCH-SECONDS - How much seconds should the protection detect max logins
# ANTIBOT-TIME - How much time will the Antibot Protection kick in and prevent offline logins
# DEBUG - You won't need to enable this :)
#
# UNABLE-TO-LOGIN - Message that is given to the player in case an internal error occours
# CHANGE-MOTD - In case there's a bot attack happening, do you wish to update the motd to warn the players?
# MOTD-PROTECTION-ENABLED - To which motd?
# OFFLINE - If your server is offline, leave this as true. If you have a mixed-mode server,
# it means you log your online players as in an online server, so put this as false.
#
# PING - Another protection method over the default one, if you enable this, players who pinged the server (which
# means players who saw the server in the Server-List) will also be allowed in when an attack is happening (besides premium).
# REFRESH-TIME - During a period of time, the plugin will refresh the whitelisted players who saw the server in the
# Server-List. You can change the time here, case of doubt, leave it as default.
# CACHE-SIZE - Some massive bot attacks try to fill your BungeeCord RAM. To avoid that, I've set a Max CACHE-SIZE for
# whitelisted players who saw the server in the Server-List. Increasing = more valid players are allowed during bot attacks
# Case of doubt, leave it as default.

config:
  login:
    max-logins: 50
    per-how-much-seconds: 1
    antibot-time: 60
  messages:
    unable-to-login: '&cUnable to login!'
    motd-protection-enabled: '&6Yourserver-firstline%newline%A&7nti Bot Protection &aON'
  protection:
    enabled: true
    change-motd: true
    offline: true
    ping:
      enabled: true
      refresh-time: 300
      cache-size: 1000
 

[​IMG]

Please note that by download this plugin you agree to the following:
1 - You are not allowed to modify the plugin and credit yourself
2 - Don't make reviews about bad features before contacting me.
3 - Im not obligated to do updates.

Please note it's beta version, something may fail and I hope to fix as soon as someone reports me. So PLEASE DON'T give a negative review before messaging me!

Credits: Exunary for the image icons

Thanks to File14 for an awesome idea to improve the plugin!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Anti Bot Attack is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11. Downloaded 132,933 times (via Spigot). Download it and open it directly in the game.

Explore more