Reading a list from YML

Discussion in 'Plugin Development' started by Debels, Sep 17, 2013.

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

    Debels

    How would I read a list from a yml file like:


    Code:
    Something:
        -SomethingElse
        -Something
    I remember I made this before, but can't recall the code :/
     
  2. Debels
    Code:
    for(String s : someFile.getStringList("Something")) { }
     
  3. Offline

    fokolo

  4. Offline

    Debels

    Assist thanks.

    fokolo Hmm, I was looking for something like that one the wiki before I didn't find it... Thanks
     
Thread Status:
Not open for further replies.

Share This Page