CommandAPI 9.3.0
An API for the command UI introduced in Minecraft 1.13
|
A representation of permission nodes for commands. More...
Public Member Functions | |
boolean | equals (Object obj) |
int | hashCode () |
String | toString () |
Returns a human-readable string of this CommandPermission. More... | |
Static Public Member Functions | |
static CommandPermission | fromString (String permission) |
Generates a new CommandPermission from a permission node. More... | |
Static Public Attributes | |
static final CommandPermission | NONE = new CommandPermission(PermissionNode.NONE) |
Command can be run with no permissions. | |
static final CommandPermission | OP = new CommandPermission(PermissionNode.OP) |
A player that has to be an operator to run a command. | |
A representation of permission nodes for commands.
Represents permission nodes, being op and having all permissions
|
static |
Generates a new CommandPermission from a permission node.
permission | the permission node |
String dev.jorel.commandapi.CommandPermission.toString | ( | ) |
Returns a human-readable string of this CommandPermission.