Using txt files

Discussion in 'Plugin Development' started by ShadowLAX, Sep 13, 2013.

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

    ShadowLAX

    Hello bukkit, I am looking for a way to store data that can also be removed. I have tried using YAML files, but I can't remove anything from them unless I missed something. My questions are:

    1) Can I remove things from a YAML file?

    2) If I can't how can I make a txt file and use it to store strings?

    Thanks!
     
  2. Offline

    Minecrell

    ShadowLAX
    You want to remove an entry from a YAML configuration? Did you try using getConfig().set("<key>", null)?
     
  3. Offline

    ShadowLAX

    Minecrell Uh, I guessed I missed that... derp. xD
     
Thread Status:
Not open for further replies.

Share This Page