GlowstoneMC / GlowstoneMC/Glowstone
Complete statistics tracking
- Dominant language
- Java
- Stars
- 2k
- Forks
- 280
- PR merge metrics
- No merged PRs in 30d
Description
**Task description**: Right now, the statistics system for loading/saving is complete. However, only the "time played" statistic is currently tracked. Therefore, we need to complete those statistics as well.
_Anyone can feel free to contribute on a smaller or larger portion of this task as they feel. There is no absolute need to complete all of the following in one PR. Hop on the [Discord channel](https://discord.gg/TFJqhsC) to have a chat with other contributors._
_If you plan on working on this task, please feel free to let us know in the comments. If you plan on working on a larger portion of the task, please open a Work In Progress Pull Request so we can track this issue._
---
**Statistics to track**
- [x] Games quit
- [x] Time since last death
- [x] Sneak time
- [x] Distance walked
- [x] Distance crouched
- [x] Distance sprinted
- [x] Distance swum
- [ ] Distance fallen
- [x] Distance climbed
- [x] Distance flown
- [ ] Distance dove
- [ ] Distance by Minecart
- [ ] Distance by Boat
- [ ] Distance by Elytra
- [x] Jumps
- [x] Items dropped
- [x] Damage dealt
- [x] Damage taken
- [x] Number of deaths
- [x] Mob kills
- [x] Animals bread
- [x] Player kills
- [x] Droppers opened
- [x] Hoppers opened
- [x] Dispensers opened
- [x] Chests opened
- [x] Furnaces opened
- [x] Crafting tables opened
- [x] Ender chests opened
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36495808-complete-statistics-tracking?utm_campaign=plugin&utm_content=tracker%2F14691067&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F14691067&utm_medium=issues&utm_source=github).
Contributor guide
Research direction
Start by locating the existing statistics loading, saving, and time-played tracking code. Compare its behavior with the unchecked statistics in the issue, then determine how each missing statistic should be updated and persisted. Done means the listed missing statistics are tracked consistently with the existing system and survive loading and saving.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100