Package com.sk89q.wepif
Class FlatFilePermissionsResolver
java.lang.Object
com.sk89q.wepif.FlatFilePermissionsResolver
- All Implemented Interfaces:
PermissionsProvider
,PermissionsResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PermissionsResolver
factory
(org.bukkit.Server server, com.sk89q.util.yaml.YAMLProcessor config) 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
-
FlatFilePermissionsResolver
public FlatFilePermissionsResolver() -
FlatFilePermissionsResolver
-
-
Method Details
-
factory
public static PermissionsResolver factory(org.bukkit.Server server, com.sk89q.util.yaml.YAMLProcessor config) -
loadGroupPermissions
-
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
-