Class SubCommands
java.lang.Object
org.geysermc.floodgate.core.platform.command.SubCommands
- All Implemented Interfaces:
FloodgateCommand
- Direct Known Subclasses:
MainCommand
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSubCommands(String name, String description, Permission permission) -
Method Summary
Modifier and TypeMethodDescriptionorg.incendo.cloud.Command<UserAudience>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> context) voidsetup()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.floodgate.core.platform.command.FloodgateCommand
shouldRegister
-
Constructor Details
-
SubCommands
-
-
Method Details
-
buildCommand
public org.incendo.cloud.Command<UserAudience> 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
-
setup
@PostConstruct public void setup()
-