Read & Write from .txt file.

Discussion in 'Plugin Development' started by chenr1, Jun 8, 2012.

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

    chenr1

    Hey guys, I've been writing some plugins but I ran into a problem that I needed to save a variable to a file. Then read it. The reason being that instead of deleting the variable when someone reloads the plugin or restarts the server it wont reset the variable back to 0. I've done some reasearch but i still couldnt figure out how to do it from bukkit. Thanks for you help in advance.

    -Chenr1
     
  2. Offline

    Rafiki2085

    Do you use YML config files for loading configurations?
     
  3. Offline

    chenr1

    No, I do not.
     
  4. Offline

    caldabeast

  5. Offline

    chenr1

    Thanks!!!. I will definatly take a look at that. Considering that i'm gonna have lots of freetime.
     
Thread Status:
Not open for further replies.

Share This Page