Package com.djrapitops.plan.settings
Class FabricConfigSystem
java.lang.Object
com.djrapitops.plan.settings.ConfigSystem
com.djrapitops.plan.settings.FabricConfigSystem
- All Implemented Interfaces:
SubSystem
Config system for Fabric.
-
Field Summary
Fields inherited from class com.djrapitops.plan.settings.ConfigSystem
config, errorLogger, files, logger, theme
-
Constructor Summary
ConstructorDescriptionFabricConfigSystem
(PlanFiles files, PlanConfig config, ConfigUpdater configUpdater, ServerSettingsManager serverSettingsManager, 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
-
FabricConfigSystem
@Inject public FabricConfigSystem(PlanFiles files, PlanConfig config, ConfigUpdater configUpdater, ServerSettingsManager serverSettingsManager, 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.
-