Class VelocityKenCommandApi

java.lang.Object
de.kentoj.kencommandapi.impl.AbstractKenCommandApi<com.velocitypowered.api.command.CommandSource,VelocityCommandContext>
de.kentoj.kencommandapi.VelocityKenCommandApi
All Implemented Interfaces:
de.kentoj.kencommandapi.api.KenCommandApi<com.velocitypowered.api.command.CommandSource,VelocityCommandContext>

public class VelocityKenCommandApi extends de.kentoj.kencommandapi.impl.AbstractKenCommandApi<com.velocitypowered.api.command.CommandSource,VelocityCommandContext>
  • Constructor Details

    • VelocityKenCommandApi

      public VelocityKenCommandApi(com.velocitypowered.api.proxy.ProxyServer server)
  • Method Details

    • createContext

      public VelocityCommandContext createContext(com.velocitypowered.api.command.CommandSource sender, Map<String,de.kentoj.kencommandapi.api.processing.ParsedArgument<com.velocitypowered.api.command.CommandSource,VelocityCommandContext,?>> parsedArguments)
      Specified by:
      createContext in class de.kentoj.kencommandapi.impl.AbstractKenCommandApi<com.velocitypowered.api.command.CommandSource,VelocityCommandContext>
    • sendErrorMessage

      public void sendErrorMessage(com.velocitypowered.api.command.CommandSource sender, de.kentoj.kencommandapi.api.processing.CommandException ex)
      Specified by:
      sendErrorMessage in class de.kentoj.kencommandapi.impl.AbstractKenCommandApi<com.velocitypowered.api.command.CommandSource,VelocityCommandContext>
    • hasPermission

      public boolean hasPermission(com.velocitypowered.api.command.CommandSource commandSource, String permission)
      Specified by:
      hasPermission in class de.kentoj.kencommandapi.impl.AbstractKenCommandApi<com.velocitypowered.api.command.CommandSource,VelocityCommandContext>
    • register

      public void register(de.kentoj.kencommandapi.api.nodes.CommandNode<com.velocitypowered.api.command.CommandSource,VelocityCommandContext> rootNode)