RealStats
RealStats - Store stats about your players and server
This stores advanced statistics about players and the game, into simply formatted files.
You will use it for other plugins or your players statistics website page.
This plugin has been designed to be as fasten as possible, and to get acute information about what players are doing in the server : how many ie cutted trees, etc. into a single easy-to-read player.txt file
Installation
- You need RealPlugin to make this work !
- Download the RealStats.jar file (Files link)
- That's it !
Player stats
Each player has is stats file into plugins/RealStats/playername.txt.
Available statistics are :
- break : broken blocks count (one per block id)
- place : placed blocks count (one per block id)
- feed : feed creatures count (one per animal)
- mate : mate creatures count (one per animal)
Other plugins or external programs (a php website ?) can use these this data ie to display statistics, translate them in XP points for RPG plugins.
Counters lists
Blocks counters are for block#0;block#1;block#2;... It uses Minecraft data value as an index
Animals counters work the same, with arbitrary animals id :
- 0 : unknown (not in current list)
- 1 : chicken
- 2 : cow
- 3 : pig
- 4 : sheep
- 5 : wolf
- 6 : blaze
- 7 : cave spider
- 8 : creeper
- 9 : enderman
- 10 : ghast
- 11 : magma cube
- 12 : mushroom cow
- 13 : pig zombie
- 14 : silverfish
- 15 : skeleton
- 16 : slime
- 17 : spider
- 18 : squid
- 19 : zombie
- 20 : villager
- 21 : enderdragon
- 22 : player
- 23 : giant
- 24 : iron golem
- 25 : ocelot
- 26 : snowman
- 27 : enderdragon part
- 28 : witch
- 29 : bat
- 30 : wither
- 31 : wither skull
Plugins that use RealStats
- RealJobs : this will manage more than 30 jobs and associated achievements and bonus (currently on working stage)
Links and docs
- Source available on github : https://github.com/tickleman/RealStats/commits/master (fork at will)
More to come
Need more stats into your player / server file ? Tell me !
@RulingKyle1496
If is saves everything into a txt-file you need to import that txt-file into a webpage or even better, into a database.
How you'd do that I have no idea...
how do you get this to show on a website?
Please add that it will count how long a player has been on you're server. Then I will download.
@Ninja1507
Source link added to the description. The output file is very "roots", basic, as the plugin does the work. 'hope that my plugin will give you those lots of interesting informations :)
My other plugin RealAdminTools is going to write somewhere the full list of plugins enabled, their enabled events, and bench results of them ! I think this would be a very usefull information for admins who want to make their server lag less (/bench command, very basic at this time).
@Warhawker
Some plugins already do that (don't have any name in mind sorry)
@Warhawker
this will probably someday
Source Please. or possibly add the ability to change the location of the output files. also maybe have the output file look a bit nicer?
I'm actually writing a client app for my MC server that will display lots of nice things for the server to try and get rid of some command navigation.
Is it possible to get total playtime as a tracked statistic? In a unit of d#h#m#