Solved Scoreboard using the Config

Discussion in 'Plugin Development' started by blok601, Nov 8, 2015.

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

    blok601

    Hello!

    I am trying to make a scoreboard on the sidebar with "kills" and "deaths"

    I know how to create the scoreboard, but I am clueless as to how to draw the numbers from the Config.

    Thanks in advance!

    -blok
     
  2. Offline

    teej107

  3. Offline

    blok601

    Last edited: Nov 8, 2015
  4. Offline

    teej107

    What do you mean? What have your tried?
     
  5. Offline

    blok601

    I just don't know where to start; create the scoreboard and add it to the player when they join, what then?

    @teej107
     
  6. Offline

    teej107

  7. Offline

    blok601

  8. Offline

    Scimiguy

  9. Offline

    mcdorli

    Mark the thread solved please
     
  10. Offline

    teej107

    AFAIK, it can be anything but that method does throw an Exception if an objective if already in use. Check the JavaDocs to make sure.
     
    blok601 likes this.
  11. Offline

    blok601

    Would it be possible to use "Kills" or would that mess with something in Vanilla and use those number instead?

    @teej107
     
  12. Offline

    agokhale1

    @blok601
    Yes it would be possible to use "Kills" as the objective name
    Use this reference to see which objectives are in use in vanilla.
     
    blok601 likes this.
  13. Offline

    blok601

    I Figured it out, thanks!
     
Thread Status:
Not open for further replies.

Share This Page