java.lang.Object
com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone
com.gamersafer.minecraft.auth.bungeecord.listener.GSAuthListener
All Implemented Interfaces:
net.md_5.bungee.api.plugin.Listener

public class GSAuthListener extends com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone implements net.md_5.bungee.api.plugin.Listener
  • 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, pluginChannel, server, service
  • Constructor Summary

    Constructors
    Constructor
    Description
    GSAuthListener(com.gamersafer.minecraft.auth.common.abstraction.IServer server, GSAuthBungeecord 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.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(net.md_5.bungee.api.event.PlayerDisconnectEvent event)
     
    void
    onLogin(net.md_5.bungee.api.event.LoginEvent event)
     
    void
    onLogin(net.md_5.bungee.api.event.PostLoginEvent event)
     
    void
    onPluginMessage(net.md_5.bungee.api.event.PluginMessageEvent event)
     
    void
    onPostServerConnect(net.md_5.bungee.api.event.ServerSwitchEvent 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, recheckUnauthedPlayers, remindPlayersToVerify

    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, GSAuthBungeecord 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.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(net.md_5.bungee.api.event.LoginEvent event)
    • onLogin

      public void onLogin(net.md_5.bungee.api.event.PostLoginEvent event)
    • onPluginMessage

      public void onPluginMessage(net.md_5.bungee.api.event.PluginMessageEvent event)
    • onPostServerConnect

      public void onPostServerConnect(net.md_5.bungee.api.event.ServerSwitchEvent event)
    • onDisconnect

      public void onDisconnect(net.md_5.bungee.api.event.PlayerDisconnectEvent 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