Class HookManager


public class HookManager extends AbstractHookManager<Hookable>
  • Constructor Details

    • HookManager

      public HookManager(Hookable parent, com.velocitypowered.api.proxy.ProxyServer proxy, String hookPackage)
      Construct the manager
      Parameters:
      parent - The parent plugin
      proxy - The proxy server instance
      hookPackage - The package the hooks are in
    • HookManager

      public HookManager(Hookable parent, com.velocitypowered.api.proxy.ProxyServer proxy, String hookPackage, boolean onePackagePerHook)
      Construct the manager
      Parameters:
      parent - The parent plugin
      proxy - The proxy server instance
      hookPackage - The package the hooks are in
      onePackagePerHook - Whether each hook should have its own package named after the hook or not Defaults to false
  • Method Details