Package dev.demeng.pluginbase
Class BaseSettings.ColorScheme
java.lang.Object
dev.demeng.pluginbase.BaseSettings.ColorScheme
- Enclosing interface:
- BaseSettings
A 3-color color scheme for messages or other text.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BaseSettings.ColorSchemefromConfig(@NotNull org.bukkit.configuration.ConfigurationSection section) Gets the color scheme from a configuration section.
-
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
-