Solved Updating my scoreboard causes flickering

Discussion in 'Plugin Development' started by xCalib0r, May 3, 2014.

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


    So I have a kit pvp server and my scoreboard displays balance, kills, deaths, and killstreaks so i need these to be updated instantly. Right now It flickers time to time. What I'm doing.
    2. Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(dKits.getInstance(), new Runnable()

    Delaying = 0. So how else would I do it?
  2. Offline


    *hint hint* You need at least a little bit of delay or else you will get flickering, because your server is constantly checking; this what you could do is make it check when a kill occurs... Try figuring out :D
  3. Offline


    OnplayerKill {
    Reload scoreboard!
    NDUGAR likes this.
  4. Offline


    I honestly like to think I'm experienced with scoreboards, and I've encountered this flickering.
    Multiple causes I've noticed:
    • Setting the DisplaySlot without checking if it's already the one you're setting it to
    • Creating a new scoreboard object every time you want to show a scoreboard to the player
    • Constantly recursively replacing scores in the scoreboard even though they may already exist
Thread Status:
Not open for further replies.

Share This Page