Class BanHooks

java.lang.Object
fr.andross.banitem.BanHooks

public final class BanHooks extends Object
Hooks manager.
Version:
3.1
Author:
Andross
  • Method Details Link icon

    • isWorldGuardEnabled Link icon

      public boolean isWorldGuardEnabled()
      Check if the plugin is successfully hooked with WorldGuard.
      Returns:
      true if the plugin is successfully hooked with WorldGuard
    • getWorldGuardHook Link icon

      @Nullable public @Nullable fr.andross.banitem.utils.hooks.IWorldGuardHook getWorldGuardHook()
      Get the worldguard hook.
      Returns:
      the worldguard hook if hooked, otherwise null
    • isAdvancedEnchantmentsEnabled Link icon

      public boolean isAdvancedEnchantmentsEnabled()
      Check if the plugin is hooked with AdvancedEnchantments.
      Returns:
      true if the plugin is successfully hooked with AdvancedEnchantments
    • isPlaceholderApiEnabled Link icon

      public boolean isPlaceholderApiEnabled()
      Check if the plugin is hooked with PlaceholderAPI.
      Returns:
      true if the plugin is successfully hooked with PlaceholderAPI