| Package | Description |
|---|---|
| me.lucko.luckperms.api |
| Modifier and Type | Method and Description |
|---|---|
default Node.Builder |
LuckPermsApi.buildNode(String permission)
Returns a permission builder instance
|
Node.Builder |
Node.Builder.clearExpiry()
Marks that the node being built should never expire.
|
Node.Builder |
Node.Builder.copyFrom(Node node)
Copies the attributes from the given node and applies them to this
builder.
|
Node.Builder |
NodeFactory.makeChatMetaNode(ChatMetaType type,
int priority,
String value)
Creates a node builder for the given chat meta type
|
Node.Builder |
NodeFactory.makeGroupNode(Group group)
Creates a node builder from a group
|
Node.Builder |
NodeFactory.makeGroupNode(String groupName)
Creates a node builder from a group
|
Node.Builder |
NodeFactory.makeMetaNode(String key,
String value)
Creates a node builder from a key value pair
|
Node.Builder |
NodeFactory.makePrefixNode(int priority,
String prefix)
Creates a node builder from a prefix string and priority
|
Node.Builder |
NodeFactory.makeSuffixNode(int priority,
String suffix)
Creates a node builder from a prefix string and priority
|
Node.Builder |
NodeFactory.newBuilder(String permission)
Creates a new node builder from a given base permission string
|
Node.Builder |
NodeFactory.newBuilderFromExisting(Node other)
Creates a node builder instance from an existing node
|
Node.Builder |
Node.Builder.setExpiry(long expiryUnixTimestamp)
Sets the time when the node should expire.
|
default Node.Builder |
Node.Builder.setExpiry(long duration,
TimeUnit unit)
Sets the time when the node should expire.
|
Node.Builder |
Node.Builder.setExtraContext(ContextSet contextSet)
Sets the extra contexts for the node.
|
Node.Builder |
Node.Builder.setNegated(boolean negated)
Sets the value of negated for the node.
|
Node.Builder |
Node.Builder.setOverride(boolean override)
Sets the override property for the node.
|
Node.Builder |
Node.Builder.setServer(String server)
Sets the server value for the node.
|
Node.Builder |
Node.Builder.setValue(boolean value)
Sets the value of the node.
|
Node.Builder |
Node.Builder.setWorld(String world)
Sets the world value for the node.
|
Node.Builder |
Node.toBuilder()
Constructs a new builder initially containing the current properties of
this node.
|
Node.Builder |
Node.Builder.withExtraContext(ContextSet contextSet)
Appends extra contexts onto the node.
|
Node.Builder |
Node.Builder.withExtraContext(Map.Entry<String,String> entry)
Appends an extra context onto the node.
|
Node.Builder |
Node.Builder.withExtraContext(Map<String,String> map)
Appends extra contexts onto the node.
|
Node.Builder |
Node.Builder.withExtraContext(Set<Map.Entry<String,String>> context)
Appends extra contexts onto the node.
|
Node.Builder |
Node.Builder.withExtraContext(String key,
String value)
Appends an extra context onto the node.
|
Copyright © 2018. All rights reserved.