Class ServerSettingsManager

java.lang.Object
com.djrapitops.plan.settings.network.ServerSettingsManager
All Implemented Interfaces:
SubSystem

@Singleton public class ServerSettingsManager extends 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 Details

    • 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 Details

    • enable

      public void enable()
      Description copied from interface: SubSystem
      Performs enable actions for the subsystem.
      Specified by:
      enable in interface SubSystem
    • disable

      public void disable()
      Description copied from interface: SubSystem
      Performs disable actions for the subsystem
      Specified by:
      disable in interface SubSystem