How can i remove a score from an objective?

Discussion in 'Plugin Development' started by EvilPeanut, May 19, 2013.

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

    EvilPeanut

    How can i remove a score from an objective on a scoreboard?
     
  2. Offline

    NoLiver92

    Is it your scoreboard or someone else's?
     
  3. Offline

    EvilPeanut

    Mine, ive coded every plugin on my server :)
     
  4. Offline

    fromgate

    Hello, EvilPeanut

    Did you solved this question? May be you can help me? I need to remove score from scoreboard too. I tried to clear all objectives at my scoreBoard: brd.getObjectives().clear(); but this give me an exception:

     
  5. Offline

    blablubbabc

    scoreboard.resetScores(Bukkit.getOfflinePlayer("Kills")); maybe ? this removes a score from a scoreboard I would guess

    I have to notive that it doesn't work that well like intended (at least for one of my projects).. So I am creating a complete new Scoreboard instead now when I change something.. This ticket is probably related: https://bukkit.atlassian.net/browse/BUKKIT-4014

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 1, 2016
    fromgate likes this.
Thread Status:
Not open for further replies.

Share This Page