Included is a stats module that compiles players stats during the course of play.
Stats are saved at the start of a new map rather than the end of a map which is more reliable.
The stats are saved in a file called ‘mani_stats.dat’ and ‘mani_name_stats.dat’ in the mani admin plugin configuration folder, another file is also created in rank order called mani_ranks.txt/mani_name_ranks.txt which are both human readable.
The difference between the files mani_stats and mani_name_stats is that the mani_stats files are updated when in steam id mode, mani_name_stats files are updated when not in steam id mode.
If you are using a server that is public on the net (you can see peoples steam ids) then set mani_stats_by_steam_id 1
If you are using a server that is not on the net (basically a lan setup) then set mani_stats_by_steam_id 0
On server reboot the stats files will be reloaded to restore the ranks.
There are 7 server vars (mani_server.cfg) associated with the stats: -
mani_stats 1 // Enable disable statistics mani_stats_mode 1 // 0 = calculate once per map, 1 = calculate at end of each round mani_stats_drop_player_days 5 // Number of days since player last connected before they are removed from the stats list // New for V1.0.7 // This was in previous versions but there is now a new mode, 2 = by (kills - deaths) mani_stats_calculate 1 // 0 = show stats by pure kills, 1 = show kills by kill/death ratio, 2 = kills - deaths // Brand new in V1.0.7 to try and stop one time joiners getting high KD ratios mani_stats_kills_required 25 // Number of kills required before a player is given a rank mani_stats_write_text_file 1 // Enables writing of ranks to a text file called mani_ranks.txt for export to a web page. mani_stats_write_to_disk_frequency 0 // Set in minutes how often you want the stats save, 0 = only once per map change. This should be used when you play mani_stats_by_steam_id 1 // Set to 1 if you want your ranks to be by steam id (default), set to 0 if you are not using steam ids on your server
Player commands from the say command are ‘statsme’, ‘rank’, ‘top’, ‘top1’, ‘top2’, ‘top3’ to ‘top10’.