Class GSAuthListenerStandalone
java.lang.Object
com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone
com.gamersafer.minecraft.auth.paper.listener.GSAuthListenerStandalone
- All Implemented Interfaces:
org.bukkit.event.Listener
public class GSAuthListenerStandalone
extends com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone
implements org.bukkit.event.Listener
Bukkit wrapper for
GSAuthListenerStandalone
-
Field Summary
Fields inherited from class com.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone
banManager, communicator, core, disableChecks, eventFactory, logger, loginHandlerFactory, messages, onboardingService, placeholderService, playerStorage, pluginChannel, server, service
-
Constructor Summary
ConstructorDescriptionGSAuthListenerStandalone
(com.gamersafer.minecraft.auth.common.abstraction.IServer server, GSAuthPaper plugin, com.gamersafer.minecraft.auth.common.GSAuthPlugin core, com.gamersafer.minecraft.auth.common.configuration.ServerConfiguration config, com.gamersafer.minecraft.auth.common.configuration.MessageConfiguration messages, com.gamersafer.minecraft.auth.common.configuration.ServerLanguageConfiguration lang, 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 TypeMethodDescriptionvoid
onDisconnect
(org.bukkit.event.player.PlayerQuitEvent event) void
onLogin
(org.bukkit.event.player.AsyncPlayerPreLoginEvent event) void
onLogin
(org.bukkit.event.player.PlayerJoinEvent 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
-
Constructor Details
-
GSAuthListenerStandalone
public GSAuthListenerStandalone(com.gamersafer.minecraft.auth.common.abstraction.IServer server, GSAuthPaper plugin, com.gamersafer.minecraft.auth.common.GSAuthPlugin core, com.gamersafer.minecraft.auth.common.configuration.ServerConfiguration config, com.gamersafer.minecraft.auth.common.configuration.MessageConfiguration messages, com.gamersafer.minecraft.auth.common.configuration.ServerLanguageConfiguration lang, 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(org.bukkit.event.player.AsyncPlayerPreLoginEvent event) -
onLogin
public void onLogin(org.bukkit.event.player.PlayerJoinEvent event) -
onDisconnect
public void onDisconnect(org.bukkit.event.player.PlayerQuitEvent event) -
sendDataToServer
protected void sendDataToServer(com.gamersafer.minecraft.auth.common.abstraction.IPlayer player) - Specified by:
sendDataToServer
in classcom.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone
-
sendDisabled
protected void sendDisabled(com.gamersafer.minecraft.auth.common.abstraction.IPlayer player) - Specified by:
sendDisabled
in classcom.gamersafer.minecraft.auth.common.listener.GSAuthListenerStandalone
-