Class ScalaPluginEnableEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.server.ServerEvent
org.bukkit.event.server.PluginEvent
org.bukkit.event.server.PluginEnableEvent
xyz.janboerman.scalaloader.event.plugin.ScalaPluginEnableEvent
- All Implemented Interfaces:
Cancellable
Deprecated.
ScalaPluginEnable event is called by the
IScalaPluginLoader when IScalaPlugins are enabled.
In contrast to regular PluginEnableEvent for JavaPlugins, this event CAN in fact be cancelled.-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListDeprecated.Deprecated.Deprecated.booleanDeprecated.voidsetCancelled(boolean cancel) Deprecated.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
ScalaPluginEnableEvent
Deprecated.
-
-
Method Details
-
getPlugin
Deprecated.- Overrides:
getPluginin classPluginEvent
-
isCancelled
public boolean isCancelled()Deprecated.- Specified by:
isCancelledin interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancel) Deprecated.- Specified by:
setCancelledin interfaceCancellable
-
getHandlerList
Deprecated. -
getHandlers
Deprecated.- Overrides:
getHandlersin classPluginEnableEvent
-
PluginEnableEventinstead.