Interface IPlatformHelper


public interface IPlatformHelper
  • Method Details

    • getCaptchaCooldown

      int getCaptchaCooldown()
      Get the Captcha Cooldown from the config.
      Returns:
      The cooldown in seconds.
    • getGracePeriod

      int getGracePeriod()
      Get the Grace Period from the config.
      Returns:
      The grace period in ticks.
    • getAdditionMaxX

      int getAdditionMaxX()
      Get the max X value for the addition operation.
      Returns:
      The max X value.
    • getAdditionMaxY

      int getAdditionMaxY()
      Get the max Y value for the addition operation.
      Returns:
      The max Y value.
    • getSubtractionMaxX

      int getSubtractionMaxX()
      Get the max X value for the subtraction operation.
      Returns:
      The max X value.
    • getSubtractionMaxY

      int getSubtractionMaxY()
      Get the max Y value for the subtraction operation.
      Returns:
      The max Y value.
    • getMultiplicationMaxX

      int getMultiplicationMaxX()
      Get the max X value for the multiplication operation.
      Returns:
      The max X value.
    • getMultiplicationMaxY

      int getMultiplicationMaxY()
      Get the max Y value for the multiplication operation.
      Returns:
      The max Y value.
    • getDivisionMaxX

      int getDivisionMaxX()
      Get the max X value for the division operation.
      Returns:
      The max X value.
    • getDivisionMaxY

      int getDivisionMaxY()
      Get the max Y value for the division operation.
      Returns:
      The max Y value.
    • sendRequireCaptchaMessage

      void sendRequireCaptchaMessage(net.minecraft.server.level.ServerPlayer serverPlayer, String captchaName, String code)
      Send Require Captcha Message to the client.
      Parameters:
      serverPlayer - The player to send the message to.
      captchaName - The name of the captcha.
      code - The code for the captcha.
    • sendCompletedCaptchaMessage

      void sendCompletedCaptchaMessage(String code)
      Send Completed Captcha Message to the server.
      Parameters:
      code - The code for the captcha.