Solved About "Player_List"...

Discussion in 'Spigot Plugin Development' started by Flaquito, Feb 13, 2020.

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

    On tablist I add an objetive that create teams and those things. So, the problem is that in-game when I see the tab list, the player appears with what I want: his prefix; and with I don't want: a zero (0), I don't know why.

    The parameters for the objetive are this:
    Objective obj = board.registerNewObjective("ranks", "dummy");

    Why is that zero in tablist? How can I remove it?
     
  2. can you show us the full code?
     
  3. If you are using display slot BELOW_NAME you can't remove the number
    But as said before, post full code and pictures.
     
  4. You do not need to create an objective in order to have teams. I have teams without any objective. Since your objective is dummy, it is initialized to 0 for everyone and if you put it in the display slot PLAYER_LIST then yeah, it will appear. Just remove everything related to the objective and keep the teams. That should do
     

  5. It works. Thanks and to all of you guys.
     
Thread Status:
Not open for further replies.