ScoreBoard help

Discussion in 'Plugin Development' started by XKnucklesX, Jul 10, 2013.

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

    XKnucklesX

    On this line of code
    Code:java
    1.  
    2. Objective objective = board.registerNewObjective("", "playerKillCount");
    3.  


    what is the first argument.
     
  2. Offline

    euro1988

    Name of the objective.
     
    XKnucklesX likes this.
  3. Offline

    XKnucklesX

    Where do I find it or can I choose what is is?

    euro1988

    If i can choose what it is what do you suggest would be a good one
     
  4. Offline

    euro1988

    You can name it whatever you want.

    Depends on the type of plugin you are making :)
     
    XKnucklesX likes this.
  5. Offline

    XKnucklesX

    Its just to count how many kills you have done

    euro1988

    So any suggestion
     
  6. Offline

    euro1988

    killsMade

    :)
     
    XKnucklesX likes this.
  7. Offline

    XKnucklesX

    k

    Anywhere on the screen while playing mc will you see the killsmade. So where is it located or something or is it just a object that you do not see on the screen while playing

    euro1988

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  8. Offline

    euro1988

    The thing that you see on the screen while playing is Display Name.
    Use objective.setDisplayName("Kills Made") - just an example
     
    XKnucklesX likes this.
  9. Offline

    XKnucklesX

    I made that kills ok thank you euro your excellent
     
Thread Status:
Not open for further replies.

Share This Page