Class ScriptLoadEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
dev.magicmq.pyspigot.bungee.event.ScriptEvent
dev.magicmq.pyspigot.bungee.event.ScriptLoadEvent

public class ScriptLoadEvent extends ScriptEvent
Called when a script is loaded. This event fires at the end of a load operation on a script. The event will not fire for scripts that fail to load. Therefore, it is safe to assume the script within this event is currently running.
  • Constructor Details

    • ScriptLoadEvent

      public ScriptLoadEvent(dev.magicmq.pyspigot.manager.script.Script script)
      Parameters:
      script - The script that was loaded