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 Feb 16, 2014feature questions.
command conflict i have few plugins that use command /stats
thereis any way to hook Stats /stats command before and change it to something else ? by MyCommand plugin or something else ? or alias in configuration files ?
conflicts : mcMMO, pvpstats and meybe somethins else :))
-
View User Profile
-
Send Message
Posted Feb 16, 2014@Lolmewn
thanks :-) - i was install alot of other tools like ontime onsign autorank - development buils always works better :))) - [Stats] Loading Stats v1.38-SNAPSHOT-146 - no errors :).
-
View User Profile
-
Send Message
Posted Feb 16, 2014@maxlehot1234
No clue. New version soon anyway.
@KrustyLv
"Soon". Old version works fine though. I'm finding and killing bugs in the latest dev version.
-
View User Profile
-
Send Message
Posted Feb 16, 2014@KrustyLv
It's running fine on my 1.7.4 server...it doesn't need updating?
-
View User Profile
-
Send Message
Posted Feb 16, 2014When are comming next update?
-
View User Profile
-
Send Message
Posted Feb 15, 2014I have this error on my website...http:pastebin.com/Wn3JSuaq
This is my website: http:dontdropdasoap.com/stats/
Please help me to find error...I really need this
-
View User Profile
-
Send Message
Posted Feb 15, 2014@KrustyLv
Most of this is already underway.
@minecraft7net
Not really a surprise since you're running a dev build. New ones are already out, probably fixing your issue.
-
View User Profile
-
Send Message
Posted Feb 14, 2014git-Spigot-1304 (MC: 1.7.2) (Implementing API version 1.7.2-R0.3-SNAPSHOT)
[Stats] Loading Stats v1.38-SNAPSHOT-144
errors (count `250) :
http://pastebin.com/4rBMwmYm
-
View User Profile
-
Send Message
Posted Feb 14, 2014Hey. Can you add in stats info about world where are player (end, nether,world), player group VIP,ADMIN and others (Example that on stats after player name shows [Player] [Admin]) ? Maybe even hunger and health bar. It would be amazing.
How about is player online?
If player online it shows green circle, if offline shows ref circle. And in database saves with 1 or 0
-
View User Profile
-
Send Message
Posted Feb 11, 2014@xBlueXFoxx
Fixed. Gotta fix up my code soon...
-
View User Profile
-
Send Message
Posted Feb 10, 2014Any clue why the plugin takes so long to startup/shutdown? It takes about 40 seconds for a full restart cycle with the plugin installed, without it about 5-10 seconds. The database is located in San Francisco while the MC server is in Los Angeles through gbit connections, so it shouldn't take very long at all to connect to the database.
[Edit] I disabled the auto update and it no longer hangs at startup, but on shutdown it takes about 15-20 seconds to fully shutdown.
-
View User Profile
-
Send Message
Posted Feb 10, 2014@ExCrobic
Currently not available. Very easy to implement using the new API though. Like, very easy. Not sure yet if it's going to be in the main plugin though.
-
View User Profile
-
Send Message
Posted Feb 10, 2014I was curious to know if with the items crafted state, if it's able to keep track of which items they have crafted, or if there is a way to do this somehow. This could be used for example if someone crafts a specific item they receive an achievement for it and get ranked up.
-
View User Profile
-
Send Message
Posted Feb 10, 2014@scimmia17
It's because of the different worlds. Different worlds have different stats, and more than one rows. Next webend won't have this issue
-
View User Profile
-
Send Message
Posted Feb 9, 2014@Lolmewn
Hey --
Would you know what could cause the duplicate player entries? It it not keeping all the same player information together.
Example:
http://ghastlands.com/stats/players.php
-
View User Profile
-
Send Message
Posted Feb 8, 2014@doomlordking
Can't since Enjin doesn't support php, unless you iframe it (does Enjin support that?)
@KrustyLv
Already in the latest beta. The world stuff anyway. The rest... Maybe throw me a request?
@GodsDead
Would be more of an addition to achievements or Highscores, I'd say.
@SentinelCraft
Already in the latest commits of the new webend.
@ursak
Depends on the type of sign. Global signs update every 10 seconds, personal signs update when the stat it's for gets updated.
@Tromania
Not implemented yet. Planning though.
@monstermon5
As long as it loads bukkit plugins, sure.
-
View User Profile
-
Send Message
Posted Feb 8, 2014Can this plugin work with Tekkit Classic?
-
View User Profile
-
Send Message
Posted Feb 8, 2014@Tromania
If you're talking about using the plugin on one server and let it track all the other servers I don't think that's possible (well, quite ssure since those servers don't have anything sending the data).
You need the plugin on all servers.
-
View User Profile
-
Send Message
Posted Feb 8, 2014Hey great plugin, I noticed in the config file there is a "cross-server" option but I can't find any information on how to get it working, I attempted to use it by setting a main server ect, but it only seems to track the stats from one server but lets me view the stats on all of the servers, is there any way of making it track the stats of all of my servers and make it viewable from all of my servers?
-
View User Profile
-
Send Message
Posted Feb 8, 2014@GodsDead
There is wordpress plugins that let you use php on pages. Just use that and you can add the php needed to show the stats on wordpress as well.
Since I suck at php I just show the stats-page in an iframe with the menues removed from the stats page.
EDIT: It says "This sign is pending for data update"
This seem to happen mostly when it come to other peoples stats or global. My own works. But it isnt always i works for me either.
Is there any "activation" needed on the signs ingame?