@ArsenArsen Well I guess I could edit my plugin to just, put in a config file what the people should paste into Essentials then.
@ArsenArsen So basically I can't fix my plugin so it doesn't remove comments? ;o
saveResource, how could I use that to load my config, and save it. So far, I'm copying the Essentials config to my KitAdder folder, then I wanna...
Really unsure now. Can someone who has a plugin that writes to config and doesn't delete comments help?
I use the save one, so why would the other be different? :o
How do I do that?
http://pastebin.com/X0LhXbmf That's what I made up.
Been a while since I've been coding Bukkit. http://dev.bukkit.org/bukkit-plugins/kitadder My plugin deletes comments in Essentials config, and...
@GamerSkill What he said.
This is nothing to do with Essentials. I'm saving something into the Essentials config, which removes all the comments for some reason.
@caderape I need the comments as some of the comments are required to keep the Essentials config working.
@caderape I need to save the file with my plugin. That's how it works.
Don't think it works with different config location?
How do you get it to work if the config file is not the plugin's default one, so you have to edit a different one?
Can you provide me an example with using ComentedConfiguration with a config that isn't in the same project?
Separate names with a comma.