PlayTime
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.
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: #codelanx
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
- Download the jar file and put it in your plugin folder
- Start your server
- PlayTime has generated a config.yml in your plugins folder, customize it so it can connect to your database
- 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:
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
@Bluerose_girl
So thats it, i'm using on 1.7.2. Thanks for the info.
@Ryex95
If you are using this in 1.7.9 that might be the reason. Using this plugin outside of 1.7.4 will render the events useless. :(
I'm currently using this on 1.7.9. It was working fine for a few weeks and recently the playtime is freezing up until we force a restart. We rank with playtime on our server so this is really important to us. Do u plan on updating this plugin or recommend any plugin similar to this one but in 1.7.9.? Thank you.
1.7.9? :)
Plugin counting time at skyblock world. Why is that?
Is it possible to track playtime per world?
My events are not working, do you have any idea why?
I'm using MySQL database.
Just connected this plugin via MySQL across a couple of servers. Have to admit works well, better then any time checking plugin out there.
Quick question, when UUID Support becomes available, will it auto-convert your MySQL database?
@Chester2000
Chester2000 all u need to do is install the plugin on all your servers and connect it to a database :D
As a note: My finals just ended, so you can soon expect Playtime 1.5.0 with UUID support, as well as Playtime 2.0.0 a little farther in the future.
@Chester2000
This already works with that if you use a central mysql database.
@arriej
That would be the event system which I'm overhauling for Playtime 2.0.0
hey man. Amazing plugin! Tho i am in search of some plugin that automatically ranks players after an <amount of time> to a <rank> is there any chance you can add this in?
Thanks!
can u make BungeeCord version?
@NoHoPeLess
Why do you want to update to UUID so bad?, you can't change your username yet so it shouldn't matter :P
@tylertran007
Why switch to UUID?, also one way you could accomplish that is by editing your sql database, which I think there might be plugins to do that within the server. Its not the easiest way but itl work for now.
Pls Update to UUID :D
@1Rogue
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
@YoshislayerZ
/playtime will be their total accumulated time.
@itsbop
For what purpose? You can potentially just disable their ability to check it.
@TheBossGuy19
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
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.
I'm sorry but is there anyway to make it so only certain player/groups are tracked?
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.
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?