Skip to content

Configuration Files

bcwadsworth edited this page Dec 29, 2014 · 1 revision

The FileConfig recognizes config files by default from the FeatureAPI config folder and rewrites them when it loads them. These config files are formatted with the following symbols as their first character per line: @ What value is the target.
$ Type: This could be String, Boolean, Integer, etc. For values there may only be one of these. For commands the first type variable is COMMAND and each argument gets its own type annotation directly before it.
= Value: This is the way you add values to the config. Each line is its own value, allowing for lists or multi - argument commands.
; Execute: This tells the reader to package up all of the above config and send it to its respective storage to be later executed/replaced.
Some correctly formated configs:

To Be Completed

Clone this wiki locally