Class GSAuthRequiredCache

java.lang.Object
com.gamersafer.minecraft.auth.common.listener.GSAuthRequiredCache
All Implemented Interfaces:
IGSAuthRequiredCache

public class GSAuthRequiredCache extends Object implements IGSAuthRequiredCache
  • Constructor Details

    • GSAuthRequiredCache

      public GSAuthRequiredCache()
  • Method Details

    • setHasRequiredPermSet

      public void setHasRequiredPermSet(UUID uuid, boolean isRequiredPermSet)
      Description copied from interface: IGSAuthRequiredCache
      Sets whether the player has a required permission.
      Specified by:
      setHasRequiredPermSet in interface IGSAuthRequiredCache
      Parameters:
      uuid - the UUID of the player
      isRequiredPermSet - whether the player has a required permission
    • hasRequiredPermSet

      public boolean hasRequiredPermSet(UUID uuid)
      Description copied from interface: IGSAuthRequiredCache
      Returns whether the player has a required permission.
      Specified by:
      hasRequiredPermSet in interface IGSAuthRequiredCache
      Parameters:
      uuid - the UUID of the player
      Returns:
      whether the player has a required permission