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
    Constructor
    Description
    ScriptEvent(dev.magicmq.pyspigot.manager.script.Script script)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.magicmq.pyspigot.manager.script.Script
    Get the script associated with this event.

    Methods inherited from class net.md_5.bungee.api.plugin.Event

    postCall

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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