
Problems with invalid YAML syntax
bye311 opened this issue ยท 1 comments
The Plugin / YAML have Problems with the Syntax of the follow command:
ACTIONS:
- 'console: minecraft:give @p wooden_sword{display:{Name:'[{"text":"Test1","italic":false}]',Lore:['[{"text":"Test2","italic":false}]']},Enchantments:[{id:knockback,lvl:1},{id:sharpness,lvl:2},{id:unbreaking,lvl:1}]} 1'
The error message is:
[14:41:52] [Server thread/INFO]: 1) Error while initializing config file "menu\HecklerKoch.yml": invalid YAML syntax. Details:
[14:41:52] [Server thread/INFO]: while parsing a block mapping
[14:41:52] [Server thread/INFO]: in 'string', line 73, column 3:
[14:41:52] [Server thread/INFO]: ACTIONS:
[14:41:52] [Server thread/INFO]: ^
[14:41:52] [Server thread/INFO]: expected , but found '['
[14:41:52] [Server thread/INFO]: in 'string', line 74, column 61:
[14:41:52] [Server thread/INFO]: ... @p wooden_sword{display:{Name:'[{"text":"Test1","italic":false} ...
[14:41:52] [Server thread/INFO]: ^
The execution of the command in the console working normal. The Syntax is okay from the Minecraft sight.
This issue has been automatically closed because it doesn't follow the issue template.
Please open a new issue and make sure to follow the provided template, fill out the sections without modifying or deleting the existing text.
Templates are necessary to manage the project efficiently, as basic questions don't need to be asked again each time.