TFStats is a multi-level system that logs in-game statistics and events. TFStats incorporates a large in-game plugin written in SourcePawn, and a Node.js daemon to aggregate the server data.
TFStats implements these features among others:
• Logs in-game events such as chat, kills, actions to MySQL
• Provides a leaderboard system for each gameserver for players to compete with.
• Data efficiency TFStats was written to replace the old HLStatsX:CE program written in 2009, which buckles under the weight of 30~ servers logging to it. TFStats' daemon copes with 200+ servers with 0 loss..
• Extensibility allows for modules to be written in to TFStats using the database tables - i.e awarding the top 3 players of each server with a chat title.