Manipulating Ping Bars in tab

Discussion in 'Plugin Development' started by pomtom44, Jul 6, 2020.

  1. Offline

    pomtom44

    Hi all
    I want to manipulate the Ping Bar level in the tablist, but i dont know how best to do that,

    I did find the packet for

    PlayerInfoData playerData = new PlayerInfoData(new WrappedGameProfile(player.getUniqueID(), player.getName()) , ping, NativeGameMode.SURVIVAL , WrappedChatComponent.fromText(player.getName()));

    But im not sure what the ping value is supposed to actually do
    Iv tried setting it but it doesn't appear to change the green bars on the tab list

    Is there another way I can do what im trying to do

    Thanks in advance
     

Share This Page