New to programming, need a little help.

Discussion in 'Plugin Development' started by HeadGam3z, Jan 29, 2014.

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

    afistofirony


    Actually, in YAML, you do use apostrophes instead of quotations :p
     
  2. Offline

    L33m4n123

    Then I must mix it up with something else. Should not do anything at 1:30 am anymore xD

    @Op then your spacing in your yaml might be off for the first line. About the ' no idea
     
  3. Offline

    HeadGam3z

    Anyone know how to fix YAML errors then? I'm not too sure about it...
    Code:
    ERROR:
     
    while parsing a block mapping
      in "<unicode string>", line 1, column 1:
        prefix: '&8[&bThe Pavilion&8]'
        ^
    expected <block end>, but found '<scalar>'
      in "<unicode string>", line 2, column 58:
        ...  see a lot of Members who haven't got their FREE Builder rank yet!'
                                            ^
    Code:
    prefix: '&8[&bThe Pavilion&8]'
    broadcasted_message: '&aI see a lot of Members who haven't got their FREE Builder rank yet!'
    link_to_application: '&a > &bhttp://bit.ly/PavilionGaming &a<'
     
  4. Offline

    afistofirony

    HeadGam3z Try two apostrophes:
    Code:
    broadcasted_message: '&aI see a lot of Members who haven''t got their FREE Builder rank yet!'
    As for your initial error, apparently YAML expects a list there? See if fixing the issue with your next value fixes that one as well.
     
Thread Status:
Not open for further replies.

Share This Page