Data Packs Tool

playtime tracker

    • 13,432 views • 2 today
    • 1,767 downloads • 0 today
    • 25
    • 23
    • 22
    katee
    Level 63 : High Grandmaster uwu
    130
    track your world playtime displayed in days, hours, minutes, and seconds!

    by default, playtime is displayed above your hotbar - but this can be toggled via:
    /trigger playtime_display

    alternatively, display global playtime with:
    /scoreboard objectives setdisplay sidebar playtime_s/m/h/d

    seconds
    playtime_s
    minutes
    playtime_m
    hours
    playtime_h
    days
    playtime_d
    CompatibilityMinecraft 1.13
    toMinecraft 1.20
    Tags

    3 Update Logs

    2023.0611 : by katee 06/10/2023 8:55:01 pmJune 11, 2023 @ 12:55 am UTC

    LOAD MORE LOGS

      Have something to say?

    supernova_relic
    07/02/2023 10:29 am
    Level 1 : New Miner
    hello, great little datapack!
    Couple of things you may be able to help with, is it possible to set the clock as off on the display, also, is there a way to stop players being able to add time?
    Just asking as would love to use this to track players total time played on a server from an admin point of view
    Cheers, keep up the great work btw!
    2
    katee
    07/02/2023 9:14 pm
    She/Her • Level 63 : High Grandmaster uwu
    thank you <3

    as for the display, do you mean above the hotbar? if so, players individually can run /trigger playtime_display. if it would be useful i can make this a global admin option :3

    as for players adding time i'm a lil confused. do you mean stopping people from editing the scoreboards? that's unfortunately not possible. players pausing their own playtime is not possible either, but i can prolly add this too if needs be
    1
    supernova_relic
    07/05/2023 3:02 pm
    Level 1 : New Miner
    Thank You, Honestly, you have no idea how useful this tool could be for server admins/owners. It genuinely amazing!

    Being able to stop players adding time from an config level would be so good. Also i dont know if possible, but i know you can detect afk players, being able to stop the clock as it were for afk players to get a true "played time" would probably make this up there with the best server tools written.

    I know thats a lot of work to do but keep up your good work anyway as this tool is super cool as is tbh
    2
    katee
    07/07/2023 3:40 pm
    She/Her • Level 63 : High Grandmaster uwu
    sorry i only just saw this, been juggling computer os stuff lol -w-

    detecting afk players has been a feature i've been meaning to add for a long time, this can definitely come very soon when i find the time!

    thank you again :3
    2
    Devixius
    05/30/2023 11:51 pm
    Level 32 : Artisan Creeper Hugger
    Hello, how can i set value?

    I had 30hours on my world, so i change name and time reset to 0 I wanted to change with command "/scoreboard players set playername playtime_display value" but it doesnt work...

    how i can change it?
    2
    katee
    06/01/2023 2:31 pm
    She/Her • Level 63 : High Grandmaster uwu
    uh you will need to set it in ticks. so 30 hours would be 2160000 i believe (108000 * 20).

    so you can run /scoreboard players set @s custom.total_world_time 2160000

    let me know if u run into issues ^w^
    2
    Devixius
    06/03/2023 11:48 am
    Level 32 : Artisan Creeper Hugger
    It works sentiment_very_satisfied , thank you so much. You helped me a lot.
    2
    katee
    06/03/2023 12:38 pm
    She/Her • Level 63 : High Grandmaster uwu
    oh great!! :3
    2
    GangstaPichu
    01/03/2023 10:24 pm
    Level 1 : New Miner
    Hey, is there a way to put the timer off to the side next to the hotbar on the right some instead of on top? Trying to have it a little out of the way as there's a bit of stuff already above the hotbar since it's a modded server. Thanks!
    2
    katee
    01/11/2023 11:39 am
    She/Her • Level 63 : High Grandmaster uwu
    thought i had already replied to this, sorry. unfortunately that's not currently possible, if you could send a screenshot i could get an idea as to how offset the playtime would need to be.
    1

    Welcome