Scoreboard score duplicates

Discussion in 'Plugin Development' started by JeckBiagio_, Oct 29, 2017.

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

    JeckBiagio_

    Hi, i have a problem with the scoreboard, when i change my pex group, the score "Rank: " duplicates;
    If you know how to fix can you help me?
     
  2. Offline

    timtower Administrator Administrator Moderator

    Last edited: Oct 29, 2017
  3. Offline

    JeckBiagio_

  4. Offline

    timtower Administrator Administrator Moderator

    @JeckBiagio_ Next time please post the code right away, I was thinking that you used a third party plugin for the scoreboard handling.
    Personally can't help with this one.
     
  5. Offline

    JeckBiagio_

    Ok no problem (sorry but i'm new on bukkit)
     
  6. Clear your scoreboard before you update it.. it might flicker a tiny bit and you can find a workaround but for the fact "Rank: " is duplicating, it means that it found a new value to add on. You aren't really updating the scoreboard, you are just adding a score. The same score updates, but if a value changes, it'll add on if it wasn't cleared first. To prevent flickering, you will have to search for a method to replace values even after it's set.
     
Thread Status:
Not open for further replies.

Share This Page