1.1.0 release of Playtime Command
Added a new command: /playtime --top - this command lets you see online players' playtime in a leaderboard.
In order to avoid lag, the leaderboard is cached for three seconds before being regenerated, even though, during internal testing, the mod built the leaderboard of 264 online players instantly without hurting performance.
Technical changes
The mod is now compiled for 1.21.10 and, unlike before, minecraft >= 1.20 is now an actually declared dependency in the code too, rather than just on Modrinth.
All of this doesn't change anything related to what versions are supported.
SHA256:
7C4AE1F588C2A09E772C4D1FB2E8361973EA4981E6F69361563E8DEDDD1A2152
Source code at current commit: Github
Source code changelog: Github
1.0.2 release of Playtime Command
Improved playtime message formatting: the last unit is now always preceded by and instead of only minutes/seconds.
Previously, this only applied between minutes and seconds, like in this case:
Your playtime is 1 hour, 6 minutes and 29 seconds.
But not in this one:
Your playtime is 1 hour, 6 minutes.
It now always shows and instead of a comma for the last unit, so it would display as:
Your playtime is 1 hour and 6 minutes.
SHA256:
9C812976558A3B1CF86DFF06FD3178CE956A5A91D899191AC4CFFA1C5DE12904
Source code at current commit: Github
Source code changelog: Github


