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

public abstract class SubCommands extends Object implements FloodgateCommand
  • Constructor Details

  • 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)
    • setup

      @PostConstruct public void setup()