Class FabricPlatformHelper

java.lang.Object
com.mrbysco.captcha.platform.FabricPlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • sendRequireCaptchaMessage

      public void sendRequireCaptchaMessage(net.minecraft.server.level.ServerPlayer serverPlayer, String captchaName, String code)
      Description copied from interface: IPlatformHelper
      Send Require Captcha Message to the client.
      Specified by:
      sendRequireCaptchaMessage in interface IPlatformHelper
      Parameters:
      serverPlayer - The player to send the message to.
      captchaName - The name of the captcha.
      code - The code for the captcha.
    • sendCompletedCaptchaMessage

      public void sendCompletedCaptchaMessage(String code)
      Description copied from interface: IPlatformHelper
      Send Completed Captcha Message to the server.
      Specified by:
      sendCompletedCaptchaMessage in interface IPlatformHelper
      Parameters:
      code - The code for the captcha.