Captcha | AntiBotSystem icon

Captcha | AntiBotSystem -----

Protect your server from annoying bots!



Captcha | AntiBotSystem v1.0
by TUBEOF
What is Captcha - AntiBotSystem? And what does it do?

Captcha - AntiBotSystem is a system that protects your server against bots! He sends the player a random captcha when he enters the server. In addition, there is a bypass permission, players with this permission are not forced to solve a captcha. There is also an API for this plugin, which makes it possible to integrate this system into your own plugin. The API contains own events (similar to Bukkit) and other small queries.

Captchas:
  • GUI - "CLICK ON THE ..."
    • Steak
    • Apple
    • Diamond
    • Iron
    • Gold
    • Emerald
    • Redstone
    • Enderpearl
More captchas will follow! Ideas for Captchas please DM to me!

Videos and Screenshots:
  • Videos:
    • There are currently no videos available! :( If you know or made a video about the plugin, please let me know!
  • Screenshots:
    • Captcha "CLICK ON THE APPLE": Screenshot_2.png
    • Captcha "CLICK ON THE STEAK": Screenshot_4.png
    • Kick-Screen "CANCELED": Screenshot_1.png
    • Kick-Screen "WRONG": Screenshot_5.png
    • Message "COMPLETED": Screenshot_3.png
Commands and Permissions:
  • Commands:
    • There are no commands at the moment, this will change soon.
  • Permission:
    • To bypass the captcha - captcha.bypass
Config.yml:
Code (Text):
# Captcha - AntiBotSystem by TUBEOF - Config.yml
Messages:
  Prefix: '&7[&cCaptcha&7] '
  CaptchaCompleted: '&aCorrect! Have fun on our server.'
  CaptchaWrong: |-
    &cNot correct!
    &cPlease try again.
  CaptchaCanceled: |-
    &cYou have closed the captcha inventory.
    &cYou must answer the captcha correctly to play on our server!
InventoryTitles:
  Steak: '&2CLICK ON THE STEAK'
  Apple: '&2CLICK ON THE APPLE'
  Diamond: '&2CLICK ON THE DIAMOND'
  Iron: '&2CLICK ON THE IRON INGOT'
  Gold: '&2CLICK ON THE GOLD INGOT'
  Emerald: '&2CLICK ON THE EMERALD'
  Redstone: '&2CLICK ON THE REDSTONE DUST'
  Enderpearl: '&2CLICK ON THE ENDERPEARL'
 


API:

The API is integrated in the plugin. Just import the plugin into your project to work with it. This is how you can use the API:

Code (Text):
package tubeof.test;

import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.player.AsyncPlayerChatEvent;

import tubeof.captcha.api.API;
import tubeof.captcha.event.PlayerCaptchaCanceledEvent;
import tubeof.captcha.event.PlayerCaptchaCompletedEvent;
import tubeof.captcha.event.PlayerCaptchaWrongEvent;

public class HowToUseCaptchaAPI {
 
    @EventHandler
    public void onCaptchaCompleted(PlayerCaptchaCompletedEvent e) {
//        e.getPlayer();
//        e.getMessage();
//        e.setMessage(message);
//        e.setCancelled(cancle);
    }
 
    @EventHandler
    public void onCaptchaCanceled(PlayerCaptchaCanceledEvent e) {
//        e.getPlayer();
//        e.getMessage();
//        e.setMessage(message);
//        e.setCancelled(cancle);
    }
 
    @EventHandler
    public void onCaptchaWrong(PlayerCaptchaWrongEvent e) {
//        e.getPlayer();
//        e.getMessage();
//        e.setMessage(message);
//        e.setCancelled(cancle);
    }
 
    @EventHandler
    public void onChatEvent(AsyncPlayerChatEvent e) {
        Player p = e.getPlayer();
        if(API.isPlayerInCaptchaMode(p)) {
            e.setCancelled(true);
        }
    }
}
To-Do-List:
  • More captchas
  • More settings in the Config.yml
  • Commands
  • More options in the API

>> I apologize for my bad English, but I hope you still understood everything! :D <<


Before you rate the plugin bad, write me a DM and I'll help you fast!
Resource Information
Author:
----------
Total Downloads: 3,089
First Release: Feb 27, 2018
Last Update: May 23, 2021
Category: ---------------
All-Time Rating:
9 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings