Statistics
Plugin is not in development any more. Sorry for any inconveniences...
[ Installation | Configuration | Wiki ]
Looking for a high-end plugin that tracks your players' data? Look no further!
There are a few similar plugins out there, and they track a decent amount of data, however, Statistics takes it a step further and completely overhauls the stats tracking, bringing the amount of information collected to a staggering amount. Name a data point, and we are probably tracking it. This plugin was made to be highly customizable; it will do only what you tell it to do.
Features:
Server Statistics:
- Startup and shutdown times
- Current server status
- Uptime statistics
- Total gameplay
- Online players
- .... and more!
World Statistics:
- Distance Travelled
- PVP, PVE, natural deaths
- Blocks played and broken
- Items picked up, dropped, used, eaten, etc.
- .... and more!
Player Statistics:
- Player inventory
- Health, hunger, experience
- Armour rating
- Game mode
- Words said, command sent
- Login and logout times
- Time spent on the server
- Distance travelled
- Detailed kills and deaths
- ... and more!
Plugin Statistics:
- Vault (Money, Groups)
- ... more coming soon!
Others:
- All Statistics are displayed on an homepage
- Statistics can be displayed ingame on an scoreboard
- Statistics can be displayed ingame in an Book
Requirements:
- PHP 5.3.2 or greater
- GD2 library
- cURL library
- fsockopen
- MySQL 5.5 or greater
- InnoDB support
- remote connections allowed
@z1haze
Yes the plugin logs every player join. But old first joins from the time before you have installed this plugin are not imported form the player save files.
does this backlog players join date/time? I currently run a custom plugin for some web development purposes that tracks all players ever joined, and the way I've set it up, is it back logs all previous joins before the plugin is implemented. Im just curious if your plugin does that, I may just switch to it entirely
@lululombard
Can you paste the complete server log on pastebin please?
@MarioG1
Even with the args, the trace is minimalistic, I don't know why... :/
@lululombard
Thx.
@MarioG1
Thanks for your answer. Whatever if I reload the server/plugin or restart it, many errors happens.
I'll try to put that into my startup script, and I'll tell you if I get more detailed error.
@lululombard
Are you using reload or any other command to reload the server/statistics ?
Can you please add -XX:-OmitStackTraceInFastThrow to your startup script and send me the log again? This will help me to fix the problem.
Many problems with 1.2.3 #166 on Spigot 1.8 server : I got tons of errors : http://pastebin.com/sN1M2KBn
Could you take a look ? Thanks :)
Why not skin head is shown in the web portal . but only the head- 32_none.png?
Please support 1.7.9. Thanks
@Trexguo
Can you please post the complete error log?
@gnaxi
It you try to connect muliple servers to the same database and tables it will crash ;)
FYI: People thinking (like me): "I can just install the plugin on multiple servers and use a shared database. It would basically be the same as BungeeCord support."
Don't even try it. Database writing issues will occur and huge memory leaks will happen, which very quickly will crash the servers because of missing memory.
@Cammo009
Same issue here on my latest spigot 1.8 server. But when I tried '/stats sync' to fix it, I got errors:
13.01 06:05:57 [Server] INFO ... 3 more 13.01 06:05:57 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 13.01 06:05:57 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) 13.01 06:05:57 [Server] INFO at com.wolvencraft.yasp.cmd.DatabaseCommands$1.run(DatabaseCommands.java:60) 13.01 06:05:57 [Server] INFO at com.wolvencraft.yasp.util.tasks.DatabaseTask.commit(DatabaseTask.java:97) 13.01 06:05:57 [Server] INFO at com.wolvencraft.yasp.session.OnlineSession.pushData(OnlineSession.java:182) 13.01 06:05:57 [Server] INFO at com.wolvencraft.yasp.db.data.players.PlayersData.sync(PlayersData.java:80) 13.01 06:05:57 [Server] INFO Caused by: java.lang.NullPointerException 13.01 06:05:57 [Server] INFO at java.lang.Thread.run(Thread.java:744) 13.01 06:05:57 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 13.01 06:05:57 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 13.01 06:05:57 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 13.01 06:05:57 [Server] WARN org.apache.commons.lang.UnhandledException: Plugin Statistics v1.2.3 generated an exception while executing task 2790690 13.01 06:05:57 [Server] WARN Exception in thread "Craft Scheduler Thread - 2920"
Works fine on my 1.8 spigot. Only issue i have is players online still displays a player as online but tgey logged out 30mins again /stats sync fixes it till a player joins again
@zaxome
Zaxome, I am using it with my 1.8 server and it works just fine. Maybe the problem is that I'm using Bukkit not Spigot, but I believe that the stats are not related with server version.
This plugin is amazing, I remember when it first came out in 2013 I believe. Sucks that I can't use it with my 1.8.2 Spigot server. Is there a DEV version I can install maybe?
I have VanishNoPackets on my server and i have tricked the plugin in Modules on the Portal, Is there anyway to stop the Portal showing Vanished Player as Online?
@Dazzel_
Alright. Thanks for the reply.
I will come back to Statistics in the future when the portal supports Bungeecord.
@TNTUP
i want to carry over playtime at least, but need to find time as pretty novice at mysql. i probably won't do a full script for all values but will share the command once i suss it out & you can build one (i'm not sure yet on exceptions where player exists on one database but not the other, i'm sure mysql can handle if it i do it right).
@Dazzel_
ok