Class HookUtils
java.lang.Object
ua.mcchickenstudio.opencreative.utils.hooks.HookUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic booleanstatic booleanstatic booleanstatic boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearEntitiesHook(org.bukkit.World world) static voidclearPlayerHook(org.bukkit.entity.Player player) static BlocksManagerstatic DisguiseManagerstatic PacketManagerstatic booleanisPluginEnabled(String pluginName) static voidLoad hooks into other plugins for working with them.
-
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
-
clearEntitiesHook
public static void clearEntitiesHook(org.bukkit.World world) -
clearPlayerHook
public static void clearPlayerHook(org.bukkit.entity.Player player) -
getPacketManager
-
getBlocks
-
getDisguises
-