Stats 2.0
Welcome to Stats 2.0!
Most of you know Stats, it's one of the oldest and most popular tools for logging player actions, statistics and analysis. The original plugin was developed by Nidefawl and i have to thank him for his great work! Thanks to sockenklaus, too, for some improvements.
Features
- Logs many actions that players do!
- Block Destroys(for each block), Block Placement, Item Uses, Item Dropped, Item Piuckup, Damage Dealt, Damage Taken, Deaths per type, Kills per type, Played-Time (with AFK flags!)...
- Keeps all stats within a MySQL Database or Flatfile
- Your plugin can support Stats!
- NEW Crafting activities
Requirements
- Spout (Crafting)
Installation
- New directory since 2.1.0
- Put the Stats.jar inside your plugin folder
- Start the server / Stop the server
- Edit the config file to fit your needs
- Start the server
- Enjoy!
Permissions
- Stats.show.stats - View your own stats
- Stats.show.played - View your own played-time
Changelog
ToDo
- log Furnace-Events
- optimize Stats-commands
-
View User Profile
-
Send Message
Posted Dec 19, 2011@Onlyme395
Good to know, then i have to search inside the crafting part. Thx!
-
View User Profile
-
Send Message
Posted Dec 19, 2011@TerraNetworkOrg
When I changed stats-log-crafting from True to False, I stopped having the errors. I'll report more as I go along.
-
View User Profile
-
Send Message
Posted Dec 19, 2011@Onlyme395
I had this error when i accidently had 2 version of stats inside my plugins folder. But i think i will have to rebuild the MySQL part a little.
-
View User Profile
-
Send Message
Posted Dec 18, 2011@TerraNetworkOrg
I keep getting this fairly often. My other plugins that use MySQL work just fine. It's strange.. http://pastebin.com/VUcHgRwA
And another pastebin http://pastebin.com/4YLam9r6
Simple error, so.. After somebody lags out: 06:46:04 [SEVERE] Could not pass event PLAYER_QUIT to Stats java.lang.NullPointerException
I'm using Craftbukkit #1597, and Spout 624, and latest Vault.
-
View User Profile
-
Send Message
Posted Dec 17, 2011@rmkilc
It hooks into your permissions, economy, and some chat related services, to make it easier for developers to use.
Is a requirement.
-
View User Profile
-
Send Message
Posted Dec 17, 2011@TerraNetworkOrg
Excuse my ignorance, but what is Vault?
-
View User Profile
-
Send Message
Posted Dec 17, 2011@rmkilc
Stats needs Vault for Permissions. But i will release a non-permission update.
-
View User Profile
-
Send Message
Posted Dec 17, 2011When I try to run my server with this plugin, I get this:
2011-12-17 14:22:45 [SEVERE] Could not load 'plugins\Stats.jar' in folder 'plugins': Vault org.bukkit.plugin.UnknownDependencyException: Vault at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:151) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:127) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
-
View User Profile
-
Send Message
Posted Dec 17, 2011@thealmightypsycho
Hmmm the first error you mentioned earlier this day, i think i fixed it in 2.0.1 (waiting for approval).
The new error .. don't know for now.
I will have a look into it tomorrow.
-
View User Profile
-
Send Message
Posted Dec 17, 2011Yes spout is active Yes crafting-logging is enabled As for what is triggering it I have no idea really. I tried for awhile now to narrow it down and I just can't seem to find out what is causing this error to pop. It pops like crazy when the server is full and its next to impossible to get any useful info from that many players.
Also getting this error: [SEVERE] [Stats 2.0.0] onPlayerQuit did not happen, unloading minecraftcole now 15:57:11 [SEVERE] java.util.ConcurrentModificationException 15:57:11 [SEVERE] at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806) 15:57:11 [SEVERE] at java.util.HashMap$ValueIterator.next(HashMap.java:835) 15:57:11 [SEVERE] at com.nidefawl.Stats.Stats.saveAll(Stats.java:701) 15:57:11 [SEVERE] at com.nidefawl.Stats.Stats$SaveTask.run(Stats.java:479) 15:57:11 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 15:57:11 [SEVERE] at java.lang.Thread.run(Thread.java:722)
-
View User Profile
-
Send Message
Posted Dec 17, 2011@TerraNetworkOrg
I didn't have many rewards given within the game. I do however, have them given in the community website! :)
Again, thank you for updating the plugins. You have saved quite a few people some headaches, and hours of development time!
-
View User Profile
-
Send Message
Posted Dec 17, 2011@Onlyme395
Fine :-) The only thing i changed "the old ways" are the reward-commands in Achievements, you need to modify them, but now it's much more powerful. But for this i will write a script to create, edit and convert from the old ones, but it will take some time, i don't think it will happen this year.
-
View User Profile
-
Send Message
Posted Dec 17, 2011You sir, are my hero. I have a server that integrated stats and achievements with our forums, to provide real rewards to the users who play. I've been using the old stats and achievements plugins, but was really pondering switching to another.
Thanks to you for updating the plugins (and keeping to the old ways), I no longer have to worry about creating a whole new infrastructure for this :)
Thank you!
-
View User Profile
-
Send Message
Posted Dec 17, 2011@ItsKohle
Yes they are, i wanted to add them to the page now ^^
Ok i will have a look, but one question:
Is Spout active?
Is crafting-logging active?
What have you done when this error occured?
Maybe it's a problem with my dependency-control.
-
View User Profile
-
Send Message
Posted Dec 16, 2011Thank you for picking up this plugin! I keep getting this error in my logs:
Could not pass event CUSTOM_EVENT to Stats java.lang.NullPointerException at com.nidefawl.Stats.StatsCraftListener.onInventoryCraft(StatsCraftListener.java:23) at org.getspout.spoutapi.event.inventory.InventoryListener.onCustomEvent(InventoryListener.java:60) at org.bukkit.plugin.java.JavaPluginLoader$97.execute(JavaPluginLoader.java:945) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:377) at net.minecraft.server.Packet102WindowClick.a(SourceFile:28) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
-
View User Profile
-
Send Message
Posted Dec 16, 2011What are the permission nodes? I'm assuming they are the same as the old Stats.
-
View User Profile
-
Send Message
Posted Dec 16, 2011@tomomosius I will talk to the devs of Towny, it their part, but it's easy :-)
-
View User Profile
-
Send Message
Posted Dec 16, 2011Awesome :D
-
View User Profile
-
Send Message
Posted Dec 16, 2011idk add towny loging of towns and nations?
-
View User Profile
-
Send Message
Posted Dec 16, 2011@rushn_hobo
Hehe thx will fix it ^^
They need long today :-)