Tipo assim?:
public static List<Player> players = new ArrayList<Player>();
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if (!(sender instanceof Player)) {
return true;
}
Player p = (Player) sender;
if(command.getName().equalsIgnoreCase("meuovo")) {
players.add(p);
}
if(command.getName().equalsIgnoreCase("meuovo2")) {
for (Player pp : players) {
economia.depositPlayer(pp, 10000);
}
}
se eu errei, me perdoe, eu sou novo apenas tentei ajudar...