thekeenant / tabbed

:book: Minecraft library for manipulating the tablist per player.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Player names are visible when custom is not full

thekeenant opened this issue · comments

image

TableTabList tab = (TableTabList) Atlas.getTabbed().getTabList(player);
if (tab == null)
  tab = Atlas.getTabbed().newTableTabList(player, 3);
tab.set(0, 1, new TextTabItem("Boop"));

They only appear when the tab list isn't 4x20.

Somehow Tabbed will have to cancel vanilla PlayerInfoData sent, though not cancelling them prior to a player is spawned.

Possible solution?

  1. Listen to player info data sent
  2. If it starts with $ or is not ADD_PLAYER then ignore
  3. Schedule REMOVE_PLAYER a few ticks later

And also every second or so send every player a vanilla player info packet ADD_PLAYER for every player online.

Resolved since 1.8.