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 22, 2013Stats signs work for deaths and playtime but I can't make kills work. ;(
-
View User Profile
-
Send Message
Posted Oct 22, 2013@devil7992
Heh, weird. Glad you got it fixed though.
-
View User Profile
-
Send Message
Posted Oct 22, 2013Works great at first but when i reload the plugin, or restart the server I get all kinds of errors. If you have skype or something that would make chatting easier other than IRC since it doesn't seem to want to load that'd help a lot.
Skype: Devil7992
Im running 1.5.2 which your latest build is supposedly alright to run with.
Edit Got it working, the issue was it was still updating itself even though i set it so it wasnt supposed to.
-
View User Profile
-
Send Message
Posted Oct 22, 2013@GPlayer93
Uuh, I can check if a player with that name already exists I guess. Could you make a ticket please?
-
View User Profile
-
Send Message
Posted Oct 22, 2013i got a little problem with votifier:
when someone votes and picks a username wich was never online before for example:
- we got some kiddies wich used vote to curse on the server
- your plugin makes a new player entry with the curse name
is there something i can do?
-
View User Profile
-
Send Message
Posted Oct 21, 2013@bzyg7b
That's weird. Does it say it has data when you do /stats debug me ?
-
View User Profile
-
Send Message
Posted Oct 21, 2013On my 1.5.2 server with the stats plugin the death counter or exp gained is not working but all the other counters are any ideas why this is?
-
View User Profile
-
Send Message
Posted Oct 20, 2013Thanks everyone, for the 100,000 downloads!
-
View User Profile
-
Send Message
Posted Oct 20, 2013@Majos1
Please make a ticket instead.
@Pippiter69
If the creator of that Claymore plugin would hook into Stats, sure!
-
View User Profile
-
Send Message
Posted Oct 20, 2013Lets say I had a plugin that added claymores. Would I be able to have claymore kills as a stat?
-
View User Profile
-
Send Message
Posted Oct 20, 2013Please add all the mising blocks in the Webend
-
View User Profile
-
Send Message
Posted Oct 20, 2013[SEVERE] Exception in thread "pool-1-thread-286" 13:14:05 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin Stats v1.36 -69 generated an exception while executing task 150659
I have this error in stats pl.
And sometimes i have one error... Something with" [SEVERE] Could not pass event EntityDamageByBlockEvent to Stats v1.36-6 "or something like this...
Server run on v 1.5.2 R1.1 (last update on 1.5.2)
-
View User Profile
-
Send Message
Posted Oct 19, 2013@AnimalUKCraft
What version of Stats/Highscores?
-
View User Profile
-
Send Message
Posted Oct 19, 2013This worked until recently but now I get the following error repeating every few seconds and taking up all the ram. I am unsure if its Stats passing or Highscores accepting.
10:14:59 CONSOLE: java.lang.NoSuchMethodError: nl.lolmewn.stats.api.StatUpdateEvent.getUpdateValue()J
10:15:00 CONSOLE: [SEVERE] Could not pass event StatUpdateEvent to Highscores vjenkins-Highscores-65
-
View User Profile
-
Send Message
Posted Oct 18, 2013the command:*" /stats rest"* not working, i need to se:*" /lolmewnstats reset" *instead to reset my stats, but its doesnt reset stats on the sql...:(
-
View User Profile
-
Send Message
Posted Oct 18, 2013@TimHentke
It should either be 'block break' or 'block place'. I think I had this on my own server too, so I'm gonna have to fix that later.
-
View User Profile
-
Send Message
Posted Oct 18, 2013Hello,
I need some help.
On my server, I have the stats-plugin installed. But since the last update, I can't create stats signs with "blocks broken" and "blocks placed" anymore. Also the two signs with the types "blocks broken" and "blocks placed", which already were on my stats wall and worked properly, are now showing an error message, and not the stats anymore. Did you changed the values/function names of the types for the second line? When I create the sign, it disappears and the stats plugin says, that the sign type is not recognized. What I'm doing wrong?
Regards, Tim.
(Sorry if my English is not very good)
-
View User Profile
-
Send Message
Posted Oct 17, 2013@me91687
Please file a bug report.
-
View User Profile
-
Send Message
Posted Oct 16, 2013Having a problem when resetting players stats by concole. I do stats reset playersname and it says player is offline everytime. Even when players are online. Help plz.
-
View User Profile
-
Send Message
Posted Oct 15, 2013@KelvinKam
Yep. I guess you could add one yourself if you wanted to. As for eggs thrown, this is not a beta function and should work.