Class PluginEvent

Direct Known Subclasses:
PluginDisableEvent, PluginEnableEvent

public abstract class PluginEvent extends ServerEvent
Used for plugin enable and disable events
  • Constructor Details

    • PluginEvent

      public PluginEvent(@NotNull Plugin plugin)
  • Method Details

    • getPlugin

      @NotNull public Plugin getPlugin()
      Gets the plugin involved in this event
      Returns:
      Plugin for this event