CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
dev.jorel.commandapi.commandsenders.AbstractPlayer< Source > Interface Template Reference
+ Inheritance diagram for dev.jorel.commandapi.commandsenders.AbstractPlayer< Source >:

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 ()
 

Member Function Documentation

◆ getSource()

Source dev.jorel.commandapi.commandsenders.AbstractCommandSender< Source >.getSource ( )
inherited
Returns
The underlying CommandSender object

◆ hasPermission()

boolean dev.jorel.commandapi.commandsenders.AbstractCommandSender< Source >.hasPermission ( String  permissionNode)
inherited

Tests if this CommandSender has permission to use the given permission node.

Parameters
permissionNodeThe node to check for
Returns
True if this CommandSender holds the permission node, and false otherwise

◆ isOp()

boolean dev.jorel.commandapi.commandsenders.AbstractCommandSender< Source >.isOp ( )
inherited

Tests if this CommandSender has operator status, or the ability to run any command.

Returns
True if this CommandSender is an operator, and false otherwise