Class PluginEvent


  • public class PluginEvent
    extends java.lang.Object
    Plugin Event used to notify PluginEvent Listeners
    • Constructor Detail

      • PluginEvent

        public PluginEvent​(Plugin plugin,
                           int nType)
        Creates a new instance of PluginEvent
        Parameters:
        plugin - The plugin
        nType - The event type
    • Method Detail

      • getEventType

        public int getEventType()
        Returns the EventType
        Returns:
        The EventType
      • getPlugin

        public Plugin getPlugin()
        Returns the Plugin
        Returns:
        The Plugin