Class VelocityCommandManager

java.lang.Object
io.github.mqzn.commands.base.manager.AbstractCommandManager<com.velocitypowered.api.proxy.ProxyServer,com.velocitypowered.api.command.CommandSource>
io.github.mqzn.VelocityCommandManager
All Implemented Interfaces:
io.github.mqzn.commands.base.manager.CommandManager<com.velocitypowered.api.proxy.ProxyServer,com.velocitypowered.api.command.CommandSource>

public final class VelocityCommandManager extends io.github.mqzn.commands.base.manager.AbstractCommandManager<com.velocitypowered.api.proxy.ProxyServer,com.velocitypowered.api.command.CommandSource>
  • Field Summary

    Fields inherited from class io.github.mqzn.commands.base.manager.AbstractCommandManager

    argumentNumberSuggestionProcessor, captionRegistry, logger, plugin, senderProviderRegistry, wrapper
  • Constructor Summary

    Constructors
    Constructor
    Description
    VelocityCommandManager(@NotNull Object bootstrap, @NotNull com.velocitypowered.api.proxy.ProxyServer plugin)
     
    VelocityCommandManager(@NotNull Object bootstrap, @NotNull com.velocitypowered.api.proxy.ProxyServer plugin, @NotNull io.github.mqzn.commands.base.manager.CommandExecutionCoordinator.Type coordinator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    char
     
    <C extends io.github.mqzn.commands.base.Command<com.velocitypowered.api.command.CommandSource>>
    void
    registerCommand(C command)
     
    void
     

    Methods inherited from class io.github.mqzn.commands.base.manager.AbstractCommandManager

    captionRegistry, exceptionHandler, executeCommand, findAmbiguity, findSyntax, flagRegistry, getBootstrap, getCommand, getCommands, getSenderWrapper, handleHelpProvider, helpProvider, log, senderProviderRegistry, setHelpProvider, setNumericArgumentSuggestions, suggest, typeRegistry

    Methods inherited from class java.lang.Object

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

    • VelocityCommandManager

      public VelocityCommandManager(@NotNull @NotNull Object bootstrap, @NotNull @NotNull com.velocitypowered.api.proxy.ProxyServer plugin, @NotNull io.github.mqzn.commands.base.manager.CommandExecutionCoordinator.Type coordinator)
    • VelocityCommandManager

      public VelocityCommandManager(@NotNull @NotNull Object bootstrap, @NotNull @NotNull com.velocitypowered.api.proxy.ProxyServer plugin)
  • Method Details

    • commandStarter

      public char commandStarter()
    • registerCommand

      public <C extends io.github.mqzn.commands.base.Command<com.velocitypowered.api.command.CommandSource>> void registerCommand(C command)
      Specified by:
      registerCommand in interface io.github.mqzn.commands.base.manager.CommandManager<com.velocitypowered.api.proxy.ProxyServer,com.velocitypowered.api.command.CommandSource>
      Overrides:
      registerCommand in class io.github.mqzn.commands.base.manager.AbstractCommandManager<com.velocitypowered.api.proxy.ProxyServer,com.velocitypowered.api.command.CommandSource>
    • unregisterCommand

      public void unregisterCommand(String name)
      Specified by:
      unregisterCommand in interface io.github.mqzn.commands.base.manager.CommandManager<com.velocitypowered.api.proxy.ProxyServer,com.velocitypowered.api.command.CommandSource>
      Overrides:
      unregisterCommand in class io.github.mqzn.commands.base.manager.AbstractCommandManager<com.velocitypowered.api.proxy.ProxyServer,com.velocitypowered.api.command.CommandSource>