Hi. I want know, how to getconfig/saveconfig from another file than "config.yml". To get config or save config from config.yml, I use (plugin.getConfig().get & plugin.getConfig().set). So, how I getconfig/saveconfig from another config file?
You create a new file object, check if it exists or not, and then use FileConfiguration to set and get the information and save and load the file. http://forums.bukkit.org/threads/yml-file-creation-help.54039/#post-903511
Hey! Thank you very much. But, one thing: to use "config.set" and "config.save", they have to be in the same class as "public static FileConfiguration config;", right? Ah, never mind. EDIT by Moderator: merged posts, please use the edit button instead of double posting.