Class MainCommand
java.lang.Object
org.geysermc.floodgate.core.platform.command.SubCommands
org.geysermc.floodgate.core.command.main.MainCommand
- All Implemented Interfaces:
FloodgateCommand
-
Constructor Summary
Constructors -
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) Methods inherited from class org.geysermc.floodgate.core.platform.command.SubCommands
setup, subCommandsMethods 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
-
MainCommand
public MainCommand()
-
-
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
-