Interface IPermissionHandler
- All Known Implementing Classes:
DefaultPermissionHandler
public interface IPermissionHandler
-
Method Summary
Modifier and TypeMethodDescriptiongetNodeDescription(String node)
boolean
hasPermission(com.mojang.authlib.GameProfile profile, String node, IContext context)
void
registerNode(String node, DefaultPermissionLevel level, String desc)
-
Method Details
-
registerNode
-
getRegisteredNodes
Collection<String> getRegisteredNodes()- Returns:
- Immutable collection of all registered nodes
-
hasPermission
-
getNodeDescription
- Parameters:
node
- Permission node- Returns:
- Description of the node. "" in case this node doesn't have a decription
- See Also:
registerNode(String, DefaultPermissionLevel, String)
-