Class GSAuthListener

java.lang.Object
com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone
com.gamersafer.minecraft.auth.velocity.listener.GSAuthListener

public class GSAuthListener extends com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone
  • Field Summary

    Fields inherited from class com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone

    banManager, communicator, config, core, disableChecks, eventFactory, lang, logger, loginHandlerFactory, messages, onboardingService, placeholderService, playerStorage, pluginChannel, server, service
  • Constructor Summary

    Constructors
    Constructor
    Description
    GSAuthListener(com.gamersafer.minecraft.auth.common.abstraction.IServer server, GSAuthVelocity plugin, com.gamersafer.minecraft.auth.common.GSAuthPlugin core, com.gamersafer.minecraft.auth.common.configuration.SharedConfiguration config, com.gamersafer.minecraft.auth.common.configuration.MessageConfiguration messages, com.gamersafer.minecraft.auth.common.configuration.LanguageConfiguration lang, com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator communicator, com.gamersafer.minecraft.auth.common.service.IProfileService service, com.gamersafer.minecraft.auth.common.db.api.IPlayerStorage playerStorage, com.gamersafer.minecraft.auth.common.abstraction.ILogger logger, com.gamersafer.minecraft.auth.common.ban.BanManager banManager, com.gamersafer.minecraft.auth.common.event.EventFactory eventFactory, com.gamersafer.minecraft.auth.common.handler.ILoginHandlerFactory loginHandlerFactory, com.gamersafer.minecraft.auth.common.placeholder.PlaceholderService placeholderService, com.gamersafer.minecraft.auth.common.onboarding.IOnboardingService onboardingService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onDisconnect(com.velocitypowered.api.event.connection.DisconnectEvent event)
     
    void
    onLogin(com.velocitypowered.api.event.connection.LoginEvent event)
     
    void
    onPluginMessage(com.velocitypowered.api.event.connection.PluginMessageEvent event)
     
    void
    onPostServerConnect(com.velocitypowered.api.event.player.ServerPostConnectEvent event)
     
    protected void
    sendDataToServer(com.gamersafer.minecraft.auth.common.abstraction.IPlayer player)
     
    protected void
    sendDisabled(com.gamersafer.minecraft.auth.common.abstraction.IPlayer player)
     

    Methods inherited from class com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone

    disableChecks, enableChecks, executeAfterServerConnect, onDisconnect, onLogin, onLoginEarly, onPluginMessage, onPostServerConnect

    Methods inherited from class java.lang.Object

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

    • GSAuthListener

      public GSAuthListener(com.gamersafer.minecraft.auth.common.abstraction.IServer server, GSAuthVelocity plugin, com.gamersafer.minecraft.auth.common.GSAuthPlugin core, com.gamersafer.minecraft.auth.common.configuration.SharedConfiguration config, com.gamersafer.minecraft.auth.common.configuration.MessageConfiguration messages, com.gamersafer.minecraft.auth.common.configuration.LanguageConfiguration lang, com.gamersafer.minecraft.auth.common.platform.proxy.BackendServerCommunicator communicator, com.gamersafer.minecraft.auth.common.service.IProfileService service, com.gamersafer.minecraft.auth.common.db.api.IPlayerStorage playerStorage, com.gamersafer.minecraft.auth.common.abstraction.ILogger logger, com.gamersafer.minecraft.auth.common.ban.BanManager banManager, com.gamersafer.minecraft.auth.common.event.EventFactory eventFactory, com.gamersafer.minecraft.auth.common.handler.ILoginHandlerFactory loginHandlerFactory, com.gamersafer.minecraft.auth.common.placeholder.PlaceholderService placeholderService, com.gamersafer.minecraft.auth.common.onboarding.IOnboardingService onboardingService)
  • Method Details

    • onLogin

      public void onLogin(com.velocitypowered.api.event.connection.LoginEvent event)
    • onPluginMessage

      public void onPluginMessage(com.velocitypowered.api.event.connection.PluginMessageEvent event)
    • onPostServerConnect

      public void onPostServerConnect(com.velocitypowered.api.event.player.ServerPostConnectEvent event)
    • onDisconnect

      public void onDisconnect(com.velocitypowered.api.event.connection.DisconnectEvent event)
    • sendDataToServer

      protected void sendDataToServer(com.gamersafer.minecraft.auth.common.abstraction.IPlayer player)
      Specified by:
      sendDataToServer in class com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone
    • sendDisabled

      protected void sendDisabled(com.gamersafer.minecraft.auth.common.abstraction.IPlayer player)
      Specified by:
      sendDisabled in class com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone