CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
|
An interface that represents an object sends commands on some platform. More...
Public Member Functions | |
boolean | hasPermission (String permissionNode) |
Tests if this CommandSender has permission to use the given permission node. More... | |
boolean | isOp () |
Tests if this CommandSender has operator status, or the ability to run any command. More... | |
Source | getSource () |
An interface that represents an object sends commands on some platform.
<Source> | The class of the CommandSender being represented |
Source dev.jorel.commandapi.commandsenders.AbstractCommandSender< Source >.getSource | ( | ) |
boolean dev.jorel.commandapi.commandsenders.AbstractCommandSender< Source >.hasPermission | ( | String | permissionNode | ) |
Tests if this CommandSender has permission to use the given permission node.
permissionNode | The node to check for |
boolean dev.jorel.commandapi.commandsenders.AbstractCommandSender< Source >.isOp | ( | ) |
Tests if this CommandSender has operator
status, or the ability to run any command.