PlayTime 3.3

Allows users to view a players playtime.

  1. F64_Rx
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    • 1.18
    Source Code:
    https://github.com/Twi5TeD/PlayTime
    Contributors:
    F64_Rx
    Languages Supported:
    All
    [​IMG]
    Allow Players to View their playing time.

    Description:
    Playtime is a simple plugin that i made to allow players to view their time played or another player's time played on the server. You can also check offline player's time played and you can also view top 10 playtime of the server. playtime is fully customizable and can be done from the configuration file.

    Player Data:
    To reset the player data delete the stats folder inside of the world folder.

    Commands/Permissions:
    - /playtime - shows your time played on the server - Permission: playtime.check
    - /playtimetop - shows the top 10 playtimes on the server - Permission: playtime.check
    - /playtime <player> - shows another player's time played on the server - Permission: playtime.check
    - /serveruptime - shows the server online time - Permission: playtime.uptime
    - /playtimereload- reloads the config after editing the file - Permission: playtime.reload

    playtime:
    aliases: [timeplayed, pt]

    playtimetop:
    aliases: [timeplayedtop, ptt]

    serveruptime:
    aliases: [uptime, sp]

    playtimereload:
    aliases: [ptreload, ptr]


    Images:
    Untitled-1.jpg
    Configuration:
    # Playtime By F64_Rx - Need Help? PM me on Spigot or post in the discussion.
    #
    # =================
    # | CONFIGURATION |
    # =================
    #
    # available placeholders
    # %playtime_player% - returns the player name
    # %offlineplayer% - returns the offline player name
    # %offlinetime% - shows offline time of a player
    # %offlinetimesjoined% - shows the amount of joins a player has had
    # %playtime_time% - shows time played
    # %playtime_timesjoined% - shows the amount of times the player has joined the server
    # %playtime_serveruptime% - shows the uptime of the server
    # %playtime_session% - shows the players current session time
    # %playtime_position% - shows the players current position
    # %playtime_top_#_name% - shows the name of the top 10
    # %playtime_top_#_time% - shows the time of the top 10
    # You can also use any other placeholder that PlaceholderAPI supports :)

    time:
    second:
    enabled: true
    prefix: s
    minute:
    enabled: true
    prefix: m
    hour:
    enabled: true
    prefix: h
    day:
    enabled: true
    prefix: d
    week:
    enabled: true
    prefix: w
    messages:
    no_permission:
    - '&8[&bPlayTime&8] &cYou don''t have permission.'
    doesnt_exist:
    - '&8[&bPlayTime&8] &cPlayer %offlineplayer% has not joined before!'
    player:
    - '&b%playtime_player%''s Stats are:'
    - '&bPlayTime: &7%playtime_time%'
    - '&bTimes Joined: &7%playtime_timesjoined%'
    - '&bCurrent Session: &7%playtime_session%'
    offline_players:
    - '&b%offlineplayer%''s Stats are:'
    - '&bPlayTime: &7%offlinetime%'
    - '&bTimes Joined: &7%offlinetimesjoined%'
    other_players:
    - '&b%playtime_player%''s Stats are:'
    - '&bPlayTime: &7%playtime_time%'
    - '&bTimes Joined: &7%playtime_timesjoined%'
    - '&bCurrent Session: &7%playtime_session%'
    playtimetop:
    header:
    - '&bTop &e10 &bplayers playtime:'
    - ''
    message:
    - '&a%position%. &b%player%: &e%playtime%'
    footer:
    - ''
    server_uptime:
    - '&8[&bPlayTime&8] &bServer''s total uptime is %playtime_serveruptime%'
    reload_config:
    - '&8[&bPlayTime&8] &bYou have successfully reloaded the config.'
    placeholder:
    top:
    name: none
    time: '-'

    PlaceholderAPI Placeholders:
    %playtime_player% - the player name
    %playtime_time% - shows time played
    %playtime_timesjoined% - shows times joined
    %playtime_serveruptime% - shows the uptime of the server
    %playtime_position% - shows the players current position
    %playtime_top_#_name% - shows the name of the top 10
    %playtime_top_#_time% - shows the time of the top 10
    Links:
    Needed:
    PlaceholderAPI
    If you want to use placeholders in holograhpic display you need
    HolographicDisplay
    ProtocolLib
    HolographicExtension
    If you find any problems please let me know in the discussion page and not in the review section thanks.
    Fuknubu0, Najkloo, Cegou and 15 others like this.

