Package com.djrapitops.plan
Class PlanSponge
java.lang.Object
com.djrapitops.plan.PlanSponge
- All Implemented Interfaces:
PlanPlugin
-
Constructor Summary
ConstructorDescriptionPlanSponge
(Path dataFolder, org.spongepowered.plugin.PluginContainer plugin, org.bstats.sponge.Metrics.Factory metrics) -
Method Summary
Modifier and TypeMethodDescriptionvoid
org.spongepowered.api.Game
getGame()
org.spongepowered.plugin.PluginContainer
getResource
(String resource) void
void
onEnable()
void
onRegisterCommand
(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event) void
onServerLoad
(org.spongepowered.api.event.lifecycle.ConstructPluginEvent event) void
onServerStart
(org.spongepowered.api.event.lifecycle.StartingEngineEvent<org.spongepowered.api.Server> event) void
onServerStop
(org.spongepowered.api.event.lifecycle.StoppingEngineEvent<org.spongepowered.api.Server> 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(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 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
-
onRegisterCommand
public void onRegisterCommand(org.spongepowered.api.event.lifecycle.RegisterCommandEvent<org.spongepowered.api.command.Command.Raw> event) -
getSystem
- Specified by:
getSystem
in interfacePlanPlugin
-
getGame
public org.spongepowered.api.Game getGame() -
getPlugin
public org.spongepowered.plugin.PluginContainer getPlugin() -
getDataFolder
- Specified by:
getDataFolder
in interfacePlanPlugin
-