I apologise if this is a duplicate, I couldn't find any other posts about this.
I am trying to write a script that uses a yaml config file containing nested arrays which would normally be queried by
But using this approach in a Skript file after loading the yaml config it cannot parse the array(s).
Am I doing something wrong or is this just not implemented into Skript-YAML yet?
I have also tested writing an array to a file using
and not
I am trying to write a script that uses a yaml config file containing nested arrays which would normally be queried by
for the yaml contents below:yml value "key1.array1[0].key2" from "yaml.yml"
YAML:
key1:
array1:
- key2: value
- array2:
- - key3: value
- key4: value
Am I doing something wrong or is this just not implemented into Skript-YAML yet?
I have also tested writing an array to a file using
But that results inset yml value "key5.array3[0].key6" from "yaml.yml" to "value"
YAML:
key5:
array3[0]:
- key6: value
YAML:
key5:
array3:
- key6: value