Solved Get players names from a HashMap<UUID, Location>

Discussion in 'Plugin Development' started by Ahrigumi, Sep 16, 2018.

  1. Offline


    Hello!, so i just want to do a command like /list . To know, the quantity of players into the hashmap.
    I know, i need to do a for loop but in the moment to get the uuid. I dont know, how to do it :C
  2. Offline

    timtower Ninja on the waves Moderator

    @Ahrigumi Bukkit.getPlayer(uuid).name() or getName()
    KarimAKL likes this.

Share This Page