public abstract class PermissionProvider
extends java.lang.Object
Constructor | Description |
---|---|
PermissionProvider() |
Sets the new instance of this class to the instance which is returned if getInstance() is called.
|
Modifier and Type | Method | Description |
---|---|---|
static PermissionProvider |
getInstance() |
|
abstract boolean |
hasPermission(PAFPlayer pPlayer,
java.lang.String pPermission) |
public PermissionProvider()
public static PermissionProvider getInstance()
public abstract boolean hasPermission(PAFPlayer pPlayer, java.lang.String pPermission)
pPlayer
- The player for whom the permission is askedpPermission
- The permission which is asked for