Class Theme

java.lang.Object
com.djrapitops.plan.settings.theme.Theme
All Implemented Interfaces:
SubSystem

@Singleton public class Theme extends Object implements SubSystem
Enum that contains available themes.

Change config setting Theme.Base to select one.

  • Constructor Details

    • Theme

      @Inject public Theme(PlanFiles files, PlanConfig config, net.playeranalytics.plugin.server.PluginLogger logger)
  • Method Details

    • getWorldPieColors

      public String[] getWorldPieColors()
    • getDefaultPieColors

      public String[] getDefaultPieColors(ThemeVal val)
    • 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