Help with Scoreboards!

Discussion in 'Plugin Development' started by zDubsCrazy, Apr 22, 2014.

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

    zDubsCrazy

    I need a scoreboard that shows the height of each player that is in the world! Example: Show the list of players that are in the world, and the height Y of each of them!

    Please help-me!
     
  2. Offline

    zDubsCrazy

  3. Offline

    SuppaTim

    Just loop through the players and add it to the scoreboard? With the score set to their Y loc.
     
  4. Offline

    zDubsCrazy

    SuppaTim
    I am beginner and do not know how to do this! I saw a tutorial of PogoStick29dev, and Object is in onEnable() method, how do I get the names of the players? :oops:
     
  5. Offline

    SuppaTim

    Code:java
    1. for(Player p : Bukkit.getOnlinePlayers()) {
    2. String name = p.getName();
    3. //Add to the scoreboard, Pogo has a tutorial for that
    4. }
    5.  
     
Thread Status:
Not open for further replies.

Share This Page