Class ConfigSystem

    • Field Detail

      • theme

        protected final Theme theme
      • logger

        protected final net.playeranalytics.plugin.server.PluginLogger logger
    • Constructor Detail

      • ConfigSystem

        protected ConfigSystem​(PlanFiles files,
                               PlanConfig config,
                               Theme theme,
                               net.playeranalytics.plugin.server.PluginLogger logger,
                               ErrorLogger errorLogger)
    • Method Detail

      • getTheme

        public Theme getTheme()
      • enable

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

        public void checkWrongTimeZone()
      • copyDefaults

        protected abstract void copyDefaults()
                                      throws java.io.IOException
        Copies default values from file in jar to Config.
        Throws:
        java.io.IOException - If file can't be read or written.
      • disable

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

        public void reload()