It is necessary to create arrays ArrayList with the name, like the player's nickname. So I got a nickname in String. String plname = p.getName(); So I tried to use it as an array name.
ArrayList<Player> plname = new ArrayList<Player>(); But here's the problem: he complains that I rename "plname". How to use String plname as an array name?