Function getPlayerDataByName