Tools / Config Doctor
Your config
The file is checked on your device and is not sent anywhere. Remove passwords and license keys anyway before you share a config with anybody.
Result
What the server will read top level
How to check a plugin config
- Paste the config into the box, drop the file on it, or press Open a file.
.yml,.yaml,.jsonand text files up to 2 MB work. - Leave the mode on Auto: a file that starts with
{or[is read as JSON, anything else as YAML. Pick YAML or JSON yourself if Auto guesses wrong. - Read the result. If the file does not load, you see the line where the parser gave up, what the error means in plain words, and the lines that probably caused it. If it loads, you still see values that will not be what you wrote.
- Press Fix what is safe to repair the problems that can be fixed without guessing. Undo the fixes puts your text back. Then copy the result into your file.
- Check What the server will read, the top-level keys as the server sees them. A misplaced section shows up there.
What the config checker finds
- Tabs used to indent. YAML only accepts spaces at the start of a line, and one tab stops the whole file from loading. Fixed for you: each tab becomes two spaces.
- Colour codes without quotes. A value that starts with
&, such as&c&lShop, is read as a YAML anchor: the code and the first word disappear without an error, or the file fails at the second&. Fixed for you by adding quotes. - Values lost after a #.
#starts a comment, socolor: #FF0000is empty for the server, and intext: Hi #FF0000thereeverything from the colour on is dropped. Fixed with quotes where that is safe. - Values that start with
*,%,@,`or!without quotes. - Missing space after a colon:
key:valueis one piece of text, not a key with a value. Fixed for you. - Copied characters: non-breaking spaces and invisible zero-width characters from web pages or Discord, and curly quotes such as “ ” that YAML does not treat as quotes. Fixed for you.
- Odd indentation in a file that otherwise indents in steps of two, and keys written twice in one section, where the server keeps only the last one.
- yes, no, on and off, which YAML reads as true or false. That is fine for a switch, but not when you mean the word.
- Parser errors such as bad indentation, an apostrophe inside 'single quotes', an unknown backslash escape inside "double quotes" or a missing comma in
[ ], each explained in plain words.
YAML rules that keep a config loading
prefix: &c&lShop # broken: & starts an anchor prefix: "&c&lShop" # works title: 'Don't forget' # broken: the apostrophe ends the text title: "Don't forget" # works title: 'Don''t forget' # works too: double the apostrophe
Indent with spaces only, and keep each level the same width. Put text in double quotes when it starts with a special character or contains : or #. Inside double quotes, write a backslash twice.
Questions
Why does my plugin not load its config?
When a YAML file has a syntax error, the plugin cannot read it and usually falls back to its defaults or stops. The server log names the file and often a line. Paste the file here to see the cause in plain words.
The checker says the file is valid, but the plugin still complains. Why?
Then the file format is fine and the problem is a key name or a value the plugin does not expect. Compare the file with the plugin's default config or its documentation.
Why do colour codes need quotes in YAML?
In YAML, a value starting with & is an anchor and # starts a comment. Without quotes, the colour code and part of your text are dropped, or the file fails to load. Double quotes around the whole text keep it as it is.
Is my config uploaded anywhere?
No. The file is checked in your browser and is not sent anywhere. Remove passwords and license keys anyway before you share a config with anybody.
Does it check JSON files too?
Yes. A file that starts with { or [ is read as JSON automatically, or you can pick JSON yourself. JSON errors are shown with their line.