Package de.marcely.bedwars.api.hook
Interface Hook
- All Known Subinterfaces:
- CloudSystemHook,- NicknamingHook,- PartiesHook
public interface Hook
Represents an extension handler for third-party plugins by hooking into their feature-set.
- 
Method Details- 
getCategoryHookCategory getCategory()Get the category of the hook.- Returns:
- The category of the hook
 
- 
getManagingPluginPlugin getManagingPlugin()Get the plugin that is managing and created this hook.- Returns:
- The plugin that created this hook
 
- 
getHookedPluginGet the plugin into which this hook class is hooking into.- Returns:
- The plugin that we hook into. May be nullif it's not a Bukkit plugin (e.g. if it's being handled by BungeeCord)
 
- 
isActivedefault boolean isActive()Get whether the hook is currently registered and active.- Returns:
- truein case the hook is active
 
 
-