Seperate configuration file for each world

Discussion in 'Plugin Development' started by Unscrewed, Mar 26, 2013.

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

    Unscrewed

    Hello everyone,

    I've Google'd and Google'd, but I can't seem to find what I want.
    I basically want the same configuration file for each world, but I do want them to be seperate files.

    This is what I currently have:
    This is what I want:


    How would I go about doing this?

    Thanks in advance,
    Bunneling
     
  2. Offline

    CoderCloud

    You would use the Bukkit.getWorlds() Method to get all the worlds.
    Than I would create a new Configfile. You can use the code that is discribes here to create a new Config.
    I hope this helps, if you have any other questions feel free to ask them.
     
Thread Status:
Not open for further replies.

Share This Page