java.lang.Object
ru.cwcode.commands.executor.AbstractExecutor
ru.cwcode.commands.velocityplatform.executor.Executor
Direct Known Subclasses:
AsyncExecutor, PrintArguments

public abstract class Executor extends ru.cwcode.commands.executor.AbstractExecutor
  • Field Summary

    Fields inherited from class ru.cwcode.commands.executor.AbstractExecutor

    command, parser, sender
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Optional<com.velocitypowered.api.proxy.Player>
    argP(int index)
     
    void
     
    protected final com.velocitypowered.api.proxy.Player
     
    protected net.kyori.adventure.audience.Audience
     

    Methods inherited from class ru.cwcode.commands.executor.AbstractExecutor

    arg, arg, argB, argD, argI, argO, argS, argumentsAmount, argWithSpaces, executeForNonPlayer, executeForPlayer, getCommand, isPresent, prepare

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Executor

      public Executor()
  • Method Details

    • errorHandler

      public void errorHandler(Exception exception)
      Specified by:
      errorHandler in class ru.cwcode.commands.executor.AbstractExecutor
    • sender

      protected net.kyori.adventure.audience.Audience sender()
      Specified by:
      sender in class ru.cwcode.commands.executor.AbstractExecutor
    • argP

      protected Optional<com.velocitypowered.api.proxy.Player> argP(int index)
      Specified by:
      argP in class ru.cwcode.commands.executor.AbstractExecutor
    • player

      protected final com.velocitypowered.api.proxy.Player player()