This project displays the user statistics for members of the DTCH PUBG Clan. While the code is tailored for the DTCH clan, you can modify it to suit your specific clan or needs.
- Display lifetime stats for a specific game mode (solo, duo, squad).
- Select a player from the DTCH clan and view their stats.
- PHP 7.4 or higher
- cURL extension for PHP
- PowerShell installed on your system
- Clone this repository:
git clone [repository-url]
- Navigate to the project directory:
cd [project-directory]
-
Rename the
config/config.php.renametoconfig/config.php. -
Update the
config/config.phpfile with the appropriate API key and clan members. -
Host the project on a PHP server (like Apache).
- Use the PowerShell scripts in the
updatefolder to generate the JSON files that are used in the clan and user PHP files.
update_clan_member.ps1: Update this once every 30 minutes. It's recommended to set up a cron job or scheduled task for this.update_clan.ps1: Update this once every day.
- Ensure that the API key is kept confidential and not exposed to the public.
- The project comes with a rate limiter (
ratelimiter.php), which can be included to restrict the frequency of page access. - While this project is designed specifically for the DTCH clan, you will need to adjust various parts of the code to make it suitable for your clan or specific requirements.
This project is open-source. Feel free to modify and distribute as per your needs.