Class GSAuthRequiredGroupServerListener
java.lang.Object
com.gamersafer.minecraft.auth.common.listener.GSAuthRequiredGroupServerListener
- All Implemented Interfaces:
GSAuthEventListener
- Direct Known Subclasses:
GSAuthRequiredGroupProxyListener
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected final IPermissionAdapter
protected final IProfileService
protected final IGSAuthRequiredCache
protected final IServer
-
Constructor Summary
ConstructorDescriptionGSAuthRequiredGroupServerListener
(IServer server, IProfileService profileService, IPermissionAdapter permAdapter, IGSAuthRequiredCache requiredCache) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addRequiredBypassPerms
(UserIdentity identity) void
void
void
Event priority isLOW
void
Event priority isNORMAL
void
onUserAuthenticated
(UserIdentity identity, String guildMemberId) void
onUserUnauthenticated
(UserIdentity identity) protected void
removeRequiredBypassPerms
(UserIdentity identity)
-
Field Details
-
server
-
profileService
-
permAdapter
-
requiredCache
-
disableChecks
protected boolean disableChecks
-
-
Constructor Details
-
GSAuthRequiredGroupServerListener
public GSAuthRequiredGroupServerListener(IServer server, IProfileService profileService, IPermissionAdapter permAdapter, IGSAuthRequiredCache requiredCache)
-
-
Method Details
-
onLogin
Event priority isLOW
-
onQuit
Event priority isNORMAL
-
disableChecks
public void disableChecks() -
enableChecks
public void enableChecks()
-