Interface IScriptAPI


public interface IScriptAPI
  • Method Details

    • getScript

      Script getScript()
    • getState

      ScriptState getState()
    • getScriptType

      ScriptType getScriptType()
    • resume

      void resume()
    • pause

      void pause(String reason)
    • stop

      void stop(String reason)
    • isRunning

      boolean isRunning()
    • isPaused

      boolean isPaused()
    • isStopping

      boolean isStopping()
    • getSettingsDirectory

      File getSettingsDirectory()
      Get the settings directory for this script.
      Returns:
      the directory, for example C:/Users/John/EpicBot/ScriptSettings/Pro Agility/
    • getScriptProfile

      Optional<File> getScriptProfile()
      Get the profile/settings this script was started with by the @Override script scheduler.
      Returns:
      File
    • logger

      org.apache.logging.log4j.Logger logger()