"beta5/player" )); } public function run($player) { // Check if the player ID is not null if (is_null($player)) { return null; } $player = (int) $player; // Check if the player is valid $playerRecord = $this->players->call('get', $player); if (is_null($playerRecord)) { return null; } // Return data return array( "allies" => $this->players->call('getAllies', $player), "reverse" => $this->players->call('isAllyOf', $player), "blacklist" => $this->players->call('getTAListBans', $player) ); } } ?>