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 Nov 9, 2014I know you can do this in reverse but is there a way to sync Stats to AR's playtime? We have had Autorank a bit longer? Regardless thanks for the plugin :)
-
View User Profile
-
Send Message
Posted Nov 9, 2014@GodsDead
I want to buy you a beer! Im patiently eager!! :)
1.8 craftbukkit and spiggot are in final testing just to make things that little bit more exciting (im to old to be acting this young lmao)
-
View User Profile
-
Send Message
Posted Nov 8, 2014@Absentee23
And I tell you: It's not dead. With my modifications and the following PRs I don't had any problems with Zachary.
-
View User Profile
-
Send Message
Posted Nov 6, 2014@GodsDead
I think this list should help: http://minecraft.gamepedia.com/Data_values
Not sure if they actually all have data-values in Stats, I ignore some too (You can find them here: https://bitbucket.org/Lolmewn/stats/src/52410a40c8e3259e592f96697d36824f5784d25a/src/main/java/nl/lolmewn/stats/EventListener.java?at=master#cl-681 ) The ID's listed don't have their data-values stored.
-
View User Profile
-
Send Message
Posted Nov 6, 2014@Lolmewn
Awesome, Didn't even consider orientation & size (crops). I guess this will be trial and error, is there a page on the Wiki of all effected blocks? I think I'll have to skip this for the first release of the Web UI and put it on the list of To-do's as there is a lot of other basics still need building, but im coming along, I spent a few hours today and yesterday working on a better profile page for players.
-
View User Profile
-
Send Message
Posted Nov 6, 2014@GodsDead
Sometimes minecraft uses the blockData for orientation-related stuff. This means that, for example, a torch with blockData 1 points south, 2 west, 3 north etc. (Please note: Just an example, no idea if they actually point in that direction). Same with crops, it's the size they are. Afaik, 7 is fully grown.
With most of the special blocks you don't have to do anything so you can just take the sum of them - for some it's interesting though, like block ID 18 which is leaves from a tree, and 126 which is half-slabs.
-
View User Profile
-
Send Message
Posted Nov 5, 2014@Lolmewn
Im displaying blocks broken & placed on the web UI for a player profiles, you have the Block Data stored in Stats_block > blockData. Now, im assuming this is the data-type for the block, so we know which type of wood or wool has been broken or placed, the problem is, some blocks are showing higher numbers in the blockData than ones that exist, for example I have Blocks broken > Wheat Crops (block ID 57) with the data value 7, What does this represent? Another example, I have block ID 18 broken, with blockData 8, ID 126 placed with blockData 8. This is only for some blocks, most show 0.
I was going to display the block ID & blockData next to each other to create the real-world blocks and create names & images from those, but I hit this snag not knowing why this data is different from existing blocks.
-
View User Profile
-
Send Message
Posted Nov 5, 2014@Absentee23 @Absentee23 @TNTUP
Read the comments I have a brand new web UI coming soon, I have taken over the development of the Web UI. There is still a lot more I need to do before I release it to the public, I might release an alpha test version soon to those that are very impatient, but it would only cause me pain of people asking for things that I have planned to add, change or adapt already.
-
View User Profile
-
Send Message
Posted Nov 4, 2014@TNTUP
What is taking too long? Zachary has said FluidMCStats is no longer in development after 6 months of "it's coming" while he just diddled with the HTML side and a stupid authenticator to make sure people didn't remove his copyright message that links to his BROKEN website. It hasn't seen a commit since August. I almost forked the project to add in all my improvements, but Zachary's attitude dissuaded me from that. Why would I want to contribute to a project where the person that started it has this attitude like "I OWN it, it's MINE, but please GIVE me your improvements so I can slap my copyright on them, alongside all the FREE open-source software I'm using to make MY code work!"
Anyway TNTUP, unfortunately if you don't want to learn to customize it yourself as I and others have, then you'll have to hire a web designer to modify it for you, because FluidMCStats is dead. The Stats PLUGIN however, is alive and well. Lolmewn's work on this has been great and Stats 2.0 is working fine, so theres no point in dumping the plugin and all your stats. Thats more work than learning/paying someone to customize the webend, because you're right, 0.1.4 is disgusting in it's default form lol.
-
View User Profile
-
Send Message
Posted Nov 3, 2014This is taking too long, still on Stats 1.37-QF and namechanging is coming soon and it gonna break my current Stats database with 4.4k of recorded player stats if it becomes available.
Its fine, I tried Stats 2, but I haven't tried it again (I bet the per-world statistics is configurable to global stats in all worlds) and the fluid mcstats.... sorry for my language but it sucks. Wish that continued WebStatsX, but the heck I can't code so... =/
I don't want to start over if I use another stats plugin or update and using that *censored* stats webpage >.<
-
View User Profile
-
Send Message
Posted Nov 3, 2014@lippoliv
Yes, it is. You can, however, grab the latest DEV-build from my CI which does actually provide support for 1.7.2.
-
View User Profile
-
Send Message
Posted Nov 3, 2014@Lolmewn
THANKS für the reply :) Just one question: 2.0.0 is for 1.7.9, my Server currently runs on 1.7.2, is it an Problem?
-
View User Profile
-
Send Message
Posted Nov 3, 2014@lippoliv
It'll automatically convert all the data to the new database layout. You don't even have to do anything :) I suggest you do make a backup though, just in case.
-
View User Profile
-
Send Message
Posted Nov 3, 2014Hey there, currently I'am running Stats 1.37 since january 2014. Also I use WEBStatsX as Web-Interface.
Now it would be really nice to upgrade to Stats 2.0.0 and, as it seems, to Fluid MC Stats 0.1.4.
Will Stats 2.0.0 migrate the old tracked Data or will I lose all the traked stats?
Regards lippoliv
-
View User Profile
-
Send Message
Posted Nov 1, 2014@grrocks
this one http://dev.bukkit.org/bukkit-plugins/ib-reborn/
-
View User Profile
-
Send Message
Posted Oct 31, 2014Any working Scoreboard plugin for this?
-
View User Profile
-
Send Message
Posted Oct 25, 2014Can you please add the possibility to configure multi servers (network) linked in the web part of the plugin, instead of making one "site" for every server? It will be great. If you didn't understand what I mean, I'd like not one but multiple servers in one page (like BanManager does). Thanks in advance.
-
View User Profile
-
Send Message
Posted Oct 25, 2014@Absentee23
Agreed. I'm working on a new StatsAPI as we speak, so when that's becoming awesome I'll be adding the implementation for the server-mods (Bukkit/Sponge/etc). After that it's gonna be pretty simple to upgrade Highscores and Achievements and possibly add super awesome new features that I've been wanting to add since I started developing those plugins.
@catprowler
Well, if you are looking for a sort of 'top' list, that can be found in my Highscores plugin :)
-
View User Profile
-
Send Message
Posted Oct 25, 2014Hi there, I was wondering if there was a command to just get 1 particular stat from a player? Like "stats kill playername". Or if there was a way to add this to your plugin? I have a website and I would like to give points to players based on the different single stats, but it needs a command to make it work? Just curious. Thank you :D
-
View User Profile
-
Send Message
Posted Oct 24, 2014@Lolmewn
It'd be ideal if this was implemented in your Highscores plugin ;)
:p