Recent Updates

  1. Update
  2. Update
  3. Update

Recent Reviews

  1. TheRawrGuy
    TheRawrGuy
    5/5,
    Version: 3.3
    Great plugin, but I have a suggestion for the AFK users..
    Would be nice if you put like that doesnt count the time played for afk people! Thanks!
  2. XENONSERER
    XENONSERER
    5/5,
    Version: 3.3
    What a great plugin! It would be nice if a command to reset the play time of a specific player was added.
  3. TigerRageMC
    TigerRageMC
    5/5,
    Version: 3.3
    Great plugin, I use it for playtime ranks.
    Hope 1.18 support gets added soon :)
    1. F64_Rx
      Author's Response
      1.18 already works
  4. DaringDoughnut
    DaringDoughnut
    5/5,
    Version: 3.3
    Used this plugin ever since and have no plan on stopping. Great functional plugin and I'm glad to see it's being updated. Thank you for doing this!
  5. Woodypop
    Woodypop
    4/5,
    Version: 3.3
    I like the plugin, would be nice if it specified an api version so i wouldn't have an error in my console.
    1. F64_Rx
      Author's Response
      That api error is for paper versions and since I have the plugin support all versions I can't specify one sorry. I'll look into it though
  6. dflo
    dflo
    5/5,
    Version: 3.2
    Incredible plugin! I love how easy it works! I wish the developer to maintain such an amazing product, because the market really needs it!
    1. F64_Rx
      Author's Response
      Thanks for reviewing
  7. JustTimmNL
    JustTimmNL
    4/5,
    Version: 3.1
    Good plugin but can you please add a seperate permission for "/playtime <player>" so I can add this for staff only?
  8. ItsShoko
    ItsShoko
    5/5,
    Version: 3.1
    Great Plugin. But How i can reset the Players playtime ?
    Is it have any chance to do this?
    1. F64_Rx
      Author's Response
      Player Data:
      To reset the player data delete the stats folder inside of the world folder.
  9. jonylentz
    jonylentz
    5/5,
    Version: 3.1
    Great plugin! It's lightweight, works as expected and is a pretty nice addition to your minecraft server, specially the top 10 list of players

    In order to display the top 3 players, you have to [install all the dependencies] change the # to an actual number and create each line e.g: %playtime_top_#_name% to %playtime_top_1_name%

    [x] TOP 3 PLAYERS [x]
    {slowest} %playtime_top_1_place% %playtime_top_1_name% %playtime_top_1_time%

    {slowest} %playtime_top_2_place% %playtime_top_2_name% %playtime_top_2_time%

    {slowest} %playtime_top_3_place% %playtime_top_3_name% %playtime_top_3_time%

    this will output and REFRESH every 10 seconds:

    [x] TOP 3 PLAYERS [x]
    1. player1 time
    2. player2 time
    3. player3 time

    The players have to join AFTER INSTALLING THE PLUGIN to appear in the Hollographic display, otherwise you will se the placeholder instead of the player name/time (%playtime_top_#_name%),

    The total play time will be counted from the first time the player joined the server (time before installing the plugin WILL be counted)

    in order to auto-update you have to add {speed} before each line, you can check the possible speed values in the HolographicExtension page
    E.G
    {slowest} %playtime_serveruptime% will update the server uptime every 10 seconds
  10. Command_String
    Command_String
    5/5,
    Version: 3.1
    As is this is an amazing plugin but one thing I'd like to ask is for MySQL support, for people who want to integrate the players time into a website (like what I'm trying to do). I appreciate any response and the adding of this function.

    Have a wonderful day, Command_String