Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.server.PluginEvent Class Referenceabstract
Inheritance diagram for org.bukkit.event.server.PluginEvent:
org.bukkit.event.server.ServerEvent org.bukkit.event.Event org.bukkit.event.server.PluginDisableEvent org.bukkit.event.server.PluginEnableEvent

Public Member Functions

 PluginEvent (final Plugin plugin)
 
Plugin getPlugin ()
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 
 Event (boolean isAsync)
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 

Detailed Description

Used for plugin enable and disable events

Definition at line 8 of file PluginEvent.java.

Member Function Documentation

Plugin org.bukkit.event.server.PluginEvent.getPlugin ( )

Gets the plugin involved in this event

Returns
Plugin for this event

Definition at line 20 of file PluginEvent.java.

20  {
21  return plugin;
22  }

The documentation for this class was generated from the following file: