Class VelocityConsoleCommandSender
java.lang.Object
dev.jorel.commandapi.commandsenders.VelocityConsoleCommandSender
- All Implemented Interfaces:
AbstractCommandSender<com.velocitypowered.api.proxy.ConsoleCommandSource>,AbstractConsoleCommandSender<com.velocitypowered.api.proxy.ConsoleCommandSource>,VelocityCommandSender<com.velocitypowered.api.proxy.ConsoleCommandSource>
public class VelocityConsoleCommandSender
extends Object
implements AbstractConsoleCommandSender<com.velocitypowered.api.proxy.ConsoleCommandSource>, VelocityCommandSender<com.velocitypowered.api.proxy.ConsoleCommandSource>
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityConsoleCommandSender(com.velocitypowered.api.proxy.ConsoleCommandSource source) -
Method Summary
Modifier and TypeMethodDescriptioncom.velocitypowered.api.proxy.ConsoleCommandSourcebooleanhasPermission(String permissionNode) booleanisOp()
-
Constructor Details
-
VelocityConsoleCommandSender
public VelocityConsoleCommandSender(com.velocitypowered.api.proxy.ConsoleCommandSource source)
-
-
Method Details
-
hasPermission
- Specified by:
hasPermissionin interfaceAbstractCommandSender<com.velocitypowered.api.proxy.ConsoleCommandSource>
-
isOp
public boolean isOp()- Specified by:
isOpin interfaceAbstractCommandSender<com.velocitypowered.api.proxy.ConsoleCommandSource>
-
getSource
public com.velocitypowered.api.proxy.ConsoleCommandSource getSource()- Specified by:
getSourcein interfaceAbstractCommandSender<com.velocitypowered.api.proxy.ConsoleCommandSource>
-