Package com.ultikits.ultitools.commands
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
通过魔法链接进行UltiCloud身份验证的命令。 Usage: /ulticloud login — Generate a magic link to authenticate /ulticloud logout — Clear saved credentials /ulticloud status — Show current auth status
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ultikits.ultitools.abstracts.AbstractCommandExecutor
AbstractCommandExecutor.CoolDownTickResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleHelp(org.bukkit.command.CommandSender sender) Abstract method that handles the help command.voidlogin(org.bukkit.command.CommandSender sender) voidlogout(org.bukkit.command.CommandSender sender) voidstatus(org.bukkit.command.CommandSender sender) Methods inherited from class com.ultikits.ultitools.abstracts.AbstractCommandExecutor
executeMethodWithLock, getHelpCommand, getInstance, onCommand, onTabComplete, processCoolDownTick, sendErrorMessage, suggest
-
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:AbstractCommandExecutorAbstract method that handles the help command.处理帮助命令的抽象方法。
- Specified by:
handleHelpin classAbstractCommandExecutor- Parameters:
sender- The sender of the command.
命令的发送者。
-