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
@Lolmewn
okay, kool thanks. ;-)
@KreatorB
Not sure what's up in that case... Possibly Stats 3 will fix everything? :P
@davewolax
Haha thanks for offering to help with my presentation :D Got an exam tomorrow, mind studying for me? It's about Professional Ethics in Computer Science, have fun ;)
@Lolmewn
Hope Stats3 Can come out soon!. if you need help with presentations we're here to help ;P
@the_master_98
You have more than 600 servers, then use same database for stats in all servers. don't worry it will fetch all players data very nice and clean in one single database without pain.
Do you update every single plugin on your 600 servers one by one via FTP?! Oh boy, Learn to use Corn-jobs or write a script to update all your plugins at once with one command.
@KreatorB
Infact I cheskc the database after a clean install of Stats and it logged this time only 2 secs of game time for all players but only once out of the bunch and it was in the spawn world this time...
@Lolmewn
Problems occurred on Web-end... Not sure her name. She closed case... go read it.... As for the perms, I have them I am site owner and I have pex running with all fixins. What is happening is the playtime is only logging in one world out of 4 and not even the spawn world.... Not sure how else to explain it. But if it helps I have 4 worlds. spawn=main and 3 others are just minigames.
@KreatorB
Never seen you here before, what exactly is your issue? Is it with the web-end or something?
As for playtime not working, it probably means you don't have perms in that world. That's my best guess for now anyway.
Oh, please put a world config system in as the playtime does not work in my main world. it only counts when I enter one of my other worlds!
This plugin rocks, to bad the people that work with the issues and MS-Fluid make it suck. all there files are all over the place they tell you to do things and when you try and can not cause things like the debug feature is not in the config file you download! they say that they can not baby you and you should learn how to run a server, etc... Trust me I wasted a day with this crap and reading and trying all routes, but the hep here is not worth the efforts nor are the headaches or endless crap the helpers give you. Stay AWAY FROM IT this SHITE!!!
@the_master_98
Not possible. Just throw the plugin in every server.
@davewolax
And that's exactly what I wanted to avoid with saying dates. Right now it's looking like it won't be tomorrow - rather maybe the end of the week. Presentations, ugh...
I'm so Excited as Stats3 Is coming out tomorrow as the Dev said he will release it at the end of the March! CANT WAIT FOR STATS3!
http://blog.lolmewn.nl/the-state-of-stats-achievements-and-highscores/
@Liger_XT5
@Master_W99
yes, but i have more than 600 servers so all servers need this plugin but if it is one bungeeplugin i have to put it only in one server (bungeecord) thats what i want if that is possible.
@Master_W99
This would be correct. I run three servers, all linked through Bungee. Works just fine to me.
@the_master_98
Someone correct me if I'm wrong, but since this plugin uses MySQL, shouldn't it already work with Bungee?
@Lolmewn
Thank you!
Hello this plugin is very very good! but can you pls add bungeecord support?
Autorank 3.5.1-Dev-368 Stats v2.0.1-272
Playtime amounts aren't going up in the database? (Checked through /ar check since mcmmo is interfering with the /stats command)
Log: http://pastebin.com/wWcU5AJk
Log 7 minutes later: http://pastebin.com/45K8uZR1
@SXRWahrheit
Oh wait, errors in the log by any chance that are like "NullPointerException" in Mojang auth classes? If so; Spigot related issue, I advise you to wait for Stats 3.
@davewolax
No, that's why it's an addition ;) Make a ticket there and I'll see what I can do once I start updating that.
@Master_W99
Try setting globalServer to false in the config - it's offline anyway.
This plugin takes a very long time to disable on server shutdown/restart. Can anything be done about that?
@Lolmewn
Highscores plugin doesn't show Prefix for players. or does it? But there is no option to show player ranks in Prefix in the config.
How can I make it to show Player rank in Prefix automatically without creating ranks in PEX?
@Lolmewn
Does Highscores addition support prefix for players? like show [Prefix] <player>: ??
@SXRWahrheit
NO, AutoRank requires all ranks to be setup in permission plugin such as PEX. that means I have to setup rank for each player in PEX (I have almost about 18,000 Unique players) so I have to make for each of them..
Secondly which makes AutoRank useless for me is that it rank up player from 1 to higher numbers. but I want the opposite. I want player rank as default be the highest number when joined. and the number will decrease by the time player play on the server until he reaches number #1 which means the top player.
I simply cannot use AutoRank. and I'm not sure if "Highscores addition" for Stats plugin would do that for me and show Prefixes in the chat for each player without setting up thousands of ranks in PEX. I want it to simply do it. and show prefix thats all I want.