Remove spectator display on tablist

Discussion in 'Spigot Plugin Development' started by Soolz, Aug 13, 2018.

  1. All is in the title :D
     
  2. Since i can’t find anything useful in the Spigot JavaDoc, i guess you'll need to hook into NMS.
    Send a Player_List_Item packet with action 4 (remove) for the player. Therefore only its UUID is required.

    You didn't ask, how to get it back again...
    Because this might be harder or works automatically 50/50 chance.
     
    • Like Like x 1
  3. Ohh... thank you, but I don't understand yet NMS :confused:
     
  4. p.hidePlayer(<PLAYERS>);
     
    • Like Like x 1
  5. Thank you, but is it possible to make viewers as if they were not in the tablist?
     
  6. yes, check for yourself