Scoreboard Setup

Discussion in 'Plugin Development' started by MoeMix, Jan 14, 2014.

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

    MoeMix

    Hi devs, I was just wondering if someone could post some code on how a basic scoreboard is set up. I'm familiar with most of it but I just want to know what the chronology should be. Also this is for the Displayslot.SIDEBAR. Comments next to it would be fantastic! Thanks again!
     
  2. Offline

    1Rogue

    What have you tried so far?
     
  3. Offline

    MoeMix

    1Rogue I haven't written anything for it yet. But what I meant was that I am familiar with the methods and objectives. But how do I use them so that it actually displays?
     
  4. Offline

    1Rogue

    Once you have a scoreboard instance you just set it to the relevant player:

    Code:java
    1. Scoreboard sb;
    2. Player p;
    3. p.setScoreboard(sb);
     
Thread Status:
Not open for further replies.

Share This Page