Class SkriptImpl

java.lang.Object
com.ranull.graves.integration.SkriptImpl

public class SkriptImpl extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Graves
     
    private ch.njol.skript.Skript
     
    private ch.njol.skript.SkriptAddon
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a SkriptIntegration instance and registers it with the Skript plugin.
  • Method Summary

    Modifier and Type
    Method
    Description
    ch.njol.skript.SkriptAddon
    Gets the SkriptAddon instance.
    private void
    Registers the SkriptAddon listener with the Skript plugin.
    private void
    Unregisters the current SkriptAddon listener if it exists.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • plugin

      private final Graves plugin
    • skriptAddon

      private ch.njol.skript.SkriptAddon skriptAddon
    • skript

      private ch.njol.skript.Skript skript
  • Constructor Details

    • SkriptImpl

      public SkriptImpl(Graves plugin)
      Constructs a SkriptIntegration instance and registers it with the Skript plugin.
      Parameters:
      plugin - The Graves plugin instance.
  • Method Details

    • unregister

      private void unregister()
      Unregisters the current SkriptAddon listener if it exists.
    • register

      private void register()
      Registers the SkriptAddon listener with the Skript plugin.
    • getSkriptAddon

      public ch.njol.skript.SkriptAddon getSkriptAddon()
      Gets the SkriptAddon instance.
      Returns:
      The SkriptAddon instance.