Package org.bukkit.event.server
Class PluginEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.server.ServerEvent
org.bukkit.event.server.PluginEvent
- Direct Known Subclasses:
PluginDisableEvent
,PluginEnableEvent
Used for plugin enable and disable events
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, getHandlers, isAsynchronous
-
Constructor Details
-
PluginEvent
-
-
Method Details
-
getPlugin
Gets the plugin involved in this event- Returns:
- Plugin for this event
-