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 Sep 18, 2013@mmuziek
Tnx mmuziek, will tweak config.
-
View User Profile
-
Send Message
Posted Sep 18, 2013hi,
is there a way to exclude all NPCs from the stats plugin?
-
View User Profile
-
Send Message
Posted Sep 18, 2013@Sharkykzn the first error. is because of the updater seeing the next update with -DEV in the name. this is no problem and i think its solved the name changed today the second error is because you are using the example config. changing the disabled stats from - statname1 to [ ] will fix this
-
View User Profile
-
Send Message
Posted Sep 18, 2013I get the following error appearing in the server console:
http://pastebin.com/e4Zaty7C
Also get the following when plugin is loaded:
2013-09-18 16:35:20 [INFO] [Stats] Enabling Stats vjenkins-Stats-409 2013-09-18 16:35:20 [WARNING] [Stats] Couldn't disable Stat StatName1, no StatType found for this string. 2013-09-18 16:35:20 [INFO] [Stats] Version jenkins-Stats-409 aka 1.29 enabled!
-
View User Profile
-
Send Message
Posted Sep 18, 2013The thing is that I am not using the dev version I am using this other 2: R: Stats v1.29 for 1.6.1 Jun 20, 2013 R: Stats v1.28 for 1.5.2 Jun 11, 2013
And the problem is the same in both of them
-
View User Profile
-
Send Message
Posted Sep 18, 2013@mmuziek
Yep. And I really don't want everyone to auto-update to 1.30, since it's in alpha.
-
View User Profile
-
Send Message
Posted Sep 18, 2013@elpedriyo
if iam correct and i followed the comments. this error is due to the fact he uses -DEV in the release name and the updater doesnt like that
-
View User Profile
-
Send Message
Posted Sep 18, 2013Could it be that breaked and minded blocks aren't logged at the moment?
my statspage is find but i can't see my block statistics and the table Stats_Blocks is empty
-
View User Profile
-
Send Message
Posted Sep 17, 2013Why am I receiving this error: 2013-09-17 21:32:55 [SEVERE] Exception in thread "pool-1-thread-12" 2013-09-17 21:32:55 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin Stats vjenkins-Stats-373 generated an exception while executing task 40 at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NumberFormatException: For input string: "1.30-DEV" at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) at java.lang.Double.parseDouble(Unknown Source) at nl.lolmewn.stats.Updater.versionCheck(Updater.java:493) at nl.lolmewn.stats.Updater.<init>(Updater.java:206) at nl.lolmewn.stats.Main$4.run(Main.java:718) at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
-
View User Profile
-
Send Message
Posted Sep 15, 2013@Lolmewn
After I did this i no longer got the disable message in the console but now it just says [WARNING] Read timed out after a little while it will finally start up but i still can't use the ingame command.
Any help here?
-
View User Profile
-
Send Message
Posted Sep 15, 2013Hey, getting this error pop up every now and again. It seems to be random, but I can't ask 50 people what they were doing at that specific point...
http://pastebin.com/K3sctKYU
PS: It's not much of a hassle, but with Stats installed, the TPS drops 0.1. Instead of 20 TPS constant, it's a constant 19.901.
-
View User Profile
-
Send Message
Posted Sep 15, 2013@BossViking21
Yes, yes you do.
-
View User Profile
-
Send Message
Posted Sep 15, 2013Do u need to do your mysql password? I cant reset it because its not my computer.
-
View User Profile
-
Send Message
Posted Sep 15, 2013@BossViking21
It's your database, you should have set it up and know the password ;) Try looking up some MySQL tutorials on the internet.
-
View User Profile
-
Send Message
Posted Sep 14, 2013How do u find out what your database password is?
-
View User Profile
-
Send Message
Posted Sep 14, 2013@eliburton
Instead of removing the node, set it to [] This means an empty array. It shouldn't become unresponsive, that doesn't make sense to me.
-
View User Profile
-
Send Message
Posted Sep 13, 2013I get this error on startup and then the server becomes unresponsive
[WARNING] [Stats] Couldn't disable Stat StatName1, no StatType found for this string.
I went into the config and I see it there. I haven't messed with it, but when I try to delete it and restart the server it ends up back in the config like it was never changed. Is there a way to fix or get around this?
If this helps the server is in offline mode, only because its running on a bungee cord proxy system and is required to be in offline mode to work properly with bungee cord.
-
View User Profile
-
Send Message
Posted Sep 13, 2013@JRsz
First error is nothing to worry about. Just the auto-updater not liking -DEV in version title of 1.30-DEV alpha file.
Second report might actually be fixed already. Not too sure, I'll check it out.
-
View User Profile
-
Send Message
Posted Sep 13, 2013Hi,
I am getting some strange reports out of my console.
i never got them before and I can not really use them, but maybe they help you or tell you, what is wrong or if and where is a bug. I am using v_1.29 btw.
I am getting these two reports:
http://pastebin.com/ftpaem5f
http://pastebin.com/XysxKEbM
The second error was at a time, when I died from a pvp fight with BattleAren I think :P
I hope you can use these bith reports. If you need any more information i will try to provide them for you as good as I can :)
John
-
View User Profile
-
Send Message
Posted Sep 13, 2013@SojournTV
Lag issues? I've threaded it all, there's no need to worry about lag. It's all off the main thread.
And no. It's not possible.