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 Jul 11, 2012@1337minecrafer
no it doesnt and it wont because you cant put 1000 lines on a sign
-
View User Profile
-
Send Message
Posted Jul 10, 2012Does this have (or can it have) some sort of signs showing stats that automatically update? If not I would really like this as players don't have to type any commands to see stats.
-
View User Profile
-
Send Message
Posted Jul 8, 2012ah good to know thx for the info when could i expect that implemented?
-
View User Profile
-
Send Message
Posted Jul 6, 2012@tomomosius
McMmo only offers up events for repairs and xp/lvl that i'd be able to track.
Ideally, the McMmo guys should be the ones who hook into BeardStat, but I should be able to make a bridge plugin that you drop in that passes these stats through.
Edit: further delving reveals I can get the xp and level of each skill. Now, provided they don't derp around the API, I should be able to get all the skills + any future ones easily w/o recoding on each release.
-
View User Profile
-
Send Message
Posted Jul 5, 2012@tomomosius
Yes, there's a bug in grapefruit that makes the debug info for crafting stats show up even if debug is disabled.
-
View User Profile
-
Send Message
Posted Jul 5, 2012this is from stats right? [INFO] ItemStack{WOOD x 4}
-
View User Profile
-
Send Message
Posted Jul 4, 2012can you add mcmmo stats?
-
View User Profile
-
Send Message
Posted Jul 4, 2012Hello,
How i can use a FR date time format :
generally i use
function dateFR( $time ){ setlocale( LC_TIME, "fr" ); return strftime( "%A %d %b %Y" , strtotime( $time ) ); }
How i can implement it easily ?
-
View User Profile
-
Send Message
Posted Jul 3, 2012@furdabip
I should start believing those readme files actually need to be read.
That API seems like a gift, also the huge amount of stats provided from the plugin, I am rly impressed.
-
View User Profile
-
Send Message
Posted Jul 3, 2012@furdabip
Pouring lava/water from a bucket and picking up raw fish. Think that was it.
-
View User Profile
-
Send Message
Posted Jul 3, 2012@nsordk
The API exists to do all this work for you. You can easily do this yourself using it, it's just that it doesn't have a built-in "stat box" thing - that needs to be done by the coder.
As a simple example (again, read the readme for info on the functions) you can do something like;
-
View User Profile
-
Send Message
Posted Jul 3, 2012@vOneShot
You would be looking at doing a call to your database like:
-
View User Profile
-
Send Message
Posted Jul 2, 2012@S74Rshaped
Thanks!
Besides the gunpowder thing, what other errors were in it?
Also, the BeardAch Web API hasn't been a priority to me, sorry. At SOME point I will make it, I can at least promise that.
-
View User Profile
-
Send Message
Posted Jul 2, 2012There were a few errors in format.ini that I have fixed. For example, gunpowder was called 'gunpowder', not 'sulphur' as its recorded in the db. Heres the updated file: http://dl.dropbox.com/u/17715694/format.ini
Whats the state of the achievements web page, on our server we have a web dev, any chance of getting a link for us to try it out?
-
View User Profile
-
Send Message
Posted Jun 30, 2012@vOneShot
In order to customize the display of stats, you'll need to code it yourself. The default layout (index.php) can be read to see how that page is done. You'll need at least some knowledge of PHP, HTML, CSS, maybe even JS to make custom stat displays.
Read the readme.txt file that came with the BeardStat Web API to understand how to use the API properly. The functions you'll need to use are located in the Top Lists Functions category (shortcut: [FUNCTIONS_TOP]), though it is recommended to read the whole thing to better understand how it works. :-)
-
View User Profile
-
Send Message
Posted Jun 30, 2012I gave 0.4.7 Honey beta a spin, and it seems to fix my pesky bug of stats being overwritten in YAML format. I'm very much looking forward to a stable release so I can move forward with my plans! :-)
-
View User Profile
-
Send Message
Posted Jun 30, 2012Looking for a little assistance, I have created the following page, using the file given in the download,
http://www.craftboom.co.uk/forums/index.php?pages/stats/
I was hoping to create some sort of block on the homepage like the server status one on the right hand side, The block I plan to make would display be something like the top 20 slayers.
http://www.craftboom.co.uk/forums/index.php
Any ideas of this would be done?
Dan
-
View User Profile
-
Send Message
Posted Jun 29, 2012@chaser66
Version? Copy of the config? Errors that appear on console?
-
View User Profile
-
Send Message
Posted Jun 29, 2012Hi,
Is there a trick to get it working with mysql? Ever time I restart the server the config file restart to default and never use mysql, I check my DB and nothing is created :S, Anyone can help me?
Thanks in advance.
-
View User Profile
-
Send Message
Posted Jun 25, 2012Hello, great plugin! I was wondering about certain case-sensitive variables/stats. In my BeardStats/stat.yml there is a variable for deaths via wolves but it is in upper case:
Does this have any implication on, say, BeardAch for referencing the stat as a threshold? For example, if you had an achievement that involved getting murdered by wolves:
Does it matter if this reference is also capitalized or not? I'd just like to confirm if this is an error, or perhaps just intentional for entities.
Also, is there an option to completely turn-off all stat-checking/adding while a user is in a certain group? For example, if I switch myself from the usual "player mode" to "editor mode" (by changing groups) I would not have my stats modified while in this group. I've considered doing this with permissions, and simply denying that users in the editor group have access to the BeardStat permission that allows having stats added (something you might also have for Guests) - the only problem is that I can't find these permissions! Do they exist and I'm being ignorant, or should I consider this a suggestion? x) (Perhaps a section in the BeardStat config file smiliar to the "worlds" section, for example, but instead of listing exempt worlds it lists exempt groups.)
(I had a couple of questions for you regarding BeardAch as well, so I moved them to that suggestion board.)
Thank you. =]