Skip to content

pvpstats_players

This table holds data about BattleGrounds scores. To enable storing this kind of informations, set Battleground.StoreStatistics.Enable = 1 in worldserver.config file.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
battleground_idbigintunsignedPRINO
character_guidintunsignedPRINO
winnerbit(1)NO
score_killing_blowsmediumintunsignedNO
score_deathsmediumintunsignedNO
score_honorable_killsmediumintunsignedNO
score_bonus_honormediumintunsignedNO
score_damage_donemediumintunsignedNO
score_healing_donemediumintunsignedNO
attr_1mediumintunsignedNO0
attr_2mediumintunsignedNO0
attr_3mediumintunsignedNO0
attr_4mediumintunsignedNO0
attr_5mediumintunsignedNO0
 

Description of fields ​

battleground_id ​

references pvpstats_battlegrounds.id  

character_guid ​

The guid of the participating character.  

winner ​

  • 0: my team lost the BG
  • 1: i won the BG  

score_* ​

Accumulated statistics, shared among all Battlegrounds.  

attr_[1-5] ​

Accumulated statistics, unique to a battleground type.

typeNameattr_1attr_2attr_3attr_4attr_5
1AVGraveyardsAssaultedGraveyardsDefendedTowersAssaultedTowersDefendedMinesCaptured
2WSGFlagCapturesFlagReturns000
3ABBasesAssaultedBasesDefended000
7EotSFlagCaptures0000
9SotADemolishersDestroyedGatesDestroyed000
30IoCBasesAssaultedBasesDefended000