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
Second time asking How do i get this to do flat Filefile or sqltie
Database: type: mysql host: localhost username: username password: password database: stats Task: Update: minutes: 2 Logging: Player: chat: true crafting: true join: true item: true fish: true interact: true login: true quit: true move: true teleport: true bucket: true Entity: damage: true death: true
What do I Change!
@Yorkforce
Webstatistics are working well, there are just some problems with the translation and item-images, because i'm using a different name-set. Updating Webstats and Achievements has a very high priority, but my freetime is very limited at the moment. :(
At the moment permissions are only used for the commands, not for logging anymore, but maybe i will re-add it.
@xenomat
You're right, i got some problems with SQLite in the new version, for the moment stick you have to use flatfile or use an older version of stats. As soon as i have some freetime i will add SQLite, but i don't have much freetime at the moment :(
@shadoom
Just noticed this myself. Had to add -'stats.*' to permissions. But it still won't log actions or playtime for any other users than me. Using mysql, but I don't see why that should be a problem, other plugins work fine with the same mysqldb.
@dickwick
Why don't you just ban such players?
Am i now sitting on a SQlite-Database with data collected for nearly one year, which i can't use anymore? Why are you not offering a HowTo? I would like to fix this myself, but i even get errors when i set stats to flat file (because of missing spout, and command /stats isn't really working). And how would i convert SQlite to flat file? Help please?
<edit> Ok, the errors seem to come from the older version, which i get when i use the newest link here. Got it from Curse and there are no Spout-Messages anymore. Got it working with flat file for now (you have to use file as type), sadly without the records of the past year... But still, conversion FROM SQlite would be nice, i guess many users have these DBs! </edit>
@Yorkforce
They are making Piston machines, that are pushing them around basement or they are riding in mine carts to prevent themselves from being kicked for afk :/ I use AfkManager for kicking, I will try AfkKick, maybe it is better on finding those anti-afkkick machines.
am i the only one whose users cannot use /stats, but admins can?
@dickwick
Install AFKkick and Normalized Drops, they will prevent that from happening
Is there any way, how to ignore monitoring certain players from being counted for time played? I have some players AKF-ing whole night in traps just to collect items and improve their position in top played time list. I would like to punish them and exclude them from counting in. Is it somehow possible?
Can someone please explain (or link to a HowTo/Wiki) how i can use my stats.db, which i was using until stats 2.0.1 in the plugins/stats folder? I didn't configure anything regarding database, it just created the file (with sqlite). Thanks!
Has anyone made a script that merges the remains of the block-valued statistics to the ones with block names?
edit: Also, roses are appearing in destroyed/picked up even though the map we play on has the no-roses glitch.
@Onlyme395
Where can i find a HowTo or Wiki? I have my stats.bd file (sqlite) from previous versions in the folder plugins/stats (now renamed to stats 2.0). How can i continue using it?
How do i get the Stats 2.1.1 to use Flat File or sqlite
I don't have any mysql databases
Any idea when Achievements and Webstatistic will be updated Terra, kind of makes stats by itself pretty much useless.
@xenomat
configure the connect in Stats.yml not stats.properties
I had that problem as well.
Running 2.1.1 with CB1597 i get this:
@Tombikos
Spout is optional, you don't need it, but Stats will use it automatically if it's detected, so you have nothing to do. 2.1.0 had a wrong codeline, loading Spout before checking if it's available, but i fixed it in 2.1.1.
@Lightsockie
Not yet, but maybe in the future.
Is it possible to categorize them by world? Or choose which worlds to track?
Yea, please romove Spout. Or can i use it without it?