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

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

Thread Status:
Not open for further replies.
  1. Offline

    Ahrigumi

    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. Online

    timtower Ninja on the waves Moderator

    @Ahrigumi Bukkit.getPlayer(uuid).name() or getName()
     
    KarimAKL likes this.
Thread Status:
Not open for further replies.

Share This Page