Class LinkAccountCommand
java.lang.Object
org.geysermc.floodgate.core.command.LinkAccountCommand
- All Implemented Interfaces:
FloodgateCommand
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.incendo.cloud.Command<UserAudience.PlayerAudience>buildCommand(org.incendo.cloud.CommandManager<UserAudience> commandManager) Called by the CommandRegister when it wants you to build the command which he can add.voidexecute(org.incendo.cloud.context.CommandContext<UserAudience.PlayerAudience> context) booleanshouldRegister(FloodgateConfig config) Called by the CommandRegister to check if the command should be added given the config.
-
Constructor Details
-
LinkAccountCommand
public LinkAccountCommand()
-
-
Method Details
-
buildCommand
public org.incendo.cloud.Command<UserAudience.PlayerAudience> buildCommand(org.incendo.cloud.CommandManager<UserAudience> commandManager) Description copied from interface:FloodgateCommandCalled by the CommandRegister when it wants you to build the command which he can add.- Specified by:
buildCommandin interfaceFloodgateCommand- Parameters:
commandManager- the manager to create a command- Returns:
- the command to register
-
execute
-
shouldRegister
Description copied from interface:FloodgateCommandCalled by the CommandRegister to check if the command should be added given the config.- Specified by:
shouldRegisterin interfaceFloodgateCommand- Parameters:
config- the config to check if a command should be added- Returns:
- true if it should be added
-