Solved For some odd reason, my config doesn't want to save correctly?!

Discussion in 'Plugin Development' started by PerezHD, Nov 25, 2014.

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

    PerezHD

  2. Offline

    JuicyDev

    Use the saveDefaultConfig() method in on enable rather than getConfig().getOptions().saveDefaults(true)
     
    PerezHD likes this.
  3. Offline

    PerezHD

    Thank you, works now
     
  4. Offline

    JordyPwner

    Please mark this thread as filled so people know its fixed.
     
  5. Offline

    JuicyDev

    You could also look at the configuration handler that sk89q uses in WorldEdit. It supports adding comments to nodes on the fly.
     
Thread Status:
Not open for further replies.

Share This Page