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 Dec 27, 2014On WebStats The page Player list it's bug? I can't find a player and change to page 2
-
View User Profile
-
Send Message
Posted Dec 27, 2014@Hockeymikey
Thanks for the feedback, spoke to them and they asked some questions about why it was done this way which obviously i couldn't answer but they fixed it with a .viminfo file (containing some script or other), there tone suggested this was all very odd and unnecessary. Zach will be zach i guess..
-
View User Profile
-
Send Message
Posted Dec 27, 2014@Liger_XT5
Enable mod_rewrite? That may be an issue.
@Lolmewn
Lol fair enough. Switched over to Bungeecord recently so I got that message and figured it was because you're not able to tell if players are authenticated or not.
-
View User Profile
-
Send Message
Posted Dec 26, 2014@Hockeymikey
I'm running a VPM from NFO. As far as I can say, my host doesn't have control over this issue, which would mean I need to change something in my configurations. What changes should I make to help fix my issue?
Thanks!
-
View User Profile
-
Send Message
Posted Dec 26, 2014@krustymk
The issue was with your host, 1and1 which isn't a bug and an issue that you need to resolve with your host.
-
View User Profile
-
Send Message
Posted Dec 25, 2014@Liger_XT5
I'm getting this problem, Zach's acting like it either doesn't exist or not his problem, so when I see you had the same issue I started googling. Now I know nothing about making a web page so I may be wrong but I reckon its because Zach is using relative links and the web server is treating them as absolute. Why Zach couldn't point this out initially when I discovered it after a 10minute Google is beyond me! I think its due to a different version of php (again 10minute Google so...) Google relative paths and php, I'm round a mates on my phone so googling and finding a fix is difficult. The following links may offer some help http://www.sitepoint.com/forums/showthread.php?229535-rewrite-rule-half-works-but-breaks-relative-links
http://stackoverflow.com/questions/20441896/how-to-configure-htaccess-file-for-cake-2-3-x-on-1and1-shared-hosting
-
View User Profile
-
Send Message
Posted Dec 25, 2014I have the latest Stats version, and I have set it up under the same SQL on a few servers connected with BungeeCord so the stats are cross-server. But when I break a block in one server, the Survival one for example, that one block registers twice and records it twice under /stats. So it effectively shows that I've broken 2 blocks, any idea if there's a fix for this or something I'm doing wrong?
-
View User Profile
-
Send Message
Posted Dec 24, 2014I've decided to clear out and reset a number of things on my server setup and decided to clear out Stats and the webserver related files, and start clean. I've hit a few snags here and there, but so far been doing good.
However, something I've noticed that might be of importance: Mind updating the link to instructions of installing the Webserver portion? The link given goes to the bukkit thread, and all the main post states is the new update information, no instructions.
I wouldn't have noticed this if it wasn't for the webserver files telling me, during installation, of not being able to write to my www folder. Went to read the instructions before assuming I knew what to do, needless to say.
Thanks again for keeping a great plugin up to date!
I'm using it, so far with little trouble, on my Spigot 1.8 server. Not saying it's 100% fully working, as I'm still setting it up as we speak.
Merry Christmas!
Update: Figured things out. Found a bug on the homepage for Live-ticker and related links. Best explained if you look at my setup. http://mc.mine-craft-den.com Simply put, when clicked, the pages it links to do not exist, at least, not where it thinks they are. The pages it is looking for is under the folder Pages, and end in .php, it just leads to folders with the names instead. Such as http://mc.mine-craft-den.com/live-ticker instead of http://mc.mine-craft-den.com/pages/live-ticker.php. The only work around I can think of, without editing the coding, is to put each page into it's own folder, and rename the php files to index.php. If I misunderstood anything, please let me know. It's my mistake for staying up late tonight doing stuff like this anyways. Lol
-
View User Profile
-
Send Message
Posted Dec 24, 2014RELEASED! v0.2.0 is now available off GitHub. Direct download here!
On BukkitDev
-
View User Profile
-
Send Message
Posted Dec 24, 2014Last thing that needs to be added before this is released is a server query cache (So we aren't spamming your server query :P). So it might be a few minutes late.
-
View User Profile
-
Send Message
Posted Dec 24, 2014v0.2.0 will be release @17:00 UTC-5 if all goes well :)
-
View User Profile
-
Send Message
Posted Dec 24, 2014@Hockeymikey
Yes, afk is checked with Essentials. If essentials is not available then the config option is ignored.
I don't send data from offline mode servers to the global server as I don't want any Notch entries on my database :P it's silly since it's not really him anyway
-
View User Profile
-
Send Message
Posted Dec 23, 2014Quick questions:
How is AFK tracked? Do you hook into Essentials or what?
Why are stats not sent to the Global server if the server is in offline mode?
-
View User Profile
-
Send Message
Posted Dec 23, 2014@tito1411
Could you open an issue on GitHub :)
-
View User Profile
-
Send Message
Posted Dec 23, 2014@smokeymcjay
No idea. Didn't make that plugin - better ask them instead.
-
View User Profile
-
Send Message
Posted Dec 23, 2014Ive installed fluid to a dedicated website because it wont work in a sub folder and all the links give a 500 Internal Server Error
Now please consider i use 1and1 to host 19 other sites (using Joomla, Wordpress, GalleryProject and some old school sites) These ALL work fine
Yes i downloaded a fresh zip of the latest code and uploaded the entire contents to the site root. Yes that included your .htaccess
Zach out of 20 sites the only one not working is yours (because i know your gonna say its not your code)
-
View User Profile
-
Send Message
Posted Dec 22, 2014@Zachary_DuBois
Is there anything special to setting up the live ticker? My stats are working but live ticker gives me this "There was an problem while loading the data. Please try again later."
-
View User Profile
-
Send Message
Posted Dec 22, 2014If i wanted to show how many zombie kill some has done with the info board plugin would i do
<statskillsZOMBIE> OR <statskillszombie>
-
View User Profile
-
Send Message
Posted Dec 20, 2014@tito1411
Could you open a ticket on GitHub :) Also, I noticed Minotar is having issues too. I will have my avatar service up and running again soon so :P Plus it is a setting :)
-
View User Profile
-
Send Message
Posted Dec 19, 2014This player heads site is working. Tested on my server stats. http://cravatar.eu/
32X http://cravatar.eu/avatar/
150X http://cravatar.eu/head/
These are the links you would enter in the advanced config portion of the site setup.