Class PlanConfig


@Singleton public class PlanConfig extends Config
Plan configuration file.
  • Constructor Details

    • PlanConfig

      @Inject public PlanConfig(PlanFiles files, WorldAliasSettings worldAliasSettings, net.playeranalytics.plugin.server.PluginLogger logger)
    • PlanConfig

      public PlanConfig(File configFile, PlanFiles files, WorldAliasSettings worldAliasSettings, net.playeranalytics.plugin.server.PluginLogger logger)
  • Method Details

    • get

      public <T> T get(Setting<T> setting)
    • getOrDefault

      public <T> T getOrDefault(Setting<T> setting, T defaultValue)
    • isTrue

      public boolean isTrue(Setting<Boolean> setting)
    • isFalse

      public boolean isFalse(Setting<Boolean> setting)
    • set

      public <T> void set(Setting<T> setting, T value)
    • getTimeZone

      public TimeZone getTimeZone()
    • getTimeZoneOffsetHours

      public double getTimeZoneOffsetHours()
    • getPageExportPath

      public Path getPageExportPath()
    • getJSONExportPath

      public Path getJSONExportPath()
    • getExtensionSettings

      public ExtensionSettings getExtensionSettings()
    • getResourceSettings

      public ResourceSettings getResourceSettings()
    • getWorldAliasSettings

      public WorldAliasSettings getWorldAliasSettings()
    • getDefaultPreferences

      public Preferences getDefaultPreferences()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Config
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Config