Class CloudLoginCommand

java.lang.Object
com.ultikits.ultitools.abstracts.AbstractCommandExecutor
com.ultikits.ultitools.commands.CloudLoginCommand
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter, org.bukkit.command.TabExecutor

@CmdExecutor(description="UltiCloud Authentication Commands", alias="ulticloud", requireOp=true) public class CloudLoginCommand extends AbstractCommandExecutor
Commands for UltiCloud authentication via magic link.
通过魔法链接进行UltiCloud身份验证的命令。 Usage: /ulticloud login — Generate a magic link to authenticate /ulticloud logout — Clear saved credentials /ulticloud status — Show current auth status
  • Constructor Details

    • CloudLoginCommand

      public CloudLoginCommand()
  • Method Details

    • login

      public void login(org.bukkit.command.CommandSender sender)
    • logout

      public void logout(org.bukkit.command.CommandSender sender)
    • status

      public void status(org.bukkit.command.CommandSender sender)
    • handleHelp

      protected void handleHelp(org.bukkit.command.CommandSender sender)
      Description copied from class: AbstractCommandExecutor
      Abstract method that handles the help command.

      处理帮助命令的抽象方法。

      Specified by:
      handleHelp in class AbstractCommandExecutor
      Parameters:
      sender - The sender of the command.
      命令的发送者。