This plugin aims to emulate the lacking of "player_score" event fires in Source engine.
It uses the following events in order to fire the "player_score" event :
- player_death
- player_escort_score
- entity_killed (mainly redondant with "player_death", but used just in case...)
- teamplay_point_captured
- teamplay_capture_blocked
- object_destroyed
As of today, I think that these events treat all the cases where a player improves his score (domination being related to a player death, and revenge not modifying score). Attackers and assisters are managed, like in the game.
The plugin also add a line in the server logs, specifying the new score for the related player. So, this log can be parsed by a third-party software in order to compute stats, real-time monitoring, etc...
Note that the log line added is TF2 specific, as it contains related player team, as opposed than the "%L" format which does not include it.
Feel free to suppress this functionality if you need (1-line comment) ;-)
The fired "player_score" event can be triggered by Sourcemod plugins (not tested, but there's no reason it can't) and by Source Engine plugins (tested !).
To close this description, this plugin development is a little part of a personal (working) project, providing a TF2 web-based *realtime* scoreboard, with same look as the client. This had been made possible by the development of a specific java-applet, which acts as a UDP-client, catching on-the-fly network info delivered by a Perl UDP server, which parses Source server logs to get the needed info.
Hope it helps...