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.IWorldGuardHook
Get the worldguard hook.boolean
Check if the plugin is hooked with AdvancedEnchantments.boolean
Check if the plugin is hooked with PlaceholderAPI.boolean
Check 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
-