Config comments not generated

Discussion in 'Plugin Development' started by ItsMas_, Jan 18, 2016.

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

    ItsMas_

    I have my plugin config setup so there is a line starting with '#' that describes what each option in the config does.

    When I run the server and open the config from the "Server -> Plugins -> <PluginName> - > config" directory, the config only shows the keys and values, but not the comment lines.

    Any solutions? Thanks :D
     
  2. Offline

    CraftCreeper6

    @ItsMas_
    May I ask how you input these comments? The only viable way I have seen is using Buffers.
     
  3. Offline

    ItsMas_

    By putting a # in front of the line of text. I have seen lots of other plugins do it.
    Example:
    Code:
    #This setting does something
    settings-1: 'Hello world'
    
    #This settings does something else
    setting-2: 'Goodbye world'
     
  4. Offline

    CraftCreeper6

Thread Status:
Not open for further replies.

Share This Page