Class PlanSponge

  • All Implemented Interfaces:
    PlanPlugin

    public class PlanSponge
    extends java.lang.Object
    implements PlanPlugin
    • Constructor Detail

      • PlanSponge

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

      • onServerStart

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

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

        public void cancelAllTasks()
      • getResource

        public java.io.InputStream getResource​(java.lang.String resource)
        Specified by:
        getResource in interface PlanPlugin
      • getGame

        public org.spongepowered.api.Game getGame()