Package io.github.mqzn
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
ConstructorsConstructorDescriptionVelocityCommandManager
(@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 TypeMethodDescriptionchar
<C extends io.github.mqzn.commands.base.Command<com.velocitypowered.api.command.CommandSource>>
voidregisterCommand
(C command) void
unregisterCommand
(String name) 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
-
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 interfaceio.github.mqzn.commands.base.manager.CommandManager<com.velocitypowered.api.proxy.ProxyServer,
com.velocitypowered.api.command.CommandSource> - Overrides:
registerCommand
in classio.github.mqzn.commands.base.manager.AbstractCommandManager<com.velocitypowered.api.proxy.ProxyServer,
com.velocitypowered.api.command.CommandSource>
-
unregisterCommand
- Specified by:
unregisterCommand
in interfaceio.github.mqzn.commands.base.manager.CommandManager<com.velocitypowered.api.proxy.ProxyServer,
com.velocitypowered.api.command.CommandSource> - Overrides:
unregisterCommand
in classio.github.mqzn.commands.base.manager.AbstractCommandManager<com.velocitypowered.api.proxy.ProxyServer,
com.velocitypowered.api.command.CommandSource>
-