About YAML (YML files)

You break it. You fix it.

When editing your YML files, please make sure you adhere to YAML's very specific syntaxing and formatting outside of any double-quoted-text lines.

YAML Formatting:

  • There will be a SPACE after any : character and the following value

  • Every 'Indent' level you see in the file is TWO SPACES for every level. (NO Tab)

  • Any line that begins with a # is a comment and will be ignored by the plugin

  • if you encounter any errors after altering your file, or are new to editing these files. USE AN ONLINE YAML PARSER to validate your file!. It will immediately identify any formatting errors that you will need to fix before proceeding

Common errors:

  • Bad spacing: (does not conform to even-numbered-space-character-indenting)

  • Missing space: after an expected value a space is missing.

    • ex (displayname:"<Missing Space Between The Colon And Double Quotes")

  • Missing 'block end/start': you forgot to surround the value with double-quotes somewhere

  • Absolutely NO TAB characters

Quick Explanation for each file:

Shops Files:

spacing for files in the shops folder:

  • 0 (ZERO) spaces before initial page declaration

  • 2 (TWO) spaces before the page number

  • 4 (FOUR) spaces before gui-rows setting and the items declaration

  • 6 (SIX) spaces before the items ID

  • 8 (EIGHT) spaces before the items properties

Sections Files:

spacing for files in the sections folder:

Config.yml:

Spacing for config.yml:

'Full' Technical Explanation: (it's complicated. and simple)

Last updated

Was this helpful?