Remove variable from sidebar scoreboard

Discussion in 'Plugin Development' started by Mysticate, Mar 20, 2014.

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

    Mysticate

    I have a scoreboard with a fake-player type thing. It is always being changed and set again. However, because I am constantly adding the current value, how do I remove the one from the last time before it changed? Can I remove all "players" with a certain score?
     
  2. Offline

    Scizzr

    You can clear the scoreboard score for a specific player, if that's what you want:
    Code:
    Scoreboard.resetScores(OfflinePlayer);
     
  3. Offline

    Mysticate

    Scizzr
    That's the problem; the way i'm doing it, the player name IS the number changing. Is there any way to just clear the scoreboard of all players wihth a specific score?
     
  4. Offline

    Scizzr

    As far as I know, no - only to clear the entire scoreboard and rebuild it.
     
Thread Status:
Not open for further replies.

Share This Page