BeardStat

BeardStat is statistics tracking plugin for bukkit. It tracks a wide variety of user statistics and makes them available to your playerbase and plugins.
Recorded stats
- last Login and logout time
- Total playtime
- block placement and breaking (including sub/metadata blocks like wool, logs etc)
- Items picked up/dropped
- Damage dealt and recieved
- Kills and deaths
- Food consumed
- Sheep sheared and dyed
- TNT detonated
- Distance travelled on foot/boat/cart/horse/pig
- Items crafted
- Animals tamed
- Teleports
- Fishing
Web interface (under development)
BeardStat also comes with a web interface for stats, this allows players to view their own and friends stats on your servers website. the Web interface also includes a scoreboard system to rank players based on various statistics (playtime, creepers killed)
Commands
Stats are recorded per world, and you can blacklist worlds/gamemodes from tracking. BeardStat also has a number of commands: * /stats - access to all stats information * /played - shows a players playyime. * /laston - Returns the last time the player was on * /statpage - Allows showing a selection of player stats, useful with Bukkit's command aliasing
Dev builds
Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
(Please note, zips in dev builds currently contain a broken implementation of the web interface, please instead download the .jar file instead. The web interface available on the right of this page) Development builds fresh from Jenkins
Issues
BeardStat has an issue tracker on github, https://github.com/tehbeard/beardstat/issues.
For error reports please include the following: * full stacktrace of the error * plugin version (inc. build number if using one from CI) * Bukkit version * Database type used (SQLite / MySQL)
Plugin integration
BeardStat provides a rich API for plugin developers to hook into BeardStat and read / record statistics.
For Developers
BeardStat stats are identifiable by a unique Id generated from 4 sub components: * Domain * World * Category * Statistic
Domain is the primary namespace for a collection of stats, the "default" domain is used by BeardStat, I ask that you use your own unique domain for your plugin (i.e. if you make a PvP arena plugin, you could use the domain "pvparena").
World represents the world in which this stat was recorded, these are for the most part the name of the world.
Two special cases exist however. "__global__" is a reserved world name, meant for stats that do not pertain to a world. The second case is "__imported__", this is a reserved world for stats that have been imported from an older version of BeardStat before per world storage was implemented.
While not intended, you can use the world id for a unique area that is not a whole world (Going back to our pvp arena example, you could use the arena names instead, such as old_forge, broken_bow instead of a world name)
Current plugins that are known to integrate BeardStat: * BeardAch - Achievements plugin * SimpleSpleef Evolution
Metrics
BeardStat includes the plugin metrics code developed by Hidendra (author of LWC), which collects anonymous information about the plugins deployment (minecraft, server, plugin version, assumed server location at country level and database type used by BeardStat, aggregated into graph form.) More information on this system, including how to disable it can be found here
-
View User Profile
-
Send Message
Posted Jan 9, 2013I'm very excited about this plugin, I hope the update gets released soon ^_^
-
View User Profile
-
Send Message
Posted Jan 9, 2013@Tehbeard
I Cant find the download link for new 1.4.6 version..
"Hope to have a beta out today"
-
View User Profile
-
Send Message
Posted Jan 8, 2013This is exactly the kind of plugin I was looking for. I will wait and keep and eye out for your beta!
-
View User Profile
-
Send Message
Posted Jan 8, 2013@Bl0c
Hopefully. Stats are loaded async in the new version. What should happen is that when an event triggers a stat to be updated, it gets queued if the stat is still being loaded and is executed the moment it loads.
-
View User Profile
-
Send Message
Posted Jan 8, 2013@rudolf323 You can kick afk :-)
@Tehbeard The beta with my bug fix ?
-
View User Profile
-
Send Message
Posted Jan 8, 2013@rudolf323
Hope to have a beta out today, but work will be slow next few weeks due to exams @rudolf323
There's no real standard way to detect AFK players / hook into an afk API.
-
View User Profile
-
Send Message
Posted Jan 8, 2013@rudolf323
When player is AFK,playtime is still counting..
-
View User Profile
-
Send Message
Posted Jan 8, 2013Please Update
-
View User Profile
-
Send Message
Posted Dec 25, 2012How do I edit the stats? Or reset?
-
View User Profile
-
Send Message
Posted Dec 19, 2012@Bl0c
Working on a version that loads from the database async, should prevent lockup when a player joins.
-
View User Profile
-
Send Message
Posted Dec 16, 2012you want this ? http://hpics.li/f37c466
-
View User Profile
-
Send Message
Posted Dec 15, 2012@Bl0c
ok, can you run:
SHOW CREATE TABLE stats;
inside the database you set up for beardstat, this will print out the table schema. put the results here.
It might be that an index is not setup correctly, so it's running slowly when accessing the database.
-
View User Profile
-
Send Message
Posted Dec 15, 2012It has 333,133 entry
-
View User Profile
-
Send Message
Posted Dec 15, 2012@Bl0c
How many rows does the stats table have?
-
View User Profile
-
Send Message
Posted Dec 15, 2012Not sorry, I am wrong, the database is on the same server
-
View User Profile
-
Send Message
Posted Dec 15, 2012Yes he is on a separate Machine Does it possibly have a low timeout value, forcing BeardStat to reconnect? I don't know sorry
-
View User Profile
-
Send Message
Posted Dec 15, 2012@Bl0c After discussion on irc, the issue is with the connection to the database (hence the 3 seconds of lockup on player join). Is the mysql server on a separate machine? Does it possibly have a low timeout value, forcing BeardStat to reconnect?
-
View User Profile
-
Send Message
Posted Dec 15, 2012Time: 564617578614 here I do not know what is the value
But here: Total time 588911219131 (588s) This is the second (this is the total time delay to cause the plugin) To compare, to talk about 30s essentials I'm mysql version, but also in 1.4.5 (ca would be there ...) Bukkit take a long time to get the official version. For the number of people, it starts to bug has 10 people.
-
View User Profile
-
Send Message
Posted Dec 14, 2012@Bl0c
What are those numbers for each event. seconds? Milliseconds? Potatos?
Which database type are you configured to access? flat file? SQL?
Also Bukkit version, number of players online?
-
View User Profile
-
Send Message
Posted Dec 14, 2012I get big lag on my server, and I discovered that it was because of your plugin. Please do something With this order /timings merged, i get : http://pastebin.com/XP2vzJZR