tchristofferson / Config-Updater

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

My Ignored Sections get removed, even if added to the Ignored Section List #19

Closed HappyBavarian07 closed 1 year ago

HappyBavarian07 commented 2 years ago

I apologize for my bad English. I have an Issue where Users can add Custom Fields to a specific Config Section, but if i want to ignore it (with the Ignored Sections). It just gets removed from the Config File. Funny enough: If i ignore the Parent Section of my Custom Section it works. Sadly the Stringlist that is also in that Section gets deleted and because of that i cannot use it. (Thats an already known Error i think). Also it would be cool to ignore only specific Fields not whole Sections. That would help with my Problem, because i could ignore only the "Options" the User can Add to the Config.

HappyBavarian07 commented 2 years ago

But otherwise this is a really good tool, which I use frequently and will continue to use.

HappyBavarian07 commented 2 years ago

I hope someone can fix it, because i really need a Config Updater like this. Its really useful.

This is how i call it: https://pastebin.com/MV0GmrBk

HappyBavarian07 commented 2 years ago

If you need anything else here is the whole Project where i use it: https://github.com/HappyBavarian07/Admin-Panel

HappyBavarian07 commented 1 year ago

I fixed it. If anyone wants they can take a look at the Code of my Plugin and if there are any bugs in that code they can send them to me. The Link to my Plugin is already here.