PvPstats is an utility that allows to store and display data about Battleground scores. It consists in a core modification (see b651729) and a web application written mostly in PHP. It’s released under the GNU AGPL v3 License.
[SIZE=24px]Features[/SIZE]
Each time a Battleground ends, PvPstats stores in the database all Battlegrounds:
[ul][li]Date & time[/li]
[li]Winner faction[/li]
[li]Type (which BattleGround is)[/li]
[li]Bracket level range[/li]
[/ul]
(Releated table structure: http://collab.kpsn.org/display/tc/pvpstats_battlegrounds)
For each Battleground it also stores player:
[ul][li]Killing blows[/li]
[li]Deaths[/li]
[li]Honorable Kills[/li]
[li]Bonus Honor[/li]
[li]Score damage done[/li]
[li]and the other various data (like Warsong Gulch capped/returned flags, Arathi Basin assaulted/defended bases, EoS capped flags, etc…)[/li]
[/ul]
In a nutshell, it saves all datas you can see when the BattleGround ends in the score window.
(Releated table structure: http://collab.kpsn.org/display/tc/pvpstats_players)
The web application currently displays the amount of victories of factions, top 20 players and top 5 guilds of:
[ul][li]Current day[/li]
[li]Last 7 days[/li]
[li]Current month[/li]
[li]Overall[/li]
[/ul]
both for all levels and for every level range (10-19, … , 70-79, 80).
It also displays:
[ul][li]Detailed BattleGround scores informations (battleground.php script)[/li]
[li]Top100 players and guilds (top100.php script)[/li]
[/ul]
The web applications uses the framework Bootstrap which makes it fully responsive, supporting different window and screen sizes (e.g. desktop, tablet, mobile, etc…). It also uses the jQuery JavaScript Library.
[SIZE=24px]How to install[/SIZE]
-
Update your core and database to latest revision (recommended), or manually import this commit (not recommended).
-
Open your worldserver.conf file and set:
Battleground.StoreStatistics.Enable = 1
3) Clone the repository into your web server (e.g. /var/www/):
git clone https://github.com/ShinDarth/PvPstats.git
4) Copy the file [B]config.php.dist[/B] and rename the copy to [B]config.php[/B], then open and edit it properly (it's quite commented).
[SIZE=18px]Please report any bug here.[/SIZE]
[SIZE=18px]Screenshots: [/SIZE]
Spoiler
http://shinworld.altervista.org/PvPstats/img/index.png
.
http://shinworld.altervista.org/PvPstats/img/battleground1.png
.
http://shinworld.altervista.org/PvPstats/img/battleground2.png
.
[CENTER][SIZE=24px]https://github.com/ShinDarth/PvPstats[/SIZE][/CENTER]
[CENTER] [/CENTER]
[CENTER] [/CENTER]
[CENTER]https://raw.githubusercontent.com/ShinDarth/PvPstats/master/logo/PvPstats.png[/CENTER]
[CENTER]thanks Kalhac for this nice logo[/CENTER]