However, this command needs a playerid, so unless linked with a database alongside the teamname for faster lookup. It is not possible without first going through getPlayerByName() then feeding that id into getPlayerStats() which is very inefficient. Database preferred.
However, this command needs a playerid, so unless linked with a database alongside the teamname for faster lookup. It is not possible without first going through getPlayerByName() then feeding that id into getPlayerStats() which is very inefficient. Database preferred.