Package fr.andross.banitem
Class BanHooks
java.lang.Object
fr.andross.banitem.BanHooks
Hooks manager.
- Version:
- 3.1
- Author:
- Andross
-
Method Summary
Modifier and TypeMethodDescription@Nullable fr.andross.banitem.utils.hooks.IWorldGuardHookGet the worldguard hook.booleanCheck if the plugin is hooked with AdvancedEnchantments.booleanCheck if the plugin is hooked with PlaceholderAPI.booleanCheck if the plugin is successfully hooked with WorldGuard.
-
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 @Nullable 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 is successfully hooked with AdvancedEnchantments
-
isPlaceholderApiEnabled
public boolean isPlaceholderApiEnabled()Check if the plugin is hooked with PlaceholderAPI.- Returns:
- true if the plugin is successfully hooked with PlaceholderAPI
-