How to get a scoreboard

Discussion in 'Spigot Plugin Development' started by TheGamerPlayz, May 26, 2016.

  1. How would i select an already existing scoreboard and add a player to it?
     
  2. If you made the scoreboard then you need to keep an instance of it.
    If it's a scoreboard from another plugin, it either has to be set as the main scoreboard, or you need to get the scoreboard from an already existing player.

    You set scoreboards by calling Player#setScoreboard
     
  3. Ok i was just wondering if I could just use another way to get it besides calling on it from somewhere as I do not know how to do that well