Package fr.andross.banitem
Class BanHooks
java.lang.Object
fr.andross.banitem.BanHooks
Hooks manager
- Version:
- 3.1
- Author:
- Andross
-
Method Summary
Modifier and TypeMethodDescriptionfr.andross.banitem.utils.hooks.IWorldGuardHook
Get the worldguard hookboolean
Check if the plugin is hooked with AdvancedEnchantmentsboolean
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 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
-