Package com.sk89q.wepif
Class PermissionsResolverManager
java.lang.Object
com.sk89q.wepif.PermissionsResolverManager
- All Implemented Interfaces:
PermissionsProvider
,PermissionsResolver
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
String[]
String[]
getGroups
(OfflinePlayer player) static PermissionsResolverManager
boolean
hasPermission
(String name, String permission) boolean
hasPermission
(String worldName, String name, String permission) boolean
hasPermission
(String worldName, OfflinePlayer player, String permission) boolean
hasPermission
(OfflinePlayer player, String permission) boolean
boolean
inGroup
(OfflinePlayer player, String group) static void
initialize
(Plugin plugin) static boolean
void
load()
void
setPluginPermissionsResolver
(Plugin plugin)
-
Field Details
-
availableResolvers
-
-
Constructor Details
-
PermissionsResolverManager
-
-
Method Details
-
initialize
-
isInitialized
public static boolean isInitialized() -
getInstance
-
findResolver
public void findResolver() -
setPluginPermissionsResolver
-
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
-