diff --git a/config/clanmembers.json b/config/clanmembers.json index 56d0776..41d7159 100644 --- a/config/clanmembers.json +++ b/config/clanmembers.json @@ -13,6 +13,11 @@ "THAIlux", "Reijn7000", "McPikkie", - "Brabo-Gamer" + "Brabo-Gamer", + "Squadkiller101" + + ], + "alts": [ + "Squadkiller101" ] } diff --git a/last_stats.php b/last_stats.php index 14d7c3c..28ae21a 100644 --- a/last_stats.php +++ b/last_stats.php @@ -18,7 +18,8 @@ $ogDescription = "Explore detailed player statistics over the past month includi

Player Stats past Quarter

$player_datas) { @@ -71,7 +72,10 @@ $ogDescription = "Explore detailed player statistics over the past month includi if (!isset($player_data['playername']) || is_null($player_data['playername'])) { continue; // Skip this iteration and move to the next } - + if (in_array($player_data['playername'], $alts)) { + continue; // Skip alt players + } + if ($key == 'all' && $player_data['matches'] < 25) { continue; }