Interface iHook

All Known Implementing Classes:
SkriptHook

public interface iHook
This interface defines the contract for a hook in the Bukkit server. Implementations of this interface should provide initialization logic and a method to check if the hook is enabled.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the hook.
    boolean
    Checks if the hook is enabled.
  • Method Details

    • init

      void init()
      Initializes the hook. This method should contain any setup logic required for the hook to function properly.
    • isEnabled

      boolean isEnabled()
      Checks if the hook is enabled.
      Returns:
      true if the hook is enabled, false otherwise.