mojira.dev
MC-29522

stat.playOneMinute adds a value of 1 every tick

Instead of adding a value of 1 per min, stat.playOneMinute adds a value of 1 for every tick!

Linked issues

Attachments

Comments 11

I am not even 1 min online when this was created and it gives this count already.

Confirmed for 13w48b

Still unresolved at 14w06b snapshot!

14w07a here, unresolved, voted

1 more comments

Still unresolved for 14w10c.

Still unresolved for 14w17a.

😞

Works as intended. If you look in the Statistics screen, the game divides the number by 20 to get the number of seconds played and then by 60 to get the number of minutes played. As a result, the game needs to keep track of more than just an integer number of minutes.

If that's intended, than this stat is not named correctly. The user expects that a thing called "PlayOneMinute" gives a value in minutes!
As for scoreboard etc. it's not possible to calculate anything afaik, this stat is not really helpful at all.

May I suggest:
Rename stat.playOneMinute to stat.playOneTick
Add stat.playOneMinute (gives minutes), stat.playOneHour and stat.playOneDay so we can keep track if this on a scoreboard for example.
=> Alternative: Give the possibility to calculate a scoreboard value or a divider parameter to the scoreboard command. Some like:

/scoreboard objectives add <name> <criteria> [ displayname divider ]
/scoreboard objectives add ptime stat.playOneTick Playtime 1200
=> gives Playtime in minutes

With some like this, everyone can be happy 🙂

I think just renaming it to "stat.playTime" would be the best solution.
Could please someone change the title so that it refers to the wrong name instead of the wrong number and re-open it?

Dustin Held

slicedlime

Confirmed

Minecraft 13w36a, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w47e, Minecraft 13w48a, ..., Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 1.7.5, Minecraft 14w11b, Minecraft 14w17a

21w16a

Retrieved