YAML File Comment Generation

Discussion in 'Plugin Development' started by cronikkk, May 14, 2011.

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

    cronikkk

    Hey guys,
    My plugin will be generating a YML file for its configuration. The thing is I want to add comments automatically in there to show how each config part works. Whats the command to add a comment? So I don't have to generate it then edit it and release it that way? It will generate with comments in it.
    PLease respond,
    Cronikk
     
  2. Offline

    DCSiira

    Also need help with this.
     
  3. Offline

    Windwaker

    I third this quest for knowledge!
     
  4. Offline

    DCSiira

    Hey guys, i decided to look through some other plugins and found out how but now i can't get my plugin to save the config file for editing so i'll let you know.

    Okay, so i figured out my really REALLY stupid error (forgot to call the method to create the config) but now i just have another problem to fix.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
    Walker Crouse likes this.
  5. Offline

    DCSiira

    Hey guys, i decided to use the growbie code for config generation and it works very well. Look at my source to figure it out for the WordReplace plugin of mine. Sadly i cant get a reload command to work properly so if you can, let me know how.
     
Thread Status:
Not open for further replies.

Share This Page