Package com.sk89q.wepif
Class PluginPermissionsResolver
java.lang.Object
com.sk89q.wepif.PluginPermissionsResolver
- All Implemented Interfaces:
PermissionsProvider
,PermissionsResolver
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPluginPermissionsResolver
(PermissionsProvider resolver, Plugin permissionsPlugin) -
Method Summary
Modifier and TypeMethodDescriptionstatic PermissionsResolver
factory
(Server server, YAMLProcessor config) String[]
String[]
getGroups
(OfflinePlayer player) 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) void
load()
-
Field Details
-
resolver
-
plugin
-
-
Constructor Details
-
PluginPermissionsResolver
-
-
Method Details
-
factory
-
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
-