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 IScalaPlugin
s are enabled.
In contrast to regular PluginEnableEvent
for JavaPlugin
s, 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 HandlerList
Deprecated.Deprecated.Deprecated.boolean
Deprecated.void
setCancelled
(boolean cancel) Deprecated.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
ScalaPluginEnableEvent
Deprecated.
-
-
Method Details
-
getPlugin
Deprecated.- Overrides:
getPlugin
in classPluginEvent
-
isCancelled
public boolean isCancelled()Deprecated.- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancel) Deprecated.- Specified by:
setCancelled
in interfaceCancellable
-
getHandlerList
Deprecated. -
getHandlers
Deprecated.- Overrides:
getHandlers
in classPluginEnableEvent
-
PluginEnableEvent
instead.