Help with reading YAML files

Discussion in 'Plugin Development' started by epicfacecreeper, Mar 18, 2012.

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

    epicfacecreeper

    I was wondering if there is a way to read .yml files without reading it and manually taking n characters from the end and using those. I know there must be some way, otherwise plugins would just use text files.
     
  2. Offline

    nisovin

  3. Offline

    dadaemon

    You want to read a file but not read it? Maybe explain your goals a bit further.
     
  4. Offline

    gjossep

    Lolz I think i know what you mean...

    You just want to read part of a file, for what the user writes like

    Worlds
    -USERINPUT

    And you want to know what the USERINPUT is right?

    If it this then al try to help you out!

    Thanks
    Gjosse
     
  5. Offline

    epicfacecreeper

    I want to be able to get a value from a YAML file. nisoven answered my question, but I'm new and do not know how to close the topic.
     
  6. Offline

    dachckol123

    I have a similar problem. How would I read this userinput:
    Code:
    info:
      userinput:
      userinput:
      moreuserinput:
    i would also like to store that user input as a string in a List<String> object
     
Thread Status:
Not open for further replies.

Share This Page