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
public abstract class PluginEvent
- extends ServerEvent
Used for plugin enable and disable events
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginEvent
public PluginEvent(Plugin plugin)
getPlugin
public Plugin getPlugin()
- Gets the plugin involved in this event
- Returns:
- Plugin for this event
Copyright © 2013. All Rights Reserved.