Package com.djrapitops.plan.settings
Class ProxyConfigSystem
java.lang.Object
com.djrapitops.plan.settings.ConfigSystem
com.djrapitops.plan.settings.ProxyConfigSystem
- All Implemented Interfaces:
SubSystem
ConfigSystem for Bungee.
Bukkit and Bungee have different default config file inside the jar.
-
Field Summary
Fields inherited from class com.djrapitops.plan.settings.ConfigSystem
config, errorLogger, files, logger, theme
-
Constructor Summary
ConstructorDescriptionProxyConfigSystem
(PlanFiles files, PlanConfig config, ConfigUpdater configUpdater, NetworkSettingManager networkSettingManager, Theme theme, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger) -
Method Summary
Methods inherited from class com.djrapitops.plan.settings.ConfigSystem
checkWrongTimeZone, getConfig, getTheme, reload
-
Constructor Details
-
ProxyConfigSystem
@Inject public ProxyConfigSystem(PlanFiles files, PlanConfig config, ConfigUpdater configUpdater, NetworkSettingManager networkSettingManager, Theme theme, 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 interfaceSubSystem
- Overrides:
enable
in classConfigSystem
-
disable
public void disable()Description copied from interface:SubSystem
Performs disable actions for the subsystem- Specified by:
disable
in interfaceSubSystem
- Overrides:
disable
in classConfigSystem
-
copyDefaults
Description copied from class:ConfigSystem
Copies default values from file in jar to Config.- Specified by:
copyDefaults
in classConfigSystem
- Throws:
IOException
- If file can't be read or written.
-