some sort of error in my config.yml?

Discussion in 'Plugin Development' started by tommycake50, Sep 3, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    tommycake50

    well im getting a stacktrace from not being able to load my config.yml
    the error is this
    Code:
    21:35:24 [SEVERE] Cannot load plugins/Enchant4Cash/config.yml
    org.bukkit.configuration.InvalidConfigurationException: expected '<document start>', but found Scalar
    in "<string>", line 10, column 1:
        enchantlevel:30
        ^
    
    if you want the full stacktrace
    http://pastebin.com/1WcG7xsp
    my config.yml
    Code:
    # configuration for the enchant4cash plugin
    # the amount of money to be taken from the player for enchanting
    priceunbreaking:100
    priceefficiency:100
    pricesilktouch:100
    pricefireaspect:100
    pricesmite:100
    priceknockback:100
    # level to enchant to
    enchantlevel:30
    i am not very good with yaml files.
     
  2. your missing the space after the :

    also, next time ask in the bukkit help, as there are more people wanting to help you, this part is for people whit problems programmaing, that part is for people who have problems whit bukkit/config etc
     
  3. Offline

    tommycake50

    k thanks. if i ever need config help ill ask there next time i asked here because it was for the plugin i am developing.
     
Thread Status:
Not open for further replies.

Share This Page