[HELP] Config

Discussion in 'Plugin Development' started by TheEpicButterStudios, Nov 1, 2013.

Thread Status:
Not open for further replies.
  1. I'm not even going to attempt to code it until I get help. I'm lost.
  2. Offline


    What do you need help with?
  3. MayoDwarf I have no clue how to generate or to read from a config, help is appreciated. Thanks!
  4. Offline


    1. //Declare the config with
    2. private FileConfiguration config;
    3. //Make a variable to easily use getConfig method.
    4. config = getConfig();
    5. //Get the default config in the project
    6. config.options().copyDefaults(true);
    7. //Saving a config
    8. saveConfig();

    EDIT: TheEpicButterStudios
    TheEpicButterStudios likes this.
  5. Offline


Thread Status:
Not open for further replies.

Share This Page