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(Path dataFolder, org.spongepowered.plugin.PluginContainer plugin, org.bstats.sponge.Metrics.Factory metrics)
  • Method Details

    • onServerLoad

      public void onServerLoad(org.spongepowered.api.event.lifecycle.ConstructPluginEvent event)
    • onServerStart

      public void onServerStart(org.spongepowered.api.event.lifecycle.StartingEngineEvent<org.spongepowered.api.Server> event)
    • onServerStop

      public void onServerStop(org.spongepowered.api.event.lifecycle.StoppingEngineEvent<org.spongepowered.api.Server> 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
    • onRegisterCommand

      public void onRegisterCommand(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event)
    • getSystem

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

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

      public org.spongepowered.plugin.PluginContainer getPlugin()
    • getDataFolder

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