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