Sueta

LoginLimiter (Anti-Bot System)

1.0

This plugin prevents the login spam on your server

·Plugin

The plugin allows you to control the flow of new players to the server. It limits amount of logins in specified amount of time.
Features:

  • Count player logins in specified time and disallow join if limit is reached
  • Store player nicknames to allow them bypass the check
  • Disallow nicknames with different cases (For example: KlasterStorm - klaSteRstOrm)
  • AuthMe support
Config
# How many logins are allowed in a specified amount of time, -1 to disable
threshold: 7
# What time interval is used to analyze the players login
timeout: 1000

# Whether to store nicknames of players which joined the server. It allows them to bypass the login limit.
userCache:
  # When player nickname will be saved?
  #   "join" - when player joins the server
  #   "authme" - hook the AuthMe LoginEvent when player logging in
  # Anyway player nickname can be saved by using command '/loginlimiter store <player>'
  storeType: authme
  # Prevent player join the server if his nickname is stored with different case.
  safeCase: false

If threshold set to 7 and timeout is 1000 it means that in 1 second 7 logins allowed. If amount of logins exceed the threshold, whitelist will be enabled.
Whitelist containts players which have played before on server. Player can be added to whitelist when he joins the server or login via AuthMe.
Also you can register him by command /loginlimiter store <player>

Commands:

  • /loginlimiter store <player> - Add player to whitelist
  • /loginlimiter remove <player> - Remove player from whitelist
  • /loginlimiter reload - Reload config

Similar projects

Plugin →