Removing a configuration section

Discussion in 'Plugin Development' started by alex123099, Feb 20, 2014.

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

    alex123099

    I am trying to remove a configuration section.
    I know it is done like this:
    Code:
    set("Quest0", null);
    But that doesn't work for me, the config is not removed.

    This is the section i am trying to remove:
    Code:
    Quest0:
      Sign:
        Location:
          World: world
          X: 474.0
          Y: 64.0
          Z: 319.0
      Type: HUNT
      Mission: 1 chicken
      Reward: 5 egg
     
  2. Offline

    Rocoty

    Did you saveConfig() afterwards?
     
    alex123099 likes this.
  3. Offline

    alex123099

    Rocoty
    Right.. that solved the problem :D thanks
     
Thread Status:
Not open for further replies.

Share This Page