public interface IPermissionHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNodeDescription(java.lang.String node) |
java.util.Collection<java.lang.String> |
getRegisteredNodes() |
boolean |
hasPermission(com.mojang.authlib.GameProfile profile,
java.lang.String node,
IContext context)
|
void |
registerNode(java.lang.String node,
DefaultPermissionLevel level,
java.lang.String desc)
|
void registerNode(java.lang.String node, DefaultPermissionLevel level, java.lang.String desc)
java.util.Collection<java.lang.String> getRegisteredNodes()
boolean hasPermission(com.mojang.authlib.GameProfile profile, java.lang.String node, @Nullable IContext context)
java.lang.String getNodeDescription(java.lang.String node)
node
- Permission noderegisterNode(String, DefaultPermissionLevel, String)