Package com.djrapitops.plan
Class PlanSponge
- java.lang.Object
-
- com.djrapitops.plan.PlanSponge
-
- All Implemented Interfaces:
PlanPlugin
public class PlanSponge extends java.lang.Object implements PlanPlugin
-
-
Constructor Summary
Constructors Constructor Description PlanSponge(org.slf4j.Logger slf4jLogger, java.io.File dataFolder, org.bstats.sponge.Metrics.Factory metrics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelAllTasks()
ColorScheme
getColorScheme()
java.io.File
getDataFolder()
org.spongepowered.api.Game
getGame()
java.io.InputStream
getResource(java.lang.String resource)
PlanSystem
getSystem()
void
onDisable()
void
onEnable()
void
onServerStart(org.spongepowered.api.event.game.state.GameStartedServerEvent event)
void
onServerStop(org.spongepowered.api.event.game.state.GameStoppingServerEvent event)
void
registerCommand(Subcommand command)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.djrapitops.plan.PlanPlugin
isSystemEnabled
-
-
-
-
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)
-
onEnable
public void onEnable()
- Specified by:
onEnable
in interfacePlanPlugin
-
onDisable
public void onDisable()
- Specified by:
onDisable
in interfacePlanPlugin
-
cancelAllTasks
public void cancelAllTasks()
-
getResource
public java.io.InputStream getResource(java.lang.String resource)
- Specified by:
getResource
in interfacePlanPlugin
-
getColorScheme
public ColorScheme getColorScheme()
- Specified by:
getColorScheme
in interfacePlanPlugin
-
registerCommand
public void registerCommand(Subcommand command)
- Specified by:
registerCommand
in interfacePlanPlugin
-
getSystem
public PlanSystem getSystem()
- Specified by:
getSystem
in interfacePlanPlugin
-
getGame
public org.spongepowered.api.Game getGame()
-
getDataFolder
public java.io.File getDataFolder()
- Specified by:
getDataFolder
in interfacePlanPlugin
-
-