Package com.djrapitops.plan.settings
Class ConfigSystem
java.lang.Object
com.djrapitops.plan.settings.ConfigSystem
- All Implemented Interfaces:
SubSystem
- Direct Known Subclasses:
BukkitConfigSystem
,FabricConfigSystem
,NukkitConfigSystem
,ProxyConfigSystem
System for Config and other user customizable options.
-
Field Summary
Modifier and TypeFieldDescriptionprotected PlanConfig
protected ErrorLogger
protected PlanFiles
protected net.playeranalytics.plugin.server.PluginLogger
protected Theme
-
Constructor Summary
ModifierConstructorDescriptionprotected
ConfigSystem(PlanFiles files, PlanConfig config, Theme theme, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
Method Summary
-
Field Details
-
files
-
config
-
theme
-
logger
protected final net.playeranalytics.plugin.server.PluginLogger logger -
errorLogger
-
-
Constructor Details
-
ConfigSystem
protected ConfigSystem(PlanFiles files, PlanConfig config, Theme theme, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
-
-
Method Details
-
getConfig
-
getTheme
-
enable
public void enable()Description copied from interface:SubSystem
Performs enable actions for the subsystem. -
checkWrongTimeZone
public void checkWrongTimeZone() -
copyDefaults
Copies default values from file in jar to Config.- Throws:
IOException
- If file can't be read or written.
-
disable
public void disable()Description copied from interface:SubSystem
Performs disable actions for the subsystem -
reload
public void reload()
-