ConfigurationMaster icon

ConfigurationMaster -----

Allows developers to add comments, sections and maintain option order in their config file.




331b380 Fixed sections not being added - Thatsmusic99
b0434aa Fixed comments sometimes not being added - Thatsmusic99

Would definitely recommend updating to this version I'm an idiot sorry
----------, Apr 22, 2021

[ + ] Added a new moveTo method which allows you move old paths across files, e.g. moving an option from config.yml to new-config.yml.

[ + ] Grouped all necessary saving procedures into a new method called initiateSave.

[ + ] Added several getter methods, such as getInteger and getString. All allow default values to be passed through, and if a value provided is written as a string, methods like getInteger and getDouble still pick out the required value (such as '300.0' will return 300.0, whilst when using normal Bukkit methods, this returns 0.0).

[ + ] Added an isNew method, which returns whether the file is new or not.

[ + ] Fixed comments not persisting in examples.

[ + ] Fixed sections not being implemented at the end when not at the start of a pending comment.


[ + ] Pending comments (those added using addComment) are no longer added directly below an option with a parent, but added above the parent now, with the following code:

Code (Text):
addComment("Test 1");
addDefault("option.option-1", true, "Test 2");
Code (YAML):
option :
  # Test 1
  # Test 2
  option-1
: true

# Test 1
option
:
  # Test 2
  option-1
: true
----------, Apr 18, 2021

Resource Information
Author:
----------
Total Downloads: 159
First Release: Jan 10, 2021
Last Update: Apr 22, 2021
Category: ---------------
All-Time Rating:
2 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings