✨ Rose Captcha | 1.8 ~ 1.16 |✨ Ping Indicator | Login Cooldown | Titles | Actionbars | and more.. icon

✨ Rose Captcha | 1.8 ~ 1.16 |✨ Ping Indicator | Login Cooldown | Titles | Actionbars | and more.. -----

(PlaceholderAPI & Authme Support) Add captcha to your server.



API & Events (1.2.0)
  • Code (Java):
    package me.Katerose.Addon ;

    import org.bukkit.entity.Player ;
    import org.bukkit.event.Listener ;
    import org.bukkit.event.player.PlayerJoinEvent ;

    import me.Katerose.RoseCaptcha.API.BadPingEvent ;
    import me.Katerose.RoseCaptcha.API.GetAPI ;
    import me.Katerose.RoseCaptcha.API.GoodPingEvent ;
    import me.Katerose.RoseCaptcha.API.HighPingEvent ;
    import me.Katerose.RoseCaptcha.API.NormalPingEvent ;
    import me.Katerose.RoseCaptcha.API.VerifiedEvent ;
    import me.Katerose.RoseCaptcha.API.WrongCodeEvent ;

    public class Addon implements Listener {
       
        //Get API
        GetAPI api = new GetAPI ( ) ;
       
        //Example
        public void onJoin (PlayerJoinEvent e ) {
            Player p = e. getPlayer ( ) ;
            //I have offered you a simple to use one.
            //api.colorcodes(string);
            //
            //Using "ChatColor.translateAlternateColorCodes('&', string)" is too long.
           
            //Get a player ping
            p. sendMessage (api. colorcodes ( "&6" + api. getPing (p ) ) ) ;
            //Get a player code
            p. sendMessage (api. colorcodes ( "&6" + api. getCode (p ) ) ) ;
            //Boolean
            if (api. ifCaptcha (p ) ) {
                p. sendMessage (api. colorcodes ( "&cPlease use: &e" + api. getCode (p ) ) ) ;
            }
        }
       
        //All Events
        public void Verified (VerifiedEvent e )
        {
            //Your codes
        }
       
        public void WrongCode (WrongCodeEvent e )
        {
            //Your codes
        }
       
        public void pingEvent (GoodPingEvent e )
        {
            //info: Player ping is 0 - 50
            //Your codes
        }
        public void pingEvent2 (NormalPingEvent e )
        {
            //info: Player ping is 50 - 90
            //Your codes
        }
        public void pingEvent3 (BadPingEvent e )
        {
            //info: Player ping is 90 - 200
            //Your codes
        }
        public void pingEvent4 (HighPingEvent e )
        {
            //info: Player ping is > 200
            //Your codes
        }
    }
----------, Feb 28, 2021
Resource Information
Author:
----------
Total Downloads: 585
First Release: Feb 26, 2021
Last Update: Mar 22, 2021
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings