Interface ServerCommandRegistry

All Known Implementing Classes:
BukkitServerCommandRegistry

public interface ServerCommandRegistry
The server's command registry.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerCommand(@NotNull String name, @NotNull wtf.choco.veinminer.command.CommandExecutor command)
    Register a command with the given name to the provided CommandExecutor.
  • Method Details

    • registerCommand

      void registerCommand(@NotNull @NotNull String name, @NotNull @NotNull wtf.choco.veinminer.command.CommandExecutor command)
      Register a command with the given name to the provided CommandExecutor.
      Parameters:
      name - the name of the command to register
      command - the executable to call when the command is run