Class SFSparkPlugin

java.lang.Object
com.soulfiremc.server.spark.SFSparkPlugin
All Implemented Interfaces:
me.lucko.spark.common.SparkPlugin, me.lucko.spark.common.util.log.Logger

public final class SFSparkPlugin extends Object implements me.lucko.spark.common.SparkPlugin
  • Constructor Details

  • Method Details

    • init

      public void init()
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface me.lucko.spark.common.SparkPlugin
    • getPluginDirectory

      public Path getPluginDirectory()
      Specified by:
      getPluginDirectory in interface me.lucko.spark.common.SparkPlugin
    • getCommandName

      public String getCommandName()
      Specified by:
      getCommandName in interface me.lucko.spark.common.SparkPlugin
    • getCommandSenders

      public Stream<SFSparkCommandSender> getCommandSenders()
      Specified by:
      getCommandSenders in interface me.lucko.spark.common.SparkPlugin
    • executeAsync

      public void executeAsync(Runnable task)
      Specified by:
      executeAsync in interface me.lucko.spark.common.SparkPlugin
    • log

      public void log(Level level, String msg)
      Specified by:
      log in interface me.lucko.spark.common.util.log.Logger
    • log

      public void log(Level level, String s, Throwable throwable)
      Specified by:
      log in interface me.lucko.spark.common.util.log.Logger
    • getPlatformInfo

      public me.lucko.spark.common.platform.PlatformInfo getPlatformInfo()
      Specified by:
      getPlatformInfo in interface me.lucko.spark.common.SparkPlugin
    • platform

      public me.lucko.spark.common.SparkPlatform platform()