LBStats
LBStats by aciid
Get player LogBlock data such as first seen, last seen, play time, IP and more
Commands & permissions & config: CLICK HERE
#
BEFORE USING!!!
FIRST MAKE SURE TO EDIT THIS LINE IN LOGBLOCK CONFIG: logPlayerInfo: true
#
LBStats was written as a replacement for the inactive LogBlockStats plugin, the features are effectively the same. The plugin will read the data in your LogBlock MySQL database and provide players/console with simple commands to display the data.
Features include:
- See a players play time
- List x players with the highest play time
- See a players join date
- See a players last played date
- Show player's last recorded IP
- Easily match a player's last recorded ip to other players
- Custom messages with wildcards so compatible with any language!
+ More to come
Changelog:
Quote from LBStats v0.8:YOU MUST REGENERATE (delete) YOUR CONFIG TO UPDATE WITH NEW FEATURES!!
+ Fixed keepalive opening too many connections
+ Added configurable messages in config.yml
+ Added reload command
+ Tweaked some more things
Quote from LBStats v0.7:+ Fixed keepalive opening too many connections (edit: failed)
+ Added ip match command.
+ Parsed IP to display more friendly
+ Tweaked some things
Quote from LBStats v0.6:REGENERATE CONFIG OR ADD THE FOLLOWING LINE:
KeepAlive: 600Added keep alive thread (keepalive value in ticks, will check sql connection at each interval)
+Many small tweaks
Quote from LBStats v0.4:If no name is provided then use command sender's name for lookups
Added even more catches and warning messages for bad commands and exceptions
Changed info command to be uglier but far more stable, saved rewriting a lot of code.
Quote from LBStats v0.3:Added more catches and warning messages for bad commands
Hopefully now schedules sql calls so database lookups should not lag the server
Quote from LBStats v0.2:Added /lbs info <player> to print all information on the player
Tweaked things here and there, fixed typos, etc.
Quote from LBStats v0.1:Created plugin!
@lbb601
I have no idea how hawkeye works but if it uses sql and you can get me the table layout I'll add it.
Hawkeye support :3
@Kirbyflys
I'll add something in the next version which should take care of losing connection.. eta 1-3 days
Yeah, I'm having the same problem like XeonG8.
It was working fine but when I restarted my server it decided to lose connection with the SQL database. I know the SQL is working fine because LogBlock is still working.
Any fixes for this?
@Androkai
As the name suggests, onDisable is only run when the plugin is disabled..
http://pastebin.com/raw.php?i=HndUmg1r
Found a little problem like XeonG8 with mysql. Can´t say if it´s only after some time, testing more tomorrow. What do you mean with "onDisable void", can you describe it a little bit for me so I can understand it with my bad command of English? Do you mean the disabling of the plugin?
-> problems since LogBlock-v1.59 for CB 1.3.2-R0.1 Sep 21, 2012
-> but no changes in database-structure
-> all time using newest CraftBukkit-DevBuilds
@XeonG8
How can I reproduce the problem? I've been running this on our server 24/7 since 0.1 release and I've never noticed this issue. The only code in the plugin that will close the sql connection is within the onDisable void.
I have noticed it seems to lose the mysql connection
Where plugins like logblock work fine, lbs seems to return an error like after sometime of server running...
"Error/Could not find playtime of player <name>"
Just installed this onto my server. It's working great!
Nice Plugin :D Workes Fine
If anyone has a remote (and slow) sql database please test the following:
When you type a command to look up a player's data, does the main server thread lag until the data has been found? Please reply if you can test this.
Love ur Plugin gonna test it out
@Androkai
I will look into it but have not created a plugin with custom messages yet so bear with me :)
Really nice plugin, wait a long time for an alternative to LogBlockStats and now found this. Please add possibility to translate messages and to split playtime-houres into (months,) weeks, days and hours + better format for this like:
Player ... has played for 6 weeks, 5 days, 13 hours, 52 minutes and 40 seconds
Or in German (for my server):
Spieler ... hat eine Spielzeit von 6 Wochen, 5 Tagen, 13 Stunden, 52 Minuten und 40 Sekunden
This would be really helpful. Hopefully it´s a possible wish... :)
Thanks 0.4 update ...previous 0.3 release works well.