tchristofferson / Config-Updater

Used to update files for Bukkit/Spigot API
MIT License
65 stars 9 forks source link

Retain user comments #27

Open kangarko opened 1 year ago

kangarko commented 1 year ago

Hi there again, thanks for all the help so far.

We have a user wanting to place his own comments to the files, he suggested a few approaches so I just wanted to ping you to see if either one of them seems easily doable.

https://github.com/kangarko/ChatControl-Red/issues/2315#issuecomment-1498951235

I know you are busy and we already reported another ticket so I understand if you can't do this at the moment. But thanks anyways!

tchristofferson commented 1 year ago

If I understand correctly if the server owner updates comments in the config you want to keep those comments instead of overriding them with the comments in the default config?

kangarko commented 1 year ago

Correct.

If possible, you could add a boolean "overrideComments" somewhere so that I can enable/disable force-updating comments per-file. Such that users can write their own comments to settings.yml that will get saved but won't in other files, and vice versa.

Thank you!

kangarko commented 1 month ago

@tchristofferson would you find some time for this please? I think this is the only thing preventing me from shading the latest version of yours into our plugins and we got a ticket about a related issue recently which I can't fix until we update. Thanks.