Package com.sk89q.wepif
Class ConfigurationPermissionsResolver
java.lang.Object
com.sk89q.wepif.ConfigurationPermissionsResolver
- All Implemented Interfaces:
PermissionsProvider
,PermissionsResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic YAMLNode
generateDefaultPerms
(YAMLNode section) String[]
String[]
getGroups
(OfflinePlayer player) boolean
hasPermission
(String player, String permission) boolean
hasPermission
(String worldName, String player, String permission) boolean
hasPermission
(String worldName, OfflinePlayer player, String permission) boolean
hasPermission
(OfflinePlayer player, String permission) boolean
boolean
inGroup
(OfflinePlayer player, String group) void
load()
-
Constructor Details
-
ConfigurationPermissionsResolver
-
-
Method Details
-
generateDefaultPerms
-
load
public void load()- Specified by:
load
in interfacePermissionsResolver
-
hasPermission
- Specified by:
hasPermission
in interfacePermissionsProvider
-
hasPermission
- Specified by:
hasPermission
in interfacePermissionsProvider
-
inGroup
- Specified by:
inGroup
in interfacePermissionsProvider
-
getGroups
- Specified by:
getGroups
in interfacePermissionsProvider
-
hasPermission
- Specified by:
hasPermission
in interfacePermissionsProvider
-
hasPermission
- Specified by:
hasPermission
in interfacePermissionsProvider
-
inGroup
- Specified by:
inGroup
in interfacePermissionsProvider
-
getGroups
- Specified by:
getGroups
in interfacePermissionsProvider
-
getDetectionMessage
- Specified by:
getDetectionMessage
in interfacePermissionsResolver
-