Class ScalaPluginDisableEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.server.ServerEvent
org.bukkit.event.server.PluginEvent
org.bukkit.event.server.PluginDisableEvent
xyz.janboerman.scalaloader.event.plugin.ScalaPluginDisableEvent
- All Implemented Interfaces:
Cancellable
Deprecated.
ScalaPluginEnable event is called by the
IScalaPluginLoader
when IScalaPlugin
s are disabled.
In contrast to regular PluginDisableEvent
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
-
ScalaPluginDisableEvent
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 classPluginDisableEvent
-
PluginDisableEvent
instead.