Class HookUtils

java.lang.Object
ua.mcchickenstudio.opencreative.utils.hooks.HookUtils

public final class HookUtils extends Object
  • Field Details

    • isPlaceholderAPIEnabled

      public static boolean isPlaceholderAPIEnabled
    • isProtocolLibEnabled

      public static boolean isProtocolLibEnabled
    • isVaultEnabled

      public static boolean isVaultEnabled
    • isLibsDisguisesEnabled

      public static boolean isLibsDisguisesEnabled
    • isWorldEditEnabled

      public static boolean isWorldEditEnabled
  • Constructor Details

    • HookUtils

      public HookUtils()
  • Method Details

    • loadHooks

      public static void loadHooks()
      Load hooks into other plugins for working with them. For example: Creative+ can hook into PlaceholderAPI.
    • isPluginEnabled

      public static boolean isPluginEnabled(String pluginName)
    • clearEntitiesHook

      public static void clearEntitiesHook(org.bukkit.World world)
    • clearPlayerHook

      public static void clearPlayerHook(org.bukkit.entity.Player player)
    • getPacketManager

      public static PacketManager getPacketManager()
    • getBlocks

      public static BlocksManager getBlocks()
    • getDisguises

      public static DisguiseManager getDisguises()