public interface Permissions
Permissible
has a specific
permission or not. Meant for use on enum typesModifier and Type | Method and Description |
---|---|
default String |
build()
Builds the full permission string
|
String |
getBase()
Returns the base permission node for the plugin.
|
String |
getNode()
Returns the raw node for the specified enum constant without prefixing
|
default boolean |
has(org.bukkit.entity.Player p)
Determines whether or not the player has this permission
|
String getBase()
String getNode()
default String build()
default boolean has(org.bukkit.entity.Player p)
p
- The Player
to check permissions fortrue
if the player has the permissionsCopyright © 2015. All rights reserved.