Solved Keep strack of stats (Kills, deaths, KD)

Discussion in 'Plugin Development' started by tovd1234, Dec 22, 2014.

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

    tovd1234

    Hello everyone, I know this sounds kinda nooby. But I have no idea how I can code this. Help is apprechiated! (I only know how to do the KD. But only if I get to save the stats somehow)
     
  2. Offline

    Skionz

    @tovd1234 Save them as a, json file, xml file, parse the lines yourself and save them to a text file, a database using SQL, or simply use the YAML API inside Bukkit.
     
  3. You need to listen to the various events, for example PlayerDeathEvent.
     
  4. Offline

    tovd1234


    Okay thanks, I'll see if I can figure it out now :D
     
  5. Offline

    teej107

  6. Offline

    tovd1234

    Thanks, but I don't really know how to work with them (In Bukkit) so I'll have to figure that out. Thanks a lot!
     
    teej107 likes this.
Thread Status:
Not open for further replies.

Share This Page