Closed EgehanKilicarslan closed 3 months ago
Thank you, but that goes out of alignment with how static settings were made. Settings.yml and the locale file is not meant to be used without a default file which contains all the values, hence no need for a default supplement. You can use SimpleConfig if you need default values.
Thank you, but that goes out of alignment with how static settings were made. Settings.yml and the locale file is not meant to be used without a default file which contains all the values, hence no need for a default supplement. You can use SimpleConfig if you need default values.
could not values be null if the end user remove value after the file is created?
No because we put the value back again from the default file if it is missing from the disk file.
YamlStaticConfig#getBoolean(path, def) added YamlStaticConfig#getString(path, def) added