PlayerTime (Offline Player / MySQL / BungeeCord / PlaceholderAPI Supported) 1.0.7-RELEASE

Checking a player's play time has never been easier. 1.13 Supported!

  1. ItsMeGlare
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://github.com/darbyjack/PlayerTime
    [​IMG]
    [​IMG]

    [​IMG] [​IMG] [​IMG] [​IMG] [​IMG] [​IMG]

    [​IMG]
    PlayerTime is a simple little plugin I created that allows you to check how long a player has been on the server for. I know this may seem like "every other player time plugin" but I have yet to see one that will work with offline players, simply because you can't. That's why I decided to do my own take on this. I wanted to make that a possibility.​

    [​IMG]
    • Supports Offline Players
    • Supports MySQL
    • Supports BungeeCord (via connecting to same MySQL DB on all servers)
    • PlaceholderAPI
    • Top 10 GUI
    [​IMG]
    The way this plugin works is very simple. Once a player logs in, the plugin will see that and watch for when that player logs in. When the player logs out, the time online will be saved to a file so that you can still check that player even when they are offline.​

    [​IMG]
    Code (YAML):
    # PlayerTime ${project.version}

    # Do not change this
    config-version
    : 2

    plugin-prefix
    : "[&dPlayer&eTime&f]"

    # Supports YML or MySQL
    database
    :
      type
    : YML
    # Uncomment when using MySQL
    #  host: "localhost"
    #  port: 3306
    #  username: "root"
    #  password: "password"
    #  database: "playertime"
    #  pool-size: 10

    format
    : "&a{name} has been playing for {days} days, {hours} hours, {minutes} minutes, {seconds} seconds"

    # This will either be gui or text, if it's neither, this won't work.
    leaderboard-type
    : "gui"

    # The "time-format" option also applies to the text based version of the leaderboard.
    gui
    :
      title
    : "Top Ten PlayerTimes"
      time-format
    : "{days} days, {hours} hours, {minutes} minutes, {seconds} seconds"
      item
    :
        name
    : "{player}'s time"
        material
    : "PAPER"
        lore
    :
       - "Ranked #{slot}"
        - "Time Played
    : {format}"

    text-top:
      title: "
    &7------------------------"
      footer: "
    &7------------------------"
      content: "
    &7{place}, &a{name} &f{time}"


    messages:
      incorrect-usage: "
    Too many arguments. Use /ptcheck or /ptcheck <name>"
      never-played-before: "
    Data for this player was not found. Never played?"
      no-playtime-data: "
    There was no saved playtime data for this player"
      config-reload: "
    PlayerTime config has been reloaded!"



    PlaceholderAPI Placeholders:

    %playertime_time%
    %playertime_time_seconds%
    %playertime_time_minutes%
    %playertime_time_hours%


    [​IMG]
    • /ptcheck
    • /pttop
    • /ptreload
    • playertime.check (check yourself)
    • playertime.others (check others)
    • playertime.top (opens the GUI)
    • playertime.reload (reloads the config)
    [​IMG]
    Capricho, Praya and Killer123451 like this.

Recent Updates

  1. 1.13 Support
  2. Fixed Ugly GUI
  3. GUI Fix

Recent Reviews

  1. Spoosh
    Spoosh
    5/5,
    Version: 1.0.6-RELEASE
    Very good plugin. My only problem is that i wish that is worked from console. It currently isn't working for me.
  2. UncleM0
    UncleM0
    5/5,
    Version: 1.0.6-RELEASE
    Looks like an amazing plugin, There is one thing i would like to change tho. There is a message coming up everytime i login, "PLAYTIME : Announce. That message should be removed. Because there is no config to change the announcement.
  3. KingStation
    KingStation
    5/5,
    Version: 1.0.5-RELEASE
    thanks man he is work and thank you again for your legendary work he is amazing <3 keep going my friend you are the best take the 5 stars
  4. MelaniumAS
    MelaniumAS
    5/5,
    Version: 1.0.5-RELEASE
    ----------------------------------------------------
    Excelente plugin
    Puedes agregar regalos ? por tiempo jugado . Seria muy bueno
    ----------------------------------------------------