Config files

Discussion in 'Plugin Development' started by BloodShura, Jan 14, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    BloodShura

    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?
     
  2. Offline

    DirtyStarfish

  3. Offline

    BloodShura

    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.
     
    Last edited by a moderator: May 23, 2016
Thread Status:
Not open for further replies.

Share This Page