Cannot Load Configuration From Stream?

Discussion in 'Plugin Development' started by Trevor1134, Apr 20, 2014.

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

    Trevor1134

    I created a config.yml in the jar file, rather that make it via code, and I am getting this error whenever I run 'this.reloadConfig()'. My stacktrace: http://pastebin.com/FuMhYyzm

    Thanks
     
  2. Offline

    ButterSquidz

    Is there a tab or a space before "version"?
     
  3. Offline

    Trevor1134

    ButterSquidz No, I hit backspace and it just takes me up a line.
     
  4. Offline

    ButterSquidz

    Is the "version" at the beginning of the document? BlockMappingStart usually means an empty line
     
  5. Offline

    Trevor1134

    ButterSquidz There are a few comments before the key, if that is what you are asking?
     
  6. Offline

    ButterSquidz

    May I ask why you need a version tag in your config.yml?
     
Thread Status:
Not open for further replies.

Share This Page