Interface IProtectionHookSpigotSpecification

All Known Implementing Classes:
AbstractProtectionHookSpecification

public interface IProtectionHookSpigotSpecification
Represents the specification of a IProtectionHookSpigot.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Class<? extends IProtectionHookSpigot>
    getClass(String version)
    Get the class of the given hook for a specific version of the plugin to load the compat for.
    Get the name of the plugin the given compat hooks into.
  • Method Details

    • getClass

      @Nullable Class<? extends IProtectionHookSpigot> getClass(String version)
      Get the class of the given hook for a specific version of the plugin to load the compat for.
      Parameters:
      version - The version of the plugin to load the hook for.
      Returns:
      The IProtectionHookSpigot class of the compat.
    • getName

      String getName()
      Get the name of the plugin the given compat hooks into.
      Returns:
      The name of the plugin the given compat hooks into.