Package de.kentoj.kencommandapi
Class VelocityCommand
java.lang.Object
de.kentoj.kencommandapi.VelocityCommand
- All Implemented Interfaces:
com.velocitypowered.api.command.Command,com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>,com.velocitypowered.api.command.SimpleCommand
public class VelocityCommand
extends Object
implements com.velocitypowered.api.command.SimpleCommand
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.velocitypowered.api.command.SimpleCommand
com.velocitypowered.api.command.SimpleCommand.Invocation -
Constructor Summary
ConstructorsConstructorDescriptionVelocityCommand(VelocityKenCommandApi commandApi, de.kentoj.kencommandapi.api.nodes.CommandNode<com.velocitypowered.api.command.CommandSource, VelocityCommandContext> rootNode) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(com.velocitypowered.api.command.SimpleCommand.Invocation ctx) booleanhasPermission(com.velocitypowered.api.command.SimpleCommand.Invocation ctx) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.velocitypowered.api.command.InvocableCommand
suggest, suggestAsync
-
Constructor Details
-
VelocityCommand
public VelocityCommand(VelocityKenCommandApi commandApi, de.kentoj.kencommandapi.api.nodes.CommandNode<com.velocitypowered.api.command.CommandSource, VelocityCommandContext> rootNode)
-
-
Method Details
-
execute
public void execute(com.velocitypowered.api.command.SimpleCommand.Invocation ctx) - Specified by:
executein interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-
hasPermission
public boolean hasPermission(com.velocitypowered.api.command.SimpleCommand.Invocation ctx) - Specified by:
hasPermissionin interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-