exists()) { exitWithJson([ "status" => "OK", "profile" => $player->toArray() ]); } else { sendJsonResp($Strings->get("Player does not exist.", false), "ERROR"); }