Class GSBansListenerStandalone
java.lang.Object
com.gamersafer.minecraft.bans.common.listener.GSBansListenerStandalone
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BanManager
protected final SharedConfiguration
protected final GSBansPlugin
protected boolean
protected final ILogger
protected final MessageConfiguration
protected final PlaceholderService
protected final IPlayerStorage
protected final IServer
-
Constructor Summary
ConstructorDescriptionGSBansListenerStandalone
(IServer server, GSBansPlugin core, SharedConfiguration config, MessageConfiguration messages, ILogger logger, BanManager banManager, IPlayerStorage playerStorage, PlaceholderService placeholderService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
executeAfterServerConnect
(UUID uuid, Runnable r) void
onDisconnect
(UserIdentity identity) void
At the earliest login event where Player Object is available.void
onLoginEarly
(UserIdentity identity, @NonNull Optional<IPlayer> eventPlayer, Consumer<net.kyori.adventure.text.Component> loginBanCanceller) At the earliest login event.void
onPostServerConnect
(IPlayer player)
-
Field Details
-
server
-
core
-
config
-
messages
-
logger
-
banManager
-
playerStorage
-
placeholderService
-
disableChecks
protected boolean disableChecks
-
-
Constructor Details
-
Method Details
-
onLogin
At the earliest login event where Player Object is available. Event priorityNORMAL
-
onPostServerConnect
-
executeAfterServerConnect