Class PlanSponge

java.lang.Object
com.djrapitops.plan.PlanSponge
All Implemented Interfaces:
PlanPlugin

public class PlanSponge extends Object implements PlanPlugin
  • Constructor Details

    • PlanSponge

      @Inject public PlanSponge(org.slf4j.Logger slf4jLogger, File dataFolder, org.bstats.sponge.Metrics.Factory metrics)
  • Method Details

    • onServerLoad

      public void onServerLoad(org.spongepowered.api.event.game.state.GamePreInitializationEvent event)
    • onServerStart

      public void onServerStart(org.spongepowered.api.event.game.state.GameStartedServerEvent event)
    • onServerStop

      public void onServerStop(org.spongepowered.api.event.game.state.GameStoppingServerEvent event)
    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface PlanPlugin
    • onDisable

      public void onDisable()
      Specified by:
      onDisable in interface PlanPlugin
    • cancelAllTasks

      public void cancelAllTasks()
    • getResource

      public InputStream getResource(String resource)
      Specified by:
      getResource in interface PlanPlugin
    • getColorScheme

      public ColorScheme getColorScheme()
      Specified by:
      getColorScheme in interface PlanPlugin
    • registerCommand

      public void registerCommand(Subcommand command)
      Specified by:
      registerCommand in interface PlanPlugin
    • getSystem

      public PlanSystem getSystem()
      Specified by:
      getSystem in interface PlanPlugin
    • getGame

      public org.spongepowered.api.Game getGame()
    • getDataFolder

      public File getDataFolder()
      Specified by:
      getDataFolder in interface PlanPlugin