Skip to content

Config Syntax

Demez edited this page Jul 20, 2019 · 1 revision

Basic Syntax:

Key Value
{

}

The Value and the Block are optiontional

The formatting of it doesn't matter at all, so you could have the entire thing in one line:

Key Value { SubKey Value {} }

You can use quotes if you want

"Key" "Value" { "SubKey" "Value" {} }

You could even have no spacing in between quotes if you want

"Key""Value"{"SubKey""Value"{}}

You need some spacing in between the key and value if you don't use quotes though

Key Value{SubKey Value{}}

If a comma is outside of a quote, it will be ignored since it's mainly used for formatting only, usually when it's all in a single line

Example of a massive line with commas as an example:

Key Value { Key Value { Key Value, Key Value, Key Value } Key Value { Key Value, Key Value } }

The same example in better formatting:

Key Value
{
    Key Value
    {
        Key Value
        Key Value
        Key Value
    }
    Key Value
    {
        Key Value
        Key Value
    }
}
Clone this wiki locally