Class ScriptEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
dev.magicmq.pyspigot.bungee.event.ScriptEvent
- Direct Known Subclasses:
CustomEvent,ScriptExceptionEvent,ScriptLoadEvent,ScriptUnloadEvent
public class ScriptEvent
extends net.md_5.bungee.api.plugin.Event
Script event superclass. All script events inherit from this class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondev.magicmq.pyspigot.manager.script.ScriptGet the script associated with this event.Methods inherited from class net.md_5.bungee.api.plugin.Event
postCall
-
Constructor Details
-
ScriptEvent
public ScriptEvent(dev.magicmq.pyspigot.manager.script.Script script) - Parameters:
script- The script associated with this event
-
-
Method Details
-
getScript
public dev.magicmq.pyspigot.manager.script.Script getScript()Get the script associated with this event.- Returns:
- The script associated with this event
-