Help with Config

Discussion in 'Plugin Development' started by greaperc4, Nov 6, 2013.

Thread Status:
Not open for further replies.
  1. Hello,
    So I've a question about saving a configuration file

    How would I save a Configuration file and not destroy all the comments (# in front)

    when you do: this.saveConfig();
    it will make it compact so it will destroy it..

    Does someone knows how to save it and not destroying the comments.
    Essentials has the same thing.. they save it another way to not destroy the comments in the config
     
  2. Offline

    BungeeTheCookie

    Reload config maybe
     
  3. no that wont save the config, when reloading (the config) and opening up the config it hasn't change the changes I made ):

    so how would i fix this

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
Thread Status:
Not open for further replies.

Share This Page