Reactivate cleared scoreboard

Discussion in 'Plugin Development' started by Geekenex, May 28, 2016.

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

    Geekenex

    I have a minigame plugin and at the end of the game, the score board clears. (My scoreboard is called sb) I use
    Code:
    sb.clearSlot(DisplaySlot.Sidebar);
    But I don't know how to reactivate this scoreboard seeing it just dissapears until I reload the server. I use a playerKillCount objective. How would I make the scoreboard come back cleared? Thanks
     
  2. Before you clear the slot, get the scoreboard from that slot, safe it somewhere and put it in that slot once you want to use it again.
     
Thread Status:
Not open for further replies.

Share This Page