Solved Config '#' isn't showing

Discussion in 'Plugin Development' started by TGamingStudio, Sep 30, 2017.

Thread Status:
Not open for further replies.
  1. Hello , This is my config :
    [​IMG]
    [​IMG]
    but when i start the server this is the config :
    [​IMG]

    What i can do with it ?
    Please help . thx
    [​IMG]
     
  2. Offline

    Caderape2

    @TGamingStudio Because you use saveConfig(). It erases the comments.
    If your config file will not change, if you don't add key that are not in the config.yml in your project, you can use saveDefaultConfig() instead.
     
    TGamingStudio likes this.
  3. @Caderape2 Thx , it works now .. you can download my plugin World Tools . In next update i will add config ;)
     
Thread Status:
Not open for further replies.

Share This Page