Moved $getPlayer($player) to the Main API, updated the way to get it too :)