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 Aug 18, 2014@krustymk
Not sure what Zachary is doing currently, actually. As for import from logblock, it's not scheduled or on a to-do list. But if you create a ticket and I have some spare time sometime... I just might ;)
@catprowler
Just a thingy on my end, nothing to worry about.
@TNTUP
I'll probably be adding a '_._GLOBAL_._' world (without dots), which contains all data from all worlds. As for commands/signs, I'll be reverting them back to global, adding an option to make it world specific.
@mrretrus
Read the above message.
-
View User Profile
-
Send Message
Posted Aug 17, 2014How do I turn off the seperate tables per world? Lets say i have 10 votes required- A player votes 5 times in world, and 5 times in the nether but they dont combine! How can I make all worlds save to one table? The stats being divided per world makes this plugin useless unless theres a way to merge them, and I see no option for this
-
View User Profile
-
Send Message
Posted Aug 16, 2014Since when Stats 2.0.0 logs time in each worlds?? How I can disable this? I want that every world logged time in teh stats plugin. Reverting to the fix one.
EDIT: I mean, the Stats plugin logs all events in all worlds into one, but the newer one logs events in each world, how I can revert the old feature as before? It doesn't count time done in Creative world in total time (global).
-
View User Profile
-
Send Message
Posted Aug 13, 2014Hi there, I was wondering why I keep getting a message in the console that says, "stats couldn't connect to global server! Maybe it's offline....
But, when I type /stats in-game it shows me the different stats. MySQL is running? Any suggestions why I'm getting that? Thank you :D
-
View User Profile
-
Send Message
Posted Aug 13, 2014Are we still looking at release of the new fluid web end in the next week or so (July to August was the given time)? If not, no problem just saves me keep checking every day.
Is there anyway of importing data from logblock? if not, is it on the to do list?
Cheers
-
View User Profile
-
Send Message
Posted Aug 9, 2014@adamxp12
Could you pastebin permissions.yml?
-
View User Profile
-
Send Message
Posted Aug 8, 2014@Lolmewn
But it works for my other mod sheddemon
neither are op but only DevilsHead is having issues
-
View User Profile
-
Send Message
Posted Aug 7, 2014@adamxp12
Give the player permissions. It seems I forgot to add permissions to the Money stat.
-
View User Profile
-
Send Message
Posted Aug 7, 2014Think I have found a bug
https:fastcraftmc.co.uk/stats/?player=adamxp12 as you can see that player has all the stats like playtime and words said
https:fastcraftmc.co.uk/stats/?player=DevilsHead but this player does not and hes the only player with caps in the username btw he has spent at least 4-5 hours on the server but the plugin has not added any stats except the money
-
View User Profile
-
Send Message
Posted Aug 5, 2014I just wanted to pop in and thank you for working on this plugin. My server's players have enjoyed the ability to view their stats more than I initially thought, and it's really become a central part of the community as they love to compare stats and try to one-up each other. It's just great. :)
Thanks!
-
View User Profile
-
Send Message
Posted Aug 2, 2014@PippaSmith
mcstats doesn't have a command. You can also use /lolmewnstats (although that's a bit silly). Furthermore, you can also just open up config.yml and edit the config manually instead of the in-game configurator if for *some* reason it won't work.
-
View User Profile
-
Send Message
Posted Aug 2, 2014This refuses to load. Refuses to begin configuration ingame after install. Conflicts with mcstats alias /stats. I'm using spigot, and 1.7.9; is this compatible? So does this mean I throw out autorank also?
-
View User Profile
-
Send Message
Posted Aug 2, 2014@TNTUP
Should all be fine. Did quite some testing :) No idea how long converting actually takes, haha. Uses Bukkit methods anyway, so should be good.
-
View User Profile
-
Send Message
Posted Aug 1, 2014Preparing update 1.3.7-quickfix to 2.0.0, I see that it will break the WebstatsX, so using Fluid MCStats 0.1.4 (Discontinued) will work? I see the FluidMCstats v2 is in thw works.
Btw, the avatar url (default is minotar.net) is changeable to mine (tntup.me Thats I did atm on WebstatsX on my server.
I hope it will convert as intended (Sure ill do backups) to UUID, registered 3610 unique players, I dont want that reset D=
-
View User Profile
-
Send Message
Posted Jul 30, 2014@EthanWu1214
Just have it installed.
@adamxp12
Sounds fair enough. Could you make a ticket? So I won't forget :)
-
View User Profile
-
Send Message
Posted Jul 29, 2014Well how do you use votifier for the stat plugin
-
View User Profile
-
Send Message
Posted Jul 29, 2014@Lolmewn
Couldn't you check permission group with vault when players join and leave. No need to be super accurate, or at least for my purposes
-
View User Profile
-
Send Message
Posted Jul 29, 2014How do you connect with votifier
-
View User Profile
-
Send Message
Posted Jul 29, 2014@EthanWu1214
.-. "Discontinued v0.1.X"
I will help you out though. Go here and download the one titled, No-MinecraftAPI.
Add this line to the top of inc/header.php (After <?php line):
That should hide all the errors.
Also, suggestion: Do not use XAMPP for hosting your site. Use a real web server as the requirements stated.
-
View User Profile
-
Send Message
Posted Jul 29, 2014got a lot of warning and error can you help me fix it?