Class PluginPostHookEvent

java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.PluginPostHookEvent

public class PluginPostHookEvent extends Event
Gets called after this plugin tried to create a hook with another plugin.
  • Constructor Details

    • PluginPostHookEvent

      public PluginPostHookEvent(Plugin plugin, boolean successful)
  • Method Details

    • getPlugin

      public Plugin getPlugin()
      Returns the plugin to which we tried to hook ourself into.
      Returns:
      The plugin we tried to hook into
    • wasSuccessful

      public boolean wasSuccessful()
      Returns whether we were successful with creating a hook to another plugin.

      It fails in case there was an error while performing the hook registration.

      Returns:
      true when we are now successfully hooked with the given plugin
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()