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, bootstrap, captionRegistry, logger, senderProviderRegistry, wrapper
  • Constructor Summary

    Constructors
    Constructor
    Description
    VelocityCommandManager(@NotNull Object bootstrapObj, @NotNull com.velocitypowered.api.proxy.ProxyServer plugin)
     
    VelocityCommandManager(@NotNull Object bootstrapObj, @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, helpProvider, log, numericArgumentSuggestionProcessor, senderProviderRegistry, setHelpProvider, suggest, suggestionProviderRegistry, typeRegistry

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.github.mqzn.commands.base.manager.CommandManager

    handleHelpProvider
  • Constructor Details

    • VelocityCommandManager

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

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

    • commandPrefix

      public char commandPrefix()
    • 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>