Getting the text of Playerlist Tab
-
@dntdbt I think it's better to check the chat bar by packet
@co丶dynamic
Nothing writes to chat. Only possible by checking tab-list -
@co丶dynamic
Nothing writes to chat. Only possible by checking tab-list@dntdbt
cant u just add the text if there is the link below? -
@dntdbt
cant u just add the text if there is the link below?@plumer-man I asked about the only upper line, now you asking about "why I can't just check the line below" and you even don't distribe how to do it, especially I just taked the screenshot of BlocksMC for an example
Just don't ask "
Can't u..", if you don't tell somebody how to do that :cI still can't get this line.
-
@plumer-man I asked about the only upper line, now you asking about "why I can't just check the line below" and you even don't distribe how to do it, especially I just taked the screenshot of BlocksMC for an example
Just don't ask "
Can't u..", if you don't tell somebody how to do that :cI still can't get this line.
@dntdbt is there nothing in core to find the header?
-
@plumer-man I asked about the only upper line, now you asking about "why I can't just check the line below" and you even don't distribe how to do it, especially I just taked the screenshot of BlocksMC for an example
Just don't ask "
Can't u..", if you don't tell somebody how to do that :cI still can't get this line.
@dntdbt play.server.S47PacketPlayerListHeaderFooter
-
@dntdbt play.server.S47PacketPlayerListHeaderFooter
@plumer-man the

-
@britishbiscuit ?
-
@britishbiscuit ?
@plumer-man its private you can't access it
-
@plumer-man its private you can't access it
@britishbiscuit https://scriptapi.liquidbounce.net/net/minecraft/network/Packet.html anything else that could be used
-
Heyo ppl <З
I have cool script but it works only on one of the minigames. The only possible method to check it is getting the text from Players tab
For example, I screened the blocksmc' one

Then, I need to get the text of the first line

But so, I tried different methods and nothing works. I will be grateful for any sorts of your help <З
if (e.getPacket() instanceof S47PacketPlayerListHeaderFooter) { footer = e.getPacket().getFooter() header = e.getPacket().getHeader() }@britishbiscuit said in Getting the text of Playerlist Tab:
@plumer-man its private you can't access it
getters
-
if (e.getPacket() instanceof S47PacketPlayerListHeaderFooter) { footer = e.getPacket().getFooter() header = e.getPacket().getHeader() }@britishbiscuit said in Getting the text of Playerlist Tab:
@plumer-man its private you can't access it
getters
-
if (e.getPacket() instanceof S47PacketPlayerListHeaderFooter) { footer = e.getPacket().getFooter() header = e.getPacket().getHeader() }@britishbiscuit said in Getting the text of Playerlist Tab:
@plumer-man its private you can't access it
getters
-
if (event.getPacket() instanceof S47PacketPlayerListHeaderFooter) { footer = event.getPacket().getFooter().getUnformattedText() header = event.getPacket().getHeader().getUnformattedText() // getFormattedText() if you want to include formatting codes, not recommended }getters > reflection
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login