Package com.djrapitops.plan
Class PlanSponge
java.lang.Object
com.djrapitops.plan.PlanSponge
- All Implemented Interfaces:
PlanPlugin
-
Constructor Summary
ConstructorDescriptionPlanSponge(org.slf4j.Logger slf4jLogger, File dataFolder, org.bstats.sponge.Metrics.Factory metrics)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.spongepowered.api.Game
getGame()
getResource(String resource)
void
void
onEnable()
void
onServerLoad(org.spongepowered.api.event.game.state.GamePreInitializationEvent event)
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
-
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 interfacePlanPlugin
-
onDisable
public void onDisable()- Specified by:
onDisable
in interfacePlanPlugin
-
cancelAllTasks
public void cancelAllTasks() -
getResource
- Specified by:
getResource
in interfacePlanPlugin
-
getColorScheme
- Specified by:
getColorScheme
in interfacePlanPlugin
-
registerCommand
- Specified by:
registerCommand
in interfacePlanPlugin
-
getSystem
- Specified by:
getSystem
in interfacePlanPlugin
-
getGame
public org.spongepowered.api.Game getGame() -
getDataFolder
- Specified by:
getDataFolder
in interfacePlanPlugin
-