Class CommandRegister

java.lang.Object
org.geysermc.floodgate.core.register.CommandRegister

public final class CommandRegister extends Object
This class is responsible for registering commands to the command register of the platform that is currently in use. So that the commands only have to be written once (in the common module) and can be used across all platforms without the need of adding platform specific commands.
  • Constructor Details

    • CommandRegister

      public CommandRegister()
  • Method Details

    • registerCommands

      @Inject public void registerCommands(Set<FloodgateCommand> foundCommands)