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 TypeMethodDescriptionint
getGroupPermissionIntNode
(String playerName, String node) getPlayerGroup
(org.bukkit.entity.Player player) int
getPlayerPermissionIntNode
(String playerName, String node) getPlayerPermissionStringNode
(String playerName, String node) getPrefixSuffix
(Resident resident, String node) net.kyori.adventure.util.TriState
Return 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:
getPrefixSuffix
in classTownyPermissionSource
-
getGroupPermissionIntNode
- Specified by:
getGroupPermissionIntNode
in classTownyPermissionSource
-
getPlayerGroup
- Specified by:
getPlayerGroup
in classTownyPermissionSource
-
getPlayerPermissionIntNode
- Specified by:
getPlayerPermissionIntNode
in classTownyPermissionSource
-
getPlayerPermissionStringNode
- Specified by:
getPlayerPermissionStringNode
in classTownyPermissionSource
-
strictHas
public net.kyori.adventure.util.TriState strictHas(org.bukkit.permissions.Permissible permissible, String node) Description copied from class:TownyPermissionSource
Return true if a player has a certain, specific permission node or a parent wildcard node.- Overrides:
strictHas
in 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.
-