Paper and Spigot plugin.yml errors
"Child '...' contains invalid value"
Server log
[ERROR]: Permission node 'myplugin.all' in plugin description file for MyPlugin v1.0 is invalid java.lang.IllegalArgumentException: Child 'myplugin.use' contains invalid value
What it means
Each child under children must be true or false. If one is not, the server skips the whole parent permission. The plugin still loads.
What causes it
Usually true written in quotes, which makes it text instead of a yes/no value.
How to fix it
Before
permissions:
myplugin.all:
children:
myplugin.use: 'true'After
permissions:
myplugin.all:
children:
myplugin.use: trueThe message "'children' key is of wrong type" is related: it means children itself is plain text instead of a list or a section, for example children: myplugin.use. Write children: [myplugin.use].
Check the whole file. Paste your plugin.yml or drop the plugin jar into Permistry. It finds this and about 40 other problems, and explains each one in plain words. It runs in your browser and nothing is uploaded.
Open the checker