@Singleton public class ServerSettingsManager extends java.lang.Object implements SubSystem
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 and Description |
---|
ServerSettingsManager(PlanFiles files,
PlanConfig config,
DBSystem dbSystem,
ServerInfo serverInfo,
TaskSystem taskSystem,
com.djrapitops.plugin.logging.console.PluginLogger logger,
ErrorLogger errorLogger) |
Modifier and Type | Method and Description |
---|---|
void |
disable()
Performs disable actions for the subsystem
|
void |
enable()
Performs enable actions for the subsystem.
|
@Inject public ServerSettingsManager(PlanFiles files, PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, TaskSystem taskSystem, com.djrapitops.plugin.logging.console.PluginLogger logger, ErrorLogger errorLogger)
public void enable()
SubSystem