Class LuckPermsSource
java.lang.Object
com.palmergames.bukkit.towny.permissions.TownyPermissionSource
com.palmergames.bukkit.towny.permissions.LuckPermsSource
-
Field Summary
Fields inherited from class com.palmergames.bukkit.towny.permissions.TownyPermissionSource
groupManager, settings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetGroupPermissionIntNode(String playerName, String node) getPlayerGroup(org.bukkit.entity.Player player) intgetPlayerPermissionIntNode(String playerName, String node) getPlayerPermissionStringNode(String playerName, String node) getPrefixSuffix(Resident resident, String node) net.kyori.adventure.util.TriStateReturn true if a player has a certain, specific permission node or a parent wildcard node.Methods inherited from class com.palmergames.bukkit.towny.permissions.TownyPermissionSource
getEffectivePermIntNode, hasAllTownOverride, hasOwnTownOverride, hasTownOwnedOverride, hasWildOverride, isTownyAdmin, testPermission, testPermissionOrThrow, testPermissionOrThrow, unclaimedZoneAction
-
Constructor Details
-
LuckPermsSource
-
-
Method Details
-
getPrefixSuffix
- Specified by:
getPrefixSuffixin classTownyPermissionSource
-
getGroupPermissionIntNode
- Specified by:
getGroupPermissionIntNodein classTownyPermissionSource
-
getPlayerGroup
- Specified by:
getPlayerGroupin classTownyPermissionSource
-
getPlayerPermissionIntNode
- Specified by:
getPlayerPermissionIntNodein classTownyPermissionSource
-
getPlayerPermissionStringNode
- Specified by:
getPlayerPermissionStringNodein classTownyPermissionSource
-
strictHas
public net.kyori.adventure.util.TriState strictHas(org.bukkit.permissions.Permissible permissible, String node) Description copied from class:TownyPermissionSourceReturn true if a player has a certain, specific permission node or a parent wildcard node.- Overrides:
strictHasin classTownyPermissionSource- Parameters:
permissible- Permissible to checknode- Permission node to check for- Returns:
- true if the player has this permission node or a parent wildcard node.
-