Class PaperCommandRegistry

java.lang.Object
com.gamersafer.minecraft.auth.common.commands.CommandRegistry
com.gamersafer.minecraft.auth.paper.command.PaperCommandRegistry

public class PaperCommandRegistry extends com.gamersafer.minecraft.auth.common.commands.CommandRegistry
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields inherited from class com.gamersafer.minecraft.auth.common.commands.CommandRegistry

    api, commands, config, core, loginHandlerFactory, playerStorage, profileService, reportLogManager, server
  • Constructor Summary

    Constructors
    Constructor
    Description
    PaperCommandRegistry(com.gamersafer.minecraft.auth.common.GSAuthPlugin core, org.bukkit.Server server, GSAuthPaper plugin, com.gamersafer.minecraft.auth.common.api.GSAuthApi api, com.gamersafer.minecraft.auth.common.handler.ILoginHandlerFactory loginHandlerFactory, com.gamersafer.minecraft.auth.common.abstraction.IServer iserver, com.gamersafer.minecraft.auth.common.onboarding.IOnboardingService onboardingService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    registerCommand(com.gamersafer.minecraft.auth.common.commands.ICommand cmd)
    This function is a hack.

    Methods inherited from class com.gamersafer.minecraft.auth.common.commands.CommandRegistry

    registerCommands

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PaperCommandRegistry

      public PaperCommandRegistry(com.gamersafer.minecraft.auth.common.GSAuthPlugin core, org.bukkit.Server server, GSAuthPaper plugin, com.gamersafer.minecraft.auth.common.api.GSAuthApi api, com.gamersafer.minecraft.auth.common.handler.ILoginHandlerFactory loginHandlerFactory, com.gamersafer.minecraft.auth.common.abstraction.IServer iserver, com.gamersafer.minecraft.auth.common.onboarding.IOnboardingService onboardingService)
  • Method Details

    • registerCommand

      protected void registerCommand(com.gamersafer.minecraft.auth.common.commands.ICommand cmd)
      This function is a hack. Registering the normal way is not possible as we cannot force an override of already registered command aliases.
      Specified by:
      registerCommand in class com.gamersafer.minecraft.auth.common.commands.CommandRegistry