PlayTime

Logo

Playtime is a plugin for tracking numerous times for particular players. Currently within its release stage, it can track the time that a player has been online, been alive for, and how long they have played on the server in total. It currently supports three forms of data management, which are MySQL, SQLite, and flat file storage using yaml files. There is also tracking of AFK players (if you wish to enable it), and I try to keep everything within this plugin as configurable as possible. Please, if you have any type of feedback at all, don't hesitate to leave a comment! I usually try to add new ideas within a week of requesting it if I deem that it is appropriate for the plugin.

http://1ro.co/resources/playtime/main_on.pnghttp://1ro.co/resources/playtime/configuration_off.pnghttp://1ro.co/resources/playtime/commands_off.pnghttp://1ro.co/resources/playtime/permissions_off.pnghttp://1ro.co/resources/playtime/development_off.png

News: Playtime-2.0.0!

There are plans for an upcoming re-write of the Playtime plugin in its entirety! You can view the notes on this update at the link below:

http://dev.bukkit.org/bukkit-plugins/playtime/pages/development/#w-upcoming-features

This will add some major overhauls, including an incredible re-write of the event system, finally fixing the event system to allow for player-defined events after a certain time period.

Have questions on the update, or need help with the plugin in general? Leave a comment below or feel free to talk to me direct via IRC: #playtime

Updating to Playtime 1.4.1+

Note that v1.4.0 introduces an event system with a few example events placed in. If you would not like any events to be used at all, simply remove everything in the events.yml file and save it as blank.

Installation

  1. Download the jar file and put it in your plugin folder
  2. Start your server
  3. PlayTime has generated a config.yml in your plugins folder, customize it so it can connect to your database
  4. Restart your server

Requirements

Java 6 or higher

Features

  • Logs PlayTime for users currently online, updates it every minute
  • Logs the PlayTime in a MySQL database
  • Looking up your own play time with a command
  • Look up up someone elses play time with a command
  • See how long since your last death
  • See how long since someone else's death
  • Stop tracking the time of AFK players
  • Flatfile support (yml files) - Deprecated, will return in the future
  • SQLite support
  • Dynamic configuration updating
  • Asynchronous data management
  • Time spent online since login
  • Other languages - Currently supported: en_US (English), de_DE (German)
  • Firing Console commands when a time is reached
  • Add top for total time played
  • Add command to switch between data managers
  • Automatic updating and version checking. This is possible to disable under the "update" section of the config. For more information, read the Configuration page

For a full list of upcoming features, feel free to look here: http://dev.bukkit.org/server-mods/playtime/pages/development/

Metrics Stats

Playtime uses metrics, which keeps track of information such as OS, player count, java version, and other specific information in an anonymous fashion. You can view the collected information by clicking the graph below, and it is used for any potential future development for specific groups that develop within statistics:

http://mcstats.org/signature/playtime.png

This can be disabled in the Metrics configuration for all plugins, under plugins/PluginMetrics/config.yml , and set "opt-out" to true. Keep in mind this will make your server not report any information, and I love stats almost as much as cats </3

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of tylertran007 tylertran007 Apr 12, 2014 at 21:05 UTC - 0 likes

    @1Rogue: Go

    The reason it would be very useful to allow reset/add/remove playtime is for staff purposes such as when a player is banned, and pays for an unban, a punishment could be his playtime reset. And, another reason for it is if someone donates to buy a rank, I need to add playtime to them so their playtime matches that of someone who would have that rank since they bought it. Please, I really need this update, it would be very useful and helpful! Also: (VERY IMPORTANT) - Switch to UUIDS!

    NinjaPVP: 192.99.19.209:25580

    NinjaPVP

    Last edited Apr 13, 2014 by tylertran007
  • Avatar of 1Rogue 1Rogue Apr 08, 2014 at 21:56 UTC - 0 likes

    @YoshislayerZ: Go

    /playtime will be their total accumulated time.

    @itsbop: Go

    For what purpose? You can potentially just disable their ability to check it.

    @TheBossGuy19: Go

    Unfortunately this is slotted for Playtime 2.0.0 (event exemption). The event system isn't entirely functional at the moment, so I'm re-vamping the plugin entirely.

    @tylertran007: Go

    What purpose would this serve? I mainly don't put this in as people complain it's abusable, and the times are meant to be representative of certain times. I was contemplating a new system with Playtime 2.0.0 for allowing custom timers, however.

  • Avatar of itsbop itsbop Apr 06, 2014 at 22:35 UTC - 0 likes

    I'm sorry but is there anyway to make it so only certain player/groups are tracked?

  • Avatar of YoshislayerZ YoshislayerZ Apr 01, 2014 at 01:12 UTC - 0 likes

    What would be the command to find a player's total time on the server since they first joined? Unless I'm misinterpreting this, I thought it meant how long they've played since their join date.

  • Avatar of TheBossGuy19 TheBossGuy19 Mar 30, 2014 at 15:07 UTC - 0 likes

    I have a rank called veteran that people can earn by playing for 7 hours. I also have donator ranks. People that donate before reaching 7 hours will later be made the 7 hour rank after they reach that. Is it possible to make it so playtime commands wont affect certain ranks?

  • Avatar of tylertran007 tylertran007 Mar 30, 2014 at 00:10 UTC - 0 likes

    PLEASE make it where you can reset a specific players playtime? Or add playtime to a player? I really need these badly. I don't use MySQL but this is vital to my servers rank system! I might even donate if you add this that's how important this is (Make it a command)!

    IP: 192.99.19.209:25580

    Last edited Mar 30, 2014 by tylertran007
  • Avatar of TheBossGuy19 TheBossGuy19 Mar 27, 2014 at 04:29 UTC - 0 likes

    I have a rank called veteran that people can earn by playing for 7 hours. I also have donator ranks and donators that donate before playing 7 hours, will later be made the 7 hour rank after they reach that. Is it possible to make it so playtime commands wont affect certain ranks?

  • Avatar of HerrBockwurst HerrBockwurst Mar 24, 2014 at 07:22 UTC - 0 likes

    <<reply 2092773>>

    I have the same problem:

    events:
     member:
       type: playtime
       time: 5
       at-login: false
       repeat: false
       commands:
       - 'msg %u Test'

  • Avatar of TheBossGuy19 TheBossGuy19 Mar 23, 2014 at 20:02 UTC - 0 likes

    Whenever I put in a script for the events, it won't run the command once a player reaches the time.

    events: 3min: type: onlinetime time: 18 at-login: false repeat: true commands: - 'broadcast Test'

  • Avatar of 1Rogue 1Rogue Mar 22, 2014 at 16:08 UTC - 0 likes

    @NoHoPeLess: Go

    Can you PM me a server log of when this occurs?

Facts

Date created
Aug 10, 2012
Categories
Last update
Jan 21, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
PlayTime
Downloads
11,011
Recent files

Authors