Class ServerSettingsManager
- java.lang.Object
-
- com.djrapitops.plan.settings.network.ServerSettingsManager
-
- All Implemented Interfaces:
SubSystem
@Singleton public class ServerSettingsManager extends java.lang.Object implements SubSystem
In charge of updating server-network config.Performs following tasks related to the config: - File modification watching related to config.yml - Database updating related to config.yml - File update operations from database related to config.yml
-
-
Constructor Summary
Constructors Constructor Description ServerSettingsManager(PlanFiles files, PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disable()
Performs disable actions for the subsystemvoid
enable()
Performs enable actions for the subsystem.
-
-
-
Constructor Detail
-
ServerSettingsManager
@Inject public ServerSettingsManager(PlanFiles files, PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
-
Method Detail
-
enable
public void enable()
Description copied from interface:SubSystem
Performs enable actions for the subsystem.
-
-