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
(Server server, YAMLProcessor config) 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
-
FlatFilePermissionsResolver
public FlatFilePermissionsResolver() -
FlatFilePermissionsResolver
-
-
Method Details
-
factory
-
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
-