Package com.djrapitops.plan
Class SpongeServerShutdownSave
- java.lang.Object
-
- com.djrapitops.plan.gathering.ServerShutdownSave
-
- com.djrapitops.plan.SpongeServerShutdownSave
-
@Singleton public class SpongeServerShutdownSave extends ServerShutdownSave
ServerShutdownSave implementation for Sponge
-
-
Field Summary
-
Fields inherited from class com.djrapitops.plan.gathering.ServerShutdownSave
logger
-
-
Constructor Summary
Constructors Constructor Description SpongeServerShutdownSave(Locale locale, DBSystem dbSystem, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkServerShuttingDownStatus()
void
onServerShutdown(org.spongepowered.api.event.game.state.GameStoppingServerEvent event)
-
Methods inherited from class com.djrapitops.plan.gathering.ServerShutdownSave
performSave, serverIsKnownToBeShuttingDown
-
-
-
-
Constructor Detail
-
SpongeServerShutdownSave
@Inject public SpongeServerShutdownSave(Locale locale, DBSystem dbSystem, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
-
Method Detail
-
checkServerShuttingDownStatus
protected boolean checkServerShuttingDownStatus()
- Specified by:
checkServerShuttingDownStatus
in classServerShutdownSave
-
onServerShutdown
public void onServerShutdown(org.spongepowered.api.event.game.state.GameStoppingServerEvent event)
-
-