cmangos/mangos-wotlk — pull request #138 by ShinDarth (2014-08-29 15:59:23+00:00)
Title: [12721] Implemented BattleGrounds scores storing system

And output with https://github.com/ShinDarth/PvPstats or similar tools ;)

It stores all Battlegrounds:
- date & time
- winner faction (ally, horde or noone)
- type (if WSG, AB, etc..)
- bracket_id (the bracket level range)

For each Battleground it also stores player:

- killing blows
- deaths
- honorable kills
- bonus honor
- score damage done
- misc attributes (like WSG cap/def flags, AB assault/def bases, EoS cap flags, etc...)

Also this feature is disabled by default, can be enabled via config file:

Battleground.StoreStatistics.Enable = 0