Stats by Lolmewn
Stats - made by Lolmewn
Plugin description
Stats is an advanced statistics gathering plugin, currently focused on player statistics. Information such as PVP kills, blocks broken, playtime and much more. You can store this data as simple files, or store them in a MySQL database. The benefit of using the database is that you can also use any web-end out there to display your players' statistics on your website.
Installation instructions
To install the plugin, simply drag-and-drop the Stats.jar into your 'plugins' folder.
When you start the server, a "Stats" folder will be created, containing a config file.
For a detailed description on the config file, click here.
The most important option is "storage", which can be set to either "flatfile" or "mysql" by default.
If you choose MySQL, there is another file (mysql.yml). Fill in your MySQL details there. That's all!
If you're installing a web-end as well, please read the instructions for said web-end on how to install it.
A list of web-ends compatible with Stats 3:
Made one, too? Let me know!
List of available Stats
This is a list of all available stats. Please note that there might be more stats in your environment, as other plugins can add their own stats to the plugin. For those stats, please see the documentation of the plugin providing them.
| Stat name | Description | Available Metadata |
| Arrows | Amount of arrows shot (not hit!) | world |
| Beds entered | Self-explanatory | world |
| Blocks broken | Self-explanatory | world, name, data (see here for more info) |
| Blocks placed | Self-explanatory | world, name, data (see here for more info) |
| Buckets emptied | Self-explanatory | world |
| Buckets filled | Self-explanatory | world |
| Commands done | Amount of commands done | world |
| Damage taken | Self-explanatory | world, cause |
| Death | Amount of times died | world, cause |
| Eggs thrown | Self-explanatory | world |
| Fish caught | Self-explanatory | world |
| Items crafted | Self-explanatory | world, name |
| Items dropped | Self-explanatory | world, name |
| Items picked up | Self-explanatory | world, name |
| Joins | Amount of times joined the server | None |
| Kill | Amount of kills gotten | world, (name of) weapon, entityType |
| Last join | Last time (in milliseconds epoch time) joined the server | world |
| Last seen | Last time (in milliseconds epoch time) left the server | world |
| Money | Not yet functional | world |
| Move | Amount of blocks moved | world, type (0 = walking, 1 = boat, 2 = minecart, 3 = pig, 4 = on a pig in a minecart, 5 = horse, 6 = flying) |
| Omnomnom | Amount of food eaten | world |
| PVP | PVP kills gotten | world, victim (UUID of the other player), time (in milliseconds epoch time), (name of) weapon |
| PVP streak | Current kill-chain, gets reset when killed | world |
| PVP top streak | Highest PVP streak ever achieved - may be moved to Highscores in the future | world |
| Playtime | Time in seconds played on the server | world |
| Shears | Amount of sheeps sheared | world |
| Teleports | Amount of times teleported | world |
| Times kicked | Self-explanatory | world |
| Tools broken | Self-explanatory | world, name |
| Trades | Amount of times traded with a villager | world |
| Votes | Removed since 3.1.1-RC due to incompatibility. If the player name is not found, the vote is ignored | None |
| Words said | Amount of words said | world |
| Times changed world | Self-explanatory | None |
| Xp gained | Amount of XP gained in total | world |
Permissions
Some commands require special permissions to be executed. Here is a list with all permission nodes:
| Node | Default value | Description |
| stats.view | true | Access to /stats |
| stats.view.others | true | Access to /stats <player> |
| stats.custom | op | Gives access to nodes stats.add and stats.create |
| stats.add | op | Access to /stats add |
| stats.create | op | Access to /stats create |
| stats.admin | op | Access to /stats admin |
| stats.reset | op | Gives access to nodes stats.reset.self and stats.reset.others |
| stats.reset.all | op | Access to /stats reset all |
| stats.set | op | Access to /stats set |
| stats.sign.place | op | Can create [Stats] signs |
More info soon
Donations
If you feel like giving something back to me, you can donate to me. All income from donations will be spent on coffee or similar.
I'm accepting donations through:
- Bitcoins on address 1QC19kut8nuMJNAsMZ3QneKuW2a8f5QgQG
- Dogecoins on address DKN8Lrm4KfC7Jh9M2KopjPkwcRfA7Ak3zj
- Paypal, either via email lolmewn(at)gmail.com or via this link
-
View User Profile
-
Send Message
Posted Oct 7, 2014@Lolmewn
Coolbeans, Nearly completed a ball'n PVP page, Looking good. I should really keep notes of all my changes, Maybe I should create a git, Zachary still hasn't replied to anything ive written, so Im going to have to make this my own separate project, Thinking about calling it something simple "Minecraft web stats" then its not tied to any specific project. Please can you released a bug-fix for all the latest bugs.
-
View User Profile
-
Send Message
Posted Oct 2, 2014@GodsDead
Source of the "new" html stuff can be found here: https://bitbucket.org/AccountProductions/fluid-mc-stats-html
@Marco305
Yep, there you go :) It actually uses statData.getVariables() and loops over those.
-
View User Profile
-
Send Message
Posted Sep 29, 2014A question about the API. How to set the vars in getValue(new Object[]{...}) for "block place" if I want to count the total blocks placed?
-SOLVED- I found the getTotalBlocks method looking into the autorank statsapi code :D
-
View User Profile
-
Send Message
Posted Sep 29, 2014@Zachary_DuBois
Hey Zachary, Hand the Web UI over to me for now, I am updating, fixing and adding features, I was planning on releasing the edits I have made anyway, I have a few more things I want to complete before I throw it to the public, since my codes a bloody mess at present and a few more features I want to add and iron out. You use bitbucket right? Im frozenbeard on there, I should be watching the project. Im brand spanking new to git so im not sure the best way to send my version out to the wild, I was just going to create a new project since ive never been a fan of the name.
-
View User Profile
-
Send Message
Posted Sep 28, 2014Does this plugin also have Webstats like Ban-Mananger?
-
View User Profile
-
Send Message
Posted Sep 27, 2014@TNTUP
Stats is already good to go for name changes as it uses UUID's. No problems there ;) If your server doesn't support UUID's, you can still get the latest dev-build as that actually supports both.
-
View User Profile
-
Send Message
Posted Sep 27, 2014Well then, seeing out comments I guess, gonna be forced to stop using this plugin due to namechanging, but atm its not available. Understandable that working on a ded server implementation isn't worth I guess, but @lolmewn thanks for this awesome plugin, already recorded 4.1K of unique players, sadly I guess I can't continue it when namechanging comes available (idk when, so good thing that isn't available!) to prevent db crap... 1.7.10 FTW forever
-
View User Profile
-
Send Message
Posted Sep 26, 2014To those of you that say Bukkit is still alive. That is false. They have been shutdown for illegal reasons of their recent DMCA (Hence that nice HTTP 431 when you try to download Bukkit). I will not support a platform that is engaged in the illegal activities of plagiarized code and/or violation of licenses. I am tired of the crap everyone is giving a free project that Lolmewn and I have worked on in our own time. To be honest, it was going to get an update but, I have been bogged down with school, work, and my at home life. I've been so bogged down it has been taking me a day to respond to IRC when Lolmewn is talking to me.
This project was free, you have no right to complain unless it is helpful criticism and you are willing to help out. Heck. I am still providing support of the project after I said I wasn't going to be. You are entitled to give me feedback about what you want to see in it and if I like the idea or majority has asked for it, I will most likely add it because that is constructive feedback. People saying "This project sucks" is just unhelpful and makes me want to abandon the web interface.
EDIT: This is my last response on this matter. If you seriously want to discuss it with me more, feel free to email me with [me <at> zacharydubois.me].
-
View User Profile
-
Send Message
Posted Sep 26, 2014@GodsDead
Superb news! Make sure you have a paypal button so we can give you money for beer and porn.. i mean pizza ;) lol
-
View User Profile
-
Send Message
Posted Sep 24, 2014@Lolmewn
Superb, well the last few days in my spare time I've been making amendments and fixing problems. As soon as I am at a standard where I'm happy with the Web stats UI, ill release it to the public. My Todo list is very long though, and I need to remove all the hardcoding and use config settings instead :)
-
View User Profile
-
Send Message
Posted Sep 24, 2014@Hockeymikey
Yep! :)
-
View User Profile
-
Send Message
Posted Sep 23, 2014@Lolmewn
Uni as in University?
-
View User Profile
-
Send Message
Posted Sep 23, 2014@GodsDead
I will, if I find the time. Right now, uni is killing me.
-
View User Profile
-
Send Message
Posted Sep 23, 2014@Lolmewn
Please can you fix the bugs in the Stats plugin, This is what's going to happen, everyone is using Spigot 1.7.10 because this allowed 1.8 clients to connect, this means that Bukkit is still stable and will be for a very long time, All server owners are running this build, please focus time on ironing out bugs, I have reported a few in the last few months that I would love to get fixed. As for the Web UI if Zachary is throwing in the towel, I will have to release my heavily edited version to the public so that there is something for people to use, Its not ready to go as I have lots of hardcoded settings I use specifically for my server.
Im in the process of creating a PVP page as we speak, and am not going to stop development. If you want something done, Do it yourself!
-
View User Profile
-
Send Message
Posted Sep 23, 2014@krustymk
Can you blame me for not wanting to work on a project for a dead server implementation?
Ps: it hasn't been 4 months, just 2 1/2 weeks which is pretty much when Bukkit died off.
I'm not making any promises at all and have no idea what you're talking about.
As for ever getting a job, they wouldn't care a single bit. I worked hard on it for free, just imagine how I would work if there was compensation.
-
View User Profile
-
Send Message
Posted Sep 22, 2014@Lolmewn
Lets be honest, you and Zach are gonna do exactly the same as you have been for the last 4+ months
Nothing but string Admins along on false promises
Ive seen your post on the sponge forum committing to converting stats and several other plugins (but not some lesser known plugins).(re your sig)
little heads up, if you are ever looking for a job in any field, id make damn sure they dont see this plugin thread! Being an employer, its results that matter not excuses
-
View User Profile
-
Send Message
Posted Sep 22, 2014To come back to the question why "mcstats.nl" is now pointing to a parking website; Apparently my hosting company received payment one day too late. By then, apparently, the website was already taken (or something) by someone else (sigh). I ain't getting it back unless I buy it back, and that's something I'm not going to do. I'll probably dump global stats at globalstats.lolmewn.nl or something when I get around to it.
-
View User Profile
-
Send Message
Posted Sep 21, 2014@Zachary_DuBois
Being a web end and with huskbukkit and sponge round the corner I fail to see how the bukkit situation makes even the slightest difference.
this news should have been posted 4 months ago so someone else could have picked up the plugin.. but I guess you got someone else to blame now.
Harsh maybe but when plugin authors are honest and update in a timely fashion I always donate and would have here.
-
View User Profile
-
Send Message
Posted Sep 20, 2014--- SIDE NOTE ---
(From the forums)
Fluid MC Stats v0.2 will not be worked on until the Bukkit issues passover. Otherwise, it is not worth me working on this project.
-
View User Profile
-
Send Message
Posted Sep 20, 2014Is there a way I can disable world-specific stats, and have the /stats across the whole server and all worlds?