#Menu Causing errors for no apparent reason.

1 messages · Page 1 of 1 (latest)

dusty glen
#

I have not made any noticeable errors and have went as far as to copy and paste an already working block of code to edit and it is still throwing an error. What is wrong with this code?

#
menu_title: '&d&lParkour'
open_command: 
 - parkour
register_command: true
update_interval: 1
size: 27

items:
 'grayglass': 
    material: GRAY_STAINED_GLASS_PANE
    amount: 1
    data: 95
    display_name: '&f'
    slots: 
    - 0
    - 1
    - 2
    - 3
    - 4
    - 5
    - 6
    - 7
    - 8
    - 9
    - 17
    - 18
    - 19
    - 20
    - 21
    - 22
    - 23
    - 24
    - 25
    - 26
    display_name: '&f&l'
 'parkour':
    material: FEATHER
    enchantments: 
    - 'FIRE_ASPECT;1'
    hide_enchantments: true
    hide_attributes: true
    update: true
    slot: 12
    display_name: '&e&l     Parkour'
    lore:
    - '&f|'
    - '&f|&d Click to Begin Parkour&f'
    - '&f|'
    - '&f|&e Current Personal Best:'
    - '&f|&l >&7 %ajpk_stats_highscore%'
    - '&f|'
    - '&f|&e Online Players:'
    - '&f|&l >&7 %ajpk_jumping%'
    - '&f|'
    left_click_commands:
    - '[close]'
    - '[player] ajp start'
    - '[message] &e&lParkour &8┃ &aGood Luck!'
    right_click_commands:
    - '[close]'
    - '[console] ajp start'
    - '[message] &e&lParkour &8┃ &aGood Luck!'
  'scores':
    material: DIAMOND
    enchantments: 
    - 'FIRE_ASPECT;1'
    hide_enchantments: true
    hide_attributes: true
    update: true
    slot: 14
    display_name: '&e&l     Scores'
    lore:
    - '&f|'
    - '&f|'
    - '&f|'
    left_click_commands:
    - '[close]'
    - '[player] ajp start'
    - '[message] &e&lParkour &8┃ &aGood Luck!'
    right_click_commands:
    - '[close]'
    - '[console] ajp start'
    - '[message] &e&lParkour &8┃ &aGood Luck!'
    
#

Error:

[10:06:03 ERROR]: [DeluxeMenus] Detected invalid configuration in file: parkour.yml
[10:06:03 ERROR]: [DeluxeMenus] Detected invalid configuration in file: parkour.yml
org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
in 'reader', line 9, column 2:
'grayglass':
^
expected <block end>, but found '<block mapping start>'
in 'reader', line 63, column 3:
'scores':
^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:106) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:160) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:128) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.checkConfig(DeluxeMenusConfig.java:203) ~[DeluxeMenus-1.13.6-Release.jar:?]
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadMenuFromFile(DeluxeMenusConfig.java:353) ~[DeluxeMenus-1.13.6-Release.jar:?]
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadGUIMenus(DeluxeMenusConfig.java:292) ~[DeluxeMenus-1.13.6-Release.jar:?]
at com.extendedclip.deluxemenus.DeluxeMenus.onEnable(DeluxeMenus.java:114) ~[DeluxeMenus-1.13.6-Release.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:371) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:544) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R2.CraftServer.enablePlugin(CraftServer.java:578) ~[paper-1.19.3.jar:git-Paper-328]
at org.bukkit.craftbukkit.v1_19_R2.CraftServer.enablePlugins(CraftServer.java:492) ~[paper-1.19.3.jar:git-Paper-328]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:635) ~[paper-1.19.3.jar:git-Paper-328]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:434) ~[paper-1.19.3.jar:git-Paper-328]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:301) ~[paper-1.19.3.jar:git-Paper-328]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1101) ~[paper-1.19.3.jar:git-Paper-328]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.19.3.jar:git-Paper-328]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: org.yaml.snakeyaml.parser.ParserException:

limpid stormBOT
dusty glen
#

nope not working

dusty glen
#

?

calm thistle
#

the bot told you to check using it the yaml parser

#

not to paste it there and it will fix it for you

#

it's clearly a configuration issue on your side

#

'grayglass':
'parkour':
'scores':