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 14, 2013The Web_end v1.2 missing /img/entities/Fall.png
In addition, does the eggs thrown is beta function?
-
View User Profile
-
Send Message
Posted Oct 14, 2013@mmuziek
Go to files, see for yourself ;)
-
View User Profile
-
Send Message
Posted Oct 14, 2013does the latest build works on 1.6.2 ? or only 1.6.4 ?
-
View User Profile
-
Send Message
Posted Oct 13, 2013@KelvinKam
Awesome, good to hear. Releasing (yet another) update tomorrow, probably.
-
View User Profile
-
Send Message
Posted Oct 13, 2013@Lolmewn
The plugin running without errors now, thank you very much~ Keep going :D
-
View User Profile
-
Send Message
Posted Oct 13, 2013@JRsz
NPCs should now be ignored, as of build #65.
-
View User Profile
-
Send Message
Posted Oct 13, 2013haha, the little things, had the Issue with a "S" and a "s" the whole pluginw asnt working.
This citizens based NPC Trader plugin:
http://dev.bukkit.org/bukkit-plugins/dtltraders/
-
View User Profile
-
Send Message
Posted Oct 13, 2013@JRsz
What is that NPC plugin? I can add exceptions.
Also, blocks issue fixed now. A comma was missing...
@KelvinKam
Startup fixed. The other thingies should also get fixed because of that.
-
View User Profile
-
Send Message
Posted Oct 13, 2013@JRsz
Did you set the stats.track permission already?
-
View User Profile
-
Send Message
Posted Oct 13, 2013@Lolmewn
My setting: useBetaFunctions: false
Do I want to set it to true?
Everytime the server startup (Enabling Plugin): http://pastebin.com/VyX4WnYg
After Done: http://pastebin.com/XCiVknAb
When Player Login: http://pastebin.com/EhfKAUUW
-
View User Profile
-
Send Message
Posted Oct 13, 2013hm :( build 63 still does not work, or better it has a new issue
http://pastebin.com/KcwFFg8V
I have some npcs from a citizens character. They are listed in the stats plugin but they have all 0 playtime. My question is wether there is a way to exclude those ones who have constantly 0 playtime and they are always online... (Not the best description, but I hope you get it :D )
-
View User Profile
-
Send Message
Posted Oct 13, 2013@JRsz
What 0 playtime issue :S
@KelvinKam
Using beta functions? Need more info please. Blocks table has already been fixed.
-
View User Profile
-
Send Message
Posted Oct 13, 2013Please fix it, thanks :D
-
View User Profile
-
Send Message
Posted Oct 13, 2013ok, great, got some additional reputation :) What about the 0 playtime issue?
-
View User Profile
-
Send Message
Posted Oct 13, 2013@JRsz
Alrighty. I'm probably also going to add a check something that checks if the exception says something like "column missing", if so, regen the table.
-
View User Profile
-
Send Message
Posted Oct 13, 2013@Lolmewn
awesome, thank you a lot (I use Heidisql and am going to delete them in this way)
Thanks :)
-
View User Profile
-
Send Message
Posted Oct 13, 2013@JRsz
Fixed in latest dev-build, releasing tonight. You're going to have to delete the Blocks table. You can do this by using DROP TABLE Stats_block; in a MySQL console.
-
View User Profile
-
Send Message
Posted Oct 13, 2013great, thanks :)
Do I have to delete all mysql files? I have nothing in them yet, so it would be no problem at all ^^
When will the new version available?
-
View User Profile
-
Send Message
Posted Oct 13, 2013@JRsz
Found the issue, fixed. Releasing when I fix the issues with the updater.
-
View User Profile
-
Send Message
Posted Oct 13, 2013hi,
I get this error with the latest build:
http://www.minecraft.gugyclan.eu/content/server.log
And can this plugin exclude player who have conctantly 0 playtime but are online? (I have this issue with a citizens character...)
any help?
Sincerly John