Storing players kills and deaths inside of a file?

Discussion in 'Plugin Development' started by ChrisStarr32, Apr 24, 2014.

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


    I was wondering how I could store all the players kills and deaths on my server so when they do /stats it will show them there kill and death amount.

  2. Offline


  3. Offline


    Key word: amount. Why don't you take some time to think about this before posting? I'm sure you will think of a way:)
  4. Offline


    A lot of people seem to be using config files to store stuff long term.
    They're more efficient than just storing them as variables, riiight?
  5. Offline


    Bobit Variables last only as long as the server does. They vanish when the server crashes, stops or resets. Variables are good at storing stuff in RAM for fast access, flat-files are good for keeping stuff between sessions/resets.
  6. Offline


    Of course, that doesn't apply for permissions. Bukkit would be smart enough to save the permissions between sessions...right?
Thread Status:
Not open for further replies.

Share This Page