Package com.sk89q.wepif
Class PluginPermissionsResolver
java.lang.Object
com.sk89q.wepif.PluginPermissionsResolver
- All Implemented Interfaces:
PermissionsProvider
,PermissionsResolver
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.bukkit.plugin.Plugin
protected PermissionsProvider
-
Constructor Summary
ConstructorDescriptionPluginPermissionsResolver
(PermissionsProvider resolver, org.bukkit.plugin.Plugin permissionsPlugin) -
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 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
void
load()
-
Field Details
-
resolver
-
plugin
protected org.bukkit.plugin.Plugin plugin
-
-
Constructor Details
-
PluginPermissionsResolver
public PluginPermissionsResolver(PermissionsProvider resolver, org.bukkit.plugin.Plugin permissionsPlugin)
-
-
Method Details
-
factory
public static PermissionsResolver factory(org.bukkit.Server server, com.sk89q.util.yaml.YAMLProcessor config) -
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
-