Adding Defaults

Discussion in 'Plugin Development' started by Gopaintman, Sep 5, 2013.

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

    Gopaintman

    Hi,
    I'm trying to use the .addDefault(); method as part of FileConfiguration and I can't figure out how to add a list and not just a string. Any ideas?
     
  2. Offline

    chasechocolate

    Same as you normally would: config.addDefault("mylist", list).
     
    Gopaintman likes this.
  3. Offline

    Gopaintman

  4. Offline

    chasechocolate

Thread Status:
Not open for further replies.

Share This Page