Class MainCommand

java.lang.Object
org.geysermc.floodgate.core.platform.command.SubCommands
org.geysermc.floodgate.core.command.main.MainCommand
All Implemented Interfaces:
FloodgateCommand

@Singleton public final class MainCommand extends SubCommands implements FloodgateCommand
  • 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: FloodgateCommand
      Called by the CommandRegister when it wants you to build the command which he can add.
      Specified by:
      buildCommand in interface FloodgateCommand
      Parameters:
      commandManager - the manager to create a command
      Returns:
      the command to register
    • execute

      public void execute(org.incendo.cloud.context.CommandContext<UserAudience> context)