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 Mar 27, 2013@zaxome
Well, the queue is currently somewhat messed up. Files taking up to 1,5 days to get through... Mostly because I have test week and such, which will be over tomorrow. That means that tomorrow, I'll kill the rest of the queue, and let some other mod grab the Stats file to review.
-
View User Profile
-
Send Message
Posted Mar 27, 2013@Lolmewn
How long will it take usually?
-
View User Profile
-
Send Message
Posted Mar 27, 2013@Lolmewn
Thanks, Made a ticket :)
-
View User Profile
-
Send Message
Posted Mar 27, 2013v1.14 back in the queue!
-
View User Profile
-
Send Message
Posted Mar 26, 2013@aledrobt
Fixed in 1.14
@Rotzloch
Woops, looks like I forgot something. Will upload fixed version tomorrow, deleting the one in queue for now.
@lewisb98
Not sure, I'll see if I can find out if you create a ticket for it ;)
-
View User Profile
-
Send Message
Posted Mar 26, 2013Hey Lolmewn, great Job on the plugin, it is fantastic!
The only error that i am having, is this spam on startup:
http://pastebin.com/8NRkTvfb
Any ideas on what this is?
Thanks!
-
View User Profile
-
Send Message
Posted Mar 26, 2013I have downloaded your Version 1.14 that is in Approval State. On enable Plugin there is an Error: Null Error on Start
What can i Do?
-
View User Profile
-
Send Message
Posted Mar 26, 2013Hi lolmewn thanks you so much for your work on this plugin, its incredible. I used it a few weeks ago on other server but now I just installed it in my principal server and it is give me a few error, the first and most important is that the plugin doesn't recount good the stats,randomly, the plugin if for example 1 player dig 1 dirt the plugin count 42 (for example) And the other server is that when I put my server is and the port the stats (web) stop working and the status is unknown. My version is spigot 1.4.7 with the query in default port, and the last version of the plug in
Thanks
-
View User Profile
-
Send Message
Posted Mar 25, 2013@Macaroni0301
What's the error?
@rguz10
Broken MySQL table. Google how to fix it.
@zaxome
First issue is weird, could you supply more info on this in the ticket? Info such as other plugins, online-mode, database values etc.
@Willbbz
I'll keep that in mind, looks awesome!
-
View User Profile
-
Send Message
Posted Mar 25, 2013When you're re-write of the WebUI you should add Supermamie's 3D skin render.
I've added to WebStatsX and it looks nice :D
-
View User Profile
-
Send Message
Posted Mar 24, 2013Hi so far the plugin is working really well, except for two thing:
All users are listed as Online (while they are not online), it only works with me but that is because I am OP, when i deop myself, I also stay listed as online. I have scrolled through the recent comments and I've seen that someone else had the same problem, but there was not fix for it yet.
The other problem I have is that I get this message for the server status part:
SERVER STATUS: WARNING: STREAM_SOCKET_CLIENT() [ FUNCTION.STREAM-SOCKET-CLIENT ]: UNABLE TO CONNECT TO TCP:MC.FORTRESSWARS.COM:25565 (CONNECTION REFUSED) IN
I have tried everything, search through forums but nothing is fixing it. I checked the config a million times to find out what's wrong but nothing. I also tried the actual IP adress but that is also not working. Query on my server is enabled and works just fine with other plugins or on websites.
Other than those two issues, thanks for the plugin it's awesome :D
-
View User Profile
-
Send Message
Posted Mar 24, 2013Any clue one this error?
-
View User Profile
-
Send Message
Posted Mar 24, 2013It doesn't seem to be working with bukkit 1.5.1. It just says the usual '(Is it up to date?)'
-
View User Profile
-
Send Message
Posted Mar 24, 2013@Lolmewn
Huh, it's okey. It's not error from your plugin :) My database sucks. I changed it and it's fine now!
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Lubenica998
Please file a ticket for it, supplying the information asked. I can't seem to reproduce this right now.
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Lolmewn
Every time I join the server. I deleted my database, and it's the same :(
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Lubenica998
That's an.. interesting error you got there.
I've googled a bit, seems like there's not really any clue why this is happening. How often does this happen, or did it just occur once?
@Neutronas
Weird. I'll check code and such, but it should work just fine (at least, it does on my testing environment).
-
View User Profile
-
Send Message
Posted Mar 23, 2013Hello, When i joined my server I have got this error in my console: http://pastebin.com/Fwg1JMyZ Stats version: 1.13 Craftbukkit version: 1.5.1-R0.1 (Build #2703) Please help me! Thanks! :)
-
View User Profile
-
Send Message
Posted Mar 23, 2013Survival. By the way server is offline. I think that might be a problem. But still...
-
View User Profile
-
Send Message
Posted Mar 23, 2013@Neutronas
Did they perhaps log in in Survival mode and log out in Creative?