Class BanHooks

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

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

    • isWorldGuardEnabled

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

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

      public boolean isAdvancedEnchantmentsEnabled()
      Check if the plugin is hooked with AdvancedEnchantments
      Returns:
      true if the plugin if successfully hooked with AdvancedEnchantments