Class BukkitPermSource
java.lang.Object
com.palmergames.bukkit.towny.permissions.TownyPermissionSource
com.palmergames.bukkit.towny.permissions.BukkitPermSource
-
Field Summary
Fields inherited from class com.palmergames.bukkit.towny.permissions.TownyPermissionSource
groupManager, plugin, settings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getGroupPermissionIntNode
(String playerName, String node) getPlayerGroup
(org.bukkit.entity.Player player) Returns the players Group name.int
getPlayerPermissionIntNode
(String playerName, String node) getPlayerPermissionStringNode
(String playerName, String node) getPrefixSuffix
(Resident resident, String node) Methods inherited from class com.palmergames.bukkit.towny.permissions.TownyPermissionSource
getEffectivePermIntNode, hasAllTownOverride, hasOwnTownOverride, hasTownOwnedOverride, hasWildOverride, isTownyAdmin, testPermission, testPermissionOrThrow, testPermissionOrThrow, unclaimedZoneAction
-
Constructor Details
-
BukkitPermSource
-
-
Method Details
-
getPrefixSuffix
- Specified by:
getPrefixSuffix
in classTownyPermissionSource
-
getGroupPermissionIntNode
- Specified by:
getGroupPermissionIntNode
in classTownyPermissionSource
- Parameters:
playerName
- - Player name.node
- - Node to be checked.- Returns:
- -1 = can't find
-
getPlayerPermissionIntNode
- Specified by:
getPlayerPermissionIntNode
in classTownyPermissionSource
-
getPlayerPermissionStringNode
- Specified by:
getPlayerPermissionStringNode
in classTownyPermissionSource
- Parameters:
playerName
- - Player name.node
- - Node to be checked.- Returns:
- empty = can't find
-
getPlayerGroup
Returns the players Group name.- Specified by:
getPlayerGroup
in classTownyPermissionSource
- Parameters:
player
- - Player.- Returns:
- Empty string as bukkit doesn't support groups
-