All credits goes to ShinDarth for creating this great piece of software! https://github.com/ShinDarth/
In this fork, I will try to make PvPStats a Joomla Modul which can be implemented everywhere on your site without the need of iframes.
PvPstats is an utility for TrinityCore and CMaNGOS that allows to store and display data about Battleground scores. It consists in a core modification and a web application written in PHP. It's released under the GNU GPL v3 License.
Each time a Battleground ends, PvPstats stores in the database all Battlegrounds:
- Date & time
- Winner faction
- Type (which BattleGround is)
- Bracket level range
For each Battleground it also stores player:
- Killing blows
- Deaths
- Honorable Kills
- Bonus Honor
- Damage done
- Healing done
- and the other various data (like Warsong Gulch capped/returned flags, Arathi Basin assaulted/defended bases, EoS capped flags, etc...)
In a nutshell, it saves all datas you can see when the BattleGround ends in the score window.
It currently supports:
- TrinityCore with Cataclysm (4.x.x game version)
- TrinityCore with WOTLK (3.x.x game version)
- CMaNGOS with WOTLK (3.x.x game version)
- CMaNGOS with TBC (2.x.x game version)
- CMaNGOS with Classic (1.x.x game version)
But since this is a free and open source project, you are more than welcome to fork it and adapt to different emulator or game version.
The web application currently displays the amount of victories of factions, top 20 players and top 5 guilds of:
- Current day
- Last 7 days
- Current month
- Overall
both for all levels and for every level range (10-19, ... , 70-79, 80).
It also displays:
- Detailed BattleGround scores informations (battleground.php script)
- Top100 players and guilds (top100.php script)
The web application 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 and Sortable JavaScript Libraries.
The web application is secure against SQL-Injection attacks, tested with sqlmap.
Do you want to see PvPstats in action? See who is using PvPstats.