Package ch.njol.skript
Interface ScriptLoader.ScriptUnloadEvent
- All Superinterfaces:
Event,Script.Event,ScriptLoader.LoaderEvent
- Enclosing class:
ScriptLoader
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ScriptLoader.ScriptUnloadEvent
extends ScriptLoader.LoaderEvent, Script.Event
Called when a
Script is unloaded in the ScriptLoader.
This event will trigger before the script is unloaded.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidonUnload(ParserInstance parser, Script script) The method that is called when this event triggers.
-
Method Details
-
onUnload
The method that is called when this event triggers.- Parameters:
parser- The ParserInstance handling the unloading ofscript.script- The Script being unloaded.
-