Class BaseSettings.ColorScheme

java.lang.Object
dev.demeng.pluginbase.BaseSettings.ColorScheme
Enclosing interface:
BaseSettings

public static class BaseSettings.ColorScheme extends Object
A 3-color color scheme for messages or other text.
  • Constructor Details

    • ColorScheme

      public ColorScheme()
  • Method Details

    • fromConfig

      @NotNull public static @NotNull BaseSettings.ColorScheme fromConfig(@NotNull @NotNull org.bukkit.configuration.ConfigurationSection section)
      Gets the color scheme from a configuration section.
      Parameters:
      section - The configuration section containing the color scheme
      Returns:
      The color scheme from the configuration section