API Usage

API Usage for Atlas Captcha

Captcha Player

// The player we want to captcha
Player player = Bukkit.getPlayer("ElapsedDev");

// Captcha the player
CaptchaAPI.getInstance().captcha(player);

Captcha Status

// The player we want to captcha
Player player = Bukkit.getPlayer("ElapsedDev");

// Returns if the player has completed the captcha
CaptchaAPI.getInstance().isCaptchaCompleted(player);

// Returns if the player is an alt
CaptchaAPI.getInstance().isAlt(player);

// Returns if the player is completing the captcha
CaptchaAPI.getInstance().isInCaptcha(player);

// Complete the captcha of a player
CaptchaAPI.getInstance().completedCaptcha(player);

Last updated