Scoreboard problem

Discussion in 'Plugin Development' started by Irantwomiles, Jan 22, 2017.

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

    Irantwomiles

    I have this plugin that I'm working on and it relies heavily on a scoreboard, but sometimes the scoreboard just disappears. My question is, can anything cause a scoreboard to "crash"? Like everything continues to function but the scoreboard just disappears.
     
  2. Offline

    Zombie_Striker

    @Irantwomiles
    That is most likely either a client side problem or you have another plugin/class re-setting the player's scoreboard.
     
  3. Offline

    Irantwomiles

    Thanks you, you actually helped a lot.

    Edit: I have 1 scoreboard that displays information and another that changes people's names. Could that be the problem?
     
  4. Offline

    Zombie_Striker

    @Irantwomiles
    It can be. If either one of them creates a new scoreboard instead of modifying the existing one, then that is what is causing the problem. If you have access to the source code for both plugins, go to both plugins and make sure it only creates a new scoreboard only if the player does not have a scoreboard.
     
  5. Offline

    Irantwomiles

    Well its my plugin, and I know I'm creating a second one. So I'll give that a try.
     
Thread Status:
Not open for further replies.

Share This Page