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!
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?
Once you have a scoreboard instance you just set it to the relevant player: Code:java Scoreboard sb;Player p;p.setScoreboard(sb);