Won't work

Discussion in 'Plugin Development' started by baugh70, Jan 4, 2014.

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

    baugh70

  2. Is your config file for this plugin right? I mean you have to save your config in loadConfiguration().
     
  3. Offline

    baugh70

    Its there.
    Code:java
    1. getConfig().options().copyDefaults(true);
    2. getConfig().options().copyHeader(true);


    AlexMl

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2016
  4. as far as i know is the copyDefaults() option for not overwriting the config file. try:
    Code:java
    1. saveConfig()
     
  5. Offline

    baugh70

    I'm dumb. Sorry, I have done this in every other plugin... :(
     
  6. Offline

    AstramG

    Just for future notice can you put what you need help with in the thread's tile instead of "Won't work" unless someone else has a similar issue.
     
Thread Status:
Not open for further replies.

Share This Page