Плагин на капчу для сервера minecraft 1.8. Плагин AnBot v0.7 - Антибот с капча фильтрацией

Welcome to the plugin page of Captcha, Captcha is one of the best anti-bot mechanisms out there.

It contains captcha"s when people click too fast, chat too fast. And the server blocks direct connections. You may be asking: "But why is this usefull?" Easy! because most bot attacks come from direct connections. But when you block those you won"t even see that bots try to join your server. And best of all, It doesn"t affect any of the performance! If bots find a way to join the server, The server will get locked instantly!

PassedCaptcha: "&7[&a&lCaptcha&7]: You succesfully passed the captcha!"
PassedCaptchaMessageEnabled: true

NoPermissions: "&7[&c&lError&7]: You dont have permissions to execute this command"
# Message when you dont have the permissions

UnknownPlayer: "&7[&c&lError&7]: The player %player% is invalid"
# Message when the player you specified is not known

NoCaptchasEnabled: "&7[&c&lError&7]: None of the captchas are enabled"
# Message when you try to open a Captcha but no Captcha"s are enabled

HasOverride: "&7[&c&lError&7]: The player you specified has an override permission"
# Message when you try to open a Captcha to someone that has an override permission

KickMessage: "&7You have been kicked\nBecause you havent completed the captcha!"
# The message displayed when the player is kicked, Use \n for a new line

RelogDelayKickMessage: "&7You should wait another %s%\n seconds before logging in again"
# Message when you get kicked because you are still in cooldown

MustMove: "&7[&c&lError&7]: In order to talk or execute commands you must move"
# Message when you didnt move but you tried to talk or execute a command.

NotifyMessage: "&7[&a&lCaptcha&7]: %player% didnt complete the Captcha!"
NotifyMessageEnabled: true
NotifyPermission: "captcha.notify"

BotAttackOver: "&7[&a&lCaptcha&7]: The bot attack seems to be over"

ServerLockedKickMessage: "&7Sorry, the server seems to be under a bot attack\n please try again later!"
# Message when the server is locked

# Other settings:

MaximumJoinsPerSecond: 5
# Amount of players that can join before the server locks

CaptchaOnClick: 25
# Specify how many times a player should click per second in order to open a captcha (Anti-Macro)

CaptchaOnClickEnabled: true

MaximumChatsPer5Seconds: 5
# Specify how many times a player can chat in 5 seconds in order to open a captcha

MaximumChatsPer5SecondsEnabled: true

ReloadPermission: "captcha.reload"
# Permission to reload

CaptchaOpenPermission: "captcha.open.others"
# Permission to open captchas to other people

SoundOnCaptcha: "BLOCK_ANVIL_LAND"
# The sound you get when you get a captcha
# Set to NONE to disable

SoundOnCaptchaComplete: "ENTITY_SILVERFISH_DEATH"
# The sound you get when you completed a captcha succesfully
# Set to NONE to disable

TimesFailed: 5
# Maximum times you can fail before you get kicked

KickTime: 10
# Time where the player should answer the Captcha in, Otherwise he or she gets kicked

RelogDelay: 15
# Time the player should wait before logging back on again

OverridePermission: "captcha.override"
# Permission to override the captcha + move before chat/commands

MoveBeforeChatAndCommands: true
# Should you move before you chat or execute a command?

AllowedCommands:
- "/login"
# Command that are allowed when you didnt move yet

CaptchaOn: ALL
# Specify on wich joins captcha"s should appear
# Valid types are: FIRSTJOIN, ALL, NONE

BlockDirectConnections: true
# Should the server block direct connections?

BlockDirectConnectionsKickMessage: "&7Oops, Make sure you add the server To your server list! \n Was this a mistake? Refresh your server list!"
# Message when you directly connected to the server

# GUI 1:
# A.K.A Steak GUI

GUI1Enabled: true
# Is GUI1 enabled or not?

GUI1InventorySize: 54
# Must be a factor of 9

GUI1InventoryName: "&a&lClick the steak!"
# Name of the inventory

GUI1InventoryClickItem: "COOKED_BEEF"
# What material should the item you need to click be?

GUI1InventoryClickItemDurabillity: 1
# Sets the durabilly of the item, for custom textures

GUI1InventoryClickItemUnbreakable: true

GUI1InventoryClickItemName: "&a&lClick me!"

GUI1InventoryClickItemLore:
- "&a&lClick me to complete the captcha!"
- "&a&lYes! me, Click me!"

GUI1InventoryFillName: "&c&lDont click me!"
# What should the name of the item be?

GUI1InventoryFillLore:
- "&c&lYou shouldnt click me at all!"
- "&c&lNo! not me! Dont click me"
# What should the lore of the item be?

GUI1InventoryFillItem: "STAINED_GLASS_PANE"
# What material should the item you dont need to click be?

GUI1InventoryFillDurability: 15
# Sets the durabillity of the item, for custom textures

GUI1InventoryFillUnbreakable: true
# Makes the item unbreakable or not, usefull for custom textures

# GUI 2:
# A.K.A Math GUI

GUI2Enabled: true

GUI2InventoryName: "&a&lWhat is %1 + %2"

# GUI 3:
# A.K.A Glow GUI

GUI3Enabled: true

GUI3InventorySize: 54

GUI3InventoryName: "&a&lClick the glowing item!"

GUI3ClickItemName: "&a&lClick me!"

GUI3ClickItemLore:
- "&a&lClick me!"
- "Yes, Im the glowing item!"
# GUI 4:
# A.K.A CLick all the ... GUI

GUI4Enabled: true

GUI4InventoryName: "&7Click all the green blocks"

GUI4ClickItem: "STAINED_CLAY"

GUI4ClickItemName: "&a&lYes! Click me"

GUI4ClickItemDurabillity: 5

GUI4FillItemName: "&c&lNo!, Dont click me!"

GUI4FillItem: "STAINED_GLASS_PANE"

GUI4FillItemDurabillity: 15
# Captcha 1:
# A.K.A Type Captcha

Captcha1Enabled: true

Captcha1Lenght: 5
# Lenght of the random letter string

Captcha1Message: "&7[&a&lCaptcha&7]: In order to complete the captcha you must type %captcha%"

# Captcha 2:
# A.K.A Sneak Captcha

Captcha2Enabled: true

Captcha2Message: "&7[&a&lCaptcha&7]: In order to complete the captcha you must sneak"
# Message to be displayed when they get a type captcha

# Captcha 3:
# A.K.A Random number captcha

Captcha3Enabled: true

Captcha3Message: "&7[&a&lCaptcha&7]: In order to complete the captcha, you must type %number%"

Captcha3MaxRandomNumber: 9999

# Captcha 4:
# A.K.A Look (left/right/up/down) captcha

Captcha4Enabled: false

Captcha4Message: "&7[&a&lCaptcha&7]: In order to complete the captcha, you must look %to%"

# Captcha 5:
# A.K.A Jump captcha

Captcha5Enabled: true

Captcha5Message: "&7[&a&lCaptcha&7]: In order to complete the captcha, you must jump"

Название плагина : AnBot
Версия плагина : 0.7
Краткое описание : Защита сервера от ботов.
Версия Craftbukkit : 1.8 - 1.9.4

Основные особенности плагина (0.7):

  • Плагин защищает сервер от бот атак.
  • Не используется whitelist.
  • Новые игроки могут заходить на сервер во время бот атаки.
  • Автоматическая система включения защиты.
  • Ручная система включения защиты.
  • Автоматическая блокировка атакующих IP адресов.
  • С версии 0.7 работает только с BungeeCord .
  • Просмотр статистики.
Permissions:
  • anbot.admin - доступ к командам плагина. (только для Spigot)
Команды:
Версия 0.7:
  • /ancore - просмотр статистики.
  • /ancore guard - управление защитой.
  • /ancore banlist - список заблокированных IP адресов.
  • /ancore unban - разблокировать IP адрес.
Версии ниже 0.7:
  • /ad - список команд плагина. (только для Spigot)
  • /admode <0/1/2> - режим работы плагина. (0 - защита отключена, 1 - защита включена, 2 - автоматический режим)
  • /adnotify - включение/отключение уведомлений в консоль (для bungeecord), в motd (для spigot).
  • /addebug - просмотр статистики.
Конфигурация:
Версия 0.7:

Версии ниже 0.7:

Mode: 2 #Режим работы плагина. notify: false #Надпись при атаке. php_check: "auto" #Подключение своего PHP скрипта проверки.

Видео:
Версия 0.7:

(В видео защита работает на "TAB-капче", в настоящий момент защита работает на "MAP-капче".
Версии ниже 0.7:

Лог изменений::

  • v0.6 (Spigot) - Переход на версию 1.9.
  • v0.5 (BungeeCord) - Добавлена фильтрация прокси. Поддержка 1.9.
  • v0.5 (Spigot) - Добавлена конфигурация. Добавлена проверка на прокси. Добавлена возможность добавления своего PHP скрипта проверки на прокси.
  • SpoilerTarget">Спойлер: Старые версии

    v0.4 - фикс бага (боты проходили если ботить с 1 ип и нажимать кнопку "Обновить"), добавлена возможность отключения уведомлений в консоль (bungeecord версия) и скрытия "" при бот атаке в motd сервера.
    v0.3 - фикс небольшого бага. Добавление BungeeCord версии.
    v0.2 - публикация плагина на RuBukkit.

ToDo
  • Повышение производительности ядра капча сервера.
  • Переход на версию 1.10
  • Обрезка оригинальной BungeeCord для лучшего сопротивления атакам.
Установка плагина версии 0.7:
1. Скачиваем плагин под версию нашего сервера.
2. Переносим плагин в папку plugins вашей BungeeCord.
3. Запускаем BungeeCord, ждём генерации конфига.
4. Останавливаем BungeeCord, редактируем конфиг под свой сервер (plugins\AnBotCore\plugin.yml)
5. Открываем конфигурацию BungeeCord, добавляем капча сервер в раздел "servers:"

Ancore: motd: AnBot address: localhost:1512 restricted: false

6. Устанавливаем приоритет попадания на сервер:

Priorities: - ancore

9. Ставим "force_default_server: true"
8. Запускаем BungeeCord, проверяем работоспособность.

Внимание! Версия 0.7 находится в стадии тестирования, возможны баги и глюки, падение капча сервера.... Устанавливайте версию 0.7 на свой страх и риск. О всех найденных недочётах прошу писать в данной теме.

Пожертвование разработчику:
Yandex: 410011952440459
Webmoney: R587403261632