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
ModifierConstructorDescriptionprotected
PermissionsResolverManager
(org.bukkit.plugin.Plugin plugin) -
Method Summary
Modifier and TypeMethodDescriptionvoid
String[]
String[]
getGroups
(org.bukkit.OfflinePlayer player) static PermissionsResolverManager
boolean
hasPermission
(String name, String permission) boolean
hasPermission
(String worldName, String name, String permission) boolean
hasPermission
(String worldName, org.bukkit.OfflinePlayer player, String permission) boolean
hasPermission
(org.bukkit.OfflinePlayer player, String permission) boolean
boolean
static void
initialize
(org.bukkit.plugin.Plugin plugin) static boolean
void
load()
void
setPluginPermissionsResolver
(org.bukkit.plugin.Plugin plugin)
-
Field Details
-
availableResolvers
-
-
Constructor Details
-
PermissionsResolverManager
protected PermissionsResolverManager(org.bukkit.plugin.Plugin plugin)
-
-
Method Details
-
initialize
public static void initialize(org.bukkit.plugin.Plugin plugin) -
isInitialized
public static boolean isInitialized() -
getInstance
-
findResolver
public void findResolver() -
setPluginPermissionsResolver
public void setPluginPermissionsResolver(org.bukkit.plugin.Plugin plugin) -
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
-