Reset the death count of a player?

Status
This thread has been locked.

Ankh

Symbol of Life
Supreme
Feedback score
5
Posts
80
Reactions
17
Resources
0
I'm currently using FeatherBoard to tell a player their kill to death ratio. I want to reset the deaths of a specific player back to 0, however I'm having trouble figuring out where the data is stored for players...

This is all I've found so far
Code:
  kdr:
    text:
    - '&dKDR: &f{placeholderapi_statistic_player_kills}/{placeholderapi_statistic_deaths}'
    interval: 2
    random: false
I'm trying to find where the placeholderapi_statistic_deaths value is stored for players. Any help is appreciated.

P.S. the SQL is not set up, so the values are not stored on a database.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Ambrosia

Premium
Feedback score
22
Posts
2,340
Reactions
1,384
Resources
0
https://hub.spigotmc.org/javadocs/s...r.html#setStatistic-org.bukkit.Statistic-int-

ex. of using that ^
https://gyazo.com/44358cada3bd42429ae242077ea95edb
https://gyazo.com/92b20d710f2b91c0296932cead82f895

https://www.spigotmc.org/wiki/placeholderapi-placeholders/
Make sure to download the ecloud and use the deaths statistic (even though you could select whatever you want and manipulate the value).

Hope you understand, if you have any questions just @ me.[DOUBLEPOST=1537585591][/DOUBLEPOST]Use: %statistic_deaths%
 

Ankh

Symbol of Life
Supreme
Feedback score
5
Posts
80
Reactions
17
Resources
0
Ambrosia is there a place where I would just be able to change this in like a file or something? I'm not really good with java, was more just seeing if I could manually update this through a file or command
 

Pyr0

Unique Server Specialist
Premium
Feedback score
11
Posts
133
Reactions
58
Resources
0
Ambrosia is there a place where I would just be able to change this in like a file or something? I'm not really good with java, was more just seeing if I could manually update this through a file or command
Under the main world file, there should be "playerdata" & "stats" folders. Not sure how to edit the playerdata but the deaths is in there. I just delete the whole player data file to reset deaths or other stats but that completely resets inventory, etc.
 

Ankh

Symbol of Life
Supreme
Feedback score
5
Posts
80
Reactions
17
Resources
0
Under the main world file, there should be "playerdata" & "stats" folders. Not sure how to edit the playerdata but the deaths is in there. I just delete the whole player data file to reset deaths or other stats but that completely resets inventory, etc.
Alright, I'll try it. Thanks
 
Status
This thread has been locked.
Top