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 com.sk89q.util.yaml.YAMLNode
generateDefaultPerms
(com.sk89q.util.yaml.YAMLNode section) String[]
String[]
getGroups
(org.bukkit.OfflinePlayer player) boolean
hasPermission
(String player, String permission) boolean
hasPermission
(String worldName, String player, String permission) boolean
hasPermission
(String worldName, org.bukkit.OfflinePlayer player, String permission) boolean
hasPermission
(org.bukkit.OfflinePlayer player, String permission) boolean
boolean
void
load()
-
Constructor Details
-
ConfigurationPermissionsResolver
public ConfigurationPermissionsResolver(com.sk89q.util.yaml.YAMLProcessor config)
-
-
Method Details
-
generateDefaultPerms
public static com.sk89q.util.yaml.YAMLNode generateDefaultPerms(com.sk89q.util.yaml.YAMLNode section) -
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
-