public class PlanSponge extends com.djrapitops.plugin.SpongePlugin implements PlanPlugin
Constructor and Description |
---|
PlanSponge() |
Modifier and Type | Method and Description |
---|---|
com.djrapitops.plugin.command.ColorScheme |
getColorScheme() |
java.io.File |
getDataFolder() |
org.spongepowered.api.Game |
getGame() |
org.slf4j.Logger |
getLogger() |
java.io.InputStream |
getResource(java.lang.String resource) |
PlanSystem |
getSystem() |
java.lang.String |
getVersion() |
boolean |
isReloading() |
void |
onDisable() |
void |
onEnable() |
void |
onReload() |
void |
onServerStart(org.spongepowered.api.event.game.state.GameStartedServerEvent event) |
void |
onServerStop(org.spongepowered.api.event.game.state.GameStoppingServerEvent event) |
getDebugLogger, getErrorHandler, getPluginLogger, getRunnableFactory, getTimings, registerCommand, registerListener, reload, reloadPlugin, setDebugLoggers, setErrorHandlers, setReloading
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isSystemEnabled
public void onServerStart(org.spongepowered.api.event.game.state.GameStartedServerEvent event)
public void onServerStop(org.spongepowered.api.event.game.state.GameStoppingServerEvent event)
public void onEnable()
onEnable
in interface com.djrapitops.plugin.IPlugin
public void onDisable()
onDisable
in interface com.djrapitops.plugin.IPlugin
onDisable
in class com.djrapitops.plugin.SpongePlugin
public java.io.InputStream getResource(java.lang.String resource)
getResource
in interface PlanPlugin
public com.djrapitops.plugin.command.ColorScheme getColorScheme()
getColorScheme
in interface PlanPlugin
public void onReload()
onReload
in interface com.djrapitops.plugin.IPlugin
onReload
in class com.djrapitops.plugin.SpongePlugin
public boolean isReloading()
isReloading
in interface PlanPlugin
isReloading
in interface com.djrapitops.plugin.IPlugin
isReloading
in class com.djrapitops.plugin.SpongePlugin
public org.slf4j.Logger getLogger()
getLogger
in class com.djrapitops.plugin.SpongePlugin
public java.io.File getDataFolder()
getDataFolder
in interface PlanPlugin
getDataFolder
in interface com.djrapitops.plugin.IPlugin
public java.lang.String getVersion()
getVersion
in interface com.djrapitops.plugin.IPlugin
getVersion
in class com.djrapitops.plugin.SpongePlugin
public PlanSystem getSystem()
getSystem
in interface PlanPlugin
public org.spongepowered.api.Game getGame()