Class CloudNetPermissionsHandler
java.lang.Object
me.github.simonplays15.betterbansystem.core.permissions.PermissionsManager
me.github.simonplays15.betterbansystem.core.permissions.CloudNetPermissionsHandler
The CloudNetPermissionsHandler class is a subclass of PermissionsManager that
provides
a permissions handler implementation for the CloudNet system.
-
Field Summary
Fields inherited from class me.github.simonplays15.betterbansystem.core.permissions.PermissionsManager
handlerType
-
Constructor Summary
ConstructorsConstructorDescriptionThe CloudNetPermissionsHandler class is a subclass of PermissionsManager that provides a permissions handler implementation for the CloudNet system. -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasPermission
(String playername, String permission) Checks if the given player has the specified permission.Methods inherited from class me.github.simonplays15.betterbansystem.core.permissions.PermissionsManager
getAvailableManager, getHandler, toString
-
Constructor Details
-
CloudNetPermissionsHandler
The CloudNetPermissionsHandler class is a subclass of PermissionsManager that provides a permissions handler implementation for the CloudNet system.- Throws:
PermissionManagerLoadException
-
-
Method Details
-
hasPermission
Checks if the given player has the specified permission.- Specified by:
hasPermission
in classPermissionsManager
- Parameters:
playername
- the name of the playerpermission
- the permission to check- Returns:
- true if the player has the permission, false otherwise
-