TimeTracker
TimeTracker is a plugin that tracks when players log in and out of your server. This plugin fetches and stores this information, and makes it easily available, through the use of two simple commands, one designed for staff, to get detailed information about anyone, the other designed with the average player in mind, providing access to that player's data.
Features
- Stores exact time of first login, last logout and total playtime.
- Nice, intuitive display of time passed.
- Permissions support for both commands
Commands
- /seen - Provides all the stored data about a player.
- /playtime - Provides information about the issuing player.
Permissions
- timetracker.seen - Gives access to /seen. Defaults to OP only.
- timetracker.playtime - Gives access to /playtime. Defaults to true.
Upcoming Features
- Database support
- Multiple languages
- Optional verbose output
Curse Spotlight
Thanks to Xenius01 over at Curse, they have featured the plugin in one of their weekly spotlights.
Contributed video
Source Code
The latest sources are always available at my GitHub.
are you able to make it compatible on 1.8
@cedeel
Plugin works partially in 1.7.10 /playtime will show 45 years. /seen on others works fine
It would be awesome if you could query a date. So something like /seen <player> February <player> Has played for X hours in February.
@thedjtec
Where in the world did you get that idea? It currently uses usernames, but with the upcoming name changes that might change.
Since the plugin uses IPs to track, when multiple players log on from a single IP they all get hours added to playtime :( Any way to change this as a setting based on username?
@epic_ninj4 @zokHalsen
Database support will probably come after the next update, some things need to be changed internally to support this.
@epic_ninj4
I'd love this.
database support please so i can use it on multiservers
Is there a way for a server admin to get the time a player has logged without being in game?
I know there is the data.xml but how do you factor the actual time from that big number? Is that just in seconds?
@cedeel
Server is still lagging, but I'm not 100% sure if it TimeTracker, might be another plugin
@sharqman
If you would try this build: https://dl.dropboxusercontent.com/u/2334613/TimeTracker-1.7.jar
I would like to know if it would solve your lag issues. The difference is that it's using asynchronous methods.
I suspect that this plugin is causing lag on player join/quit (using 1.5) going to switch back to first last seen until it's fixed. Here's the script I used to convert http:pastebin.com/1wkFBhQT
@sharqman
You have an excellent point. I think I'll make it configurable how many days before the date is shown. Edit: Perhaps you'd be kind enough to upload the script somewhere? That way I can put it in the description if others want to use it.
It worked :) Would be cool if you could make players able to /seen themsleves and also change the first/last seen format to date instead of days (700+days is the first seen for a lot of the players on the server I play on).
made a script but it looks like the file changed back after a restart, might need to upload while the server is not running. Why can't players /seen themselves?
EDIT1: file reverting might have been because I put playertime instead of playtime EDIT2: wasn't the issue, will try when server is not running.
@sharqman
Maybe. If you're able to write a script to conversion. As far as I know, FirstLastSeen stores a single file per player, whereas TimeTracker stores them all in one file.
Is there a way to convert from FIrstLastSeen?
@sharqman
Not currently, but I'll add that to the next version.
is color coding possible for the join message?
@Vodafonept
Sorry, no.
I recognise that this is an unfortunate restriction of Bukkit as a platform that you're not able to designate commands yourself, but I must refuse to complicate the commands of the plugin in order to make it work with another.
Next thing, someone would ask me to change /pseen to /oseen because there's some conflict with yet another plugin.
I'm sure there's a way to disable Essential's /seen command if you prefer this one, but that's a question for the developer(s) of that plugin.
Hey could you change the command "/seen" to "/pseen" ??
because essentials uses same command
thanks