Jump to content

Playtime Skript

Recommended Posts

this is a easy and simple playtime skript! Be sure to credit Splxshy!


# Made by Splxshy

# Be sure to credit Splxshy if you are using this skript!

command /playtime [<offline player>]:
        if arg-1 is set:
            send "&c&lCrystl&4&lGens&6 %arg-1%'s playtime is %{playtime::%arg-1's uuid%}%."
            send "&c&lCrystl&4&lGens&6 Your playtime is %{playtime::%player's uuid%}%."

every 2 seconds:
    loop all players:
        add "2 seconds" parsed as a timespan to {playtime::%loop-player's uuid%}'

CrystlGens.minehut.gg - Owner

Link to comment
Share on other sites

why not just do add 2 seconds to {playtime::%loop-player's uuid%} instead of making it a string and parsing it as a timespan. Does that not work? Also skript does have an expression that can get the time played of a certain user - https://skripthub.net/docs/?id=4196

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev


[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...