Class Skript


public class Skript extends SkriptAddon
Main class for the Skript aspects of HySkript.
  • Field Details

    • INSTANCE

      public static Skript INSTANCE
  • Method Details

    • shutdown

      public void shutdown()
    • getPlugin

      @NotNull public @NotNull HySk getPlugin()
      Get the instance of the HySkript plugin.
      Returns:
      The instance of HySkript.
    • getSkriptConfig

      @NotNull public @NotNull Config getSkriptConfig()
      Get the Skript configuration.
      Returns:
      The Skript configuration.
    • getScriptsPath

      @NotNull public @NotNull Path getScriptsPath()
      Get the path where scripts are stored.
      Returns:
      The path to the scripts directory.
    • getLogger

      public SkriptLogger getLogger()
    • getRegistration

      @NotNull public @NotNull SkriptRegistration getRegistration()
      Get the registration for Skript elements.
      Returns:
      The Skript registration.
    • getElementRegistration

      public com.github.skriptdev.skript.plugin.elements.ElementRegistration getElementRegistration()
    • getScriptsLoader

      public ScriptsLoader getScriptsLoader()