Class LangConfig


  • public class LangConfig
    extends Config
    Represents a language config named "lang.yml" in the plugin jar file.
    • Method Detail

      • getSection

        protected Config getSection​(String key)
        Description copied from class: Config
        Get the section named key Note: if the section named key does not exist, it will be created
        Specified by:
        getSection in class Config
        Parameters:
        key - the key of the Section
        Returns:
        the section named key
      • get

        public String get​(String key)
        Description copied from class: Config
        Get the value of the specified key
        Overrides:
        get in class Config
        Parameters:
        key - the key
        Returns:
        the value