Anarchick / skript-packet

Another skript's packet addon to replace ThatPacketAddon with skript2.5.2+
MIT License
21 stars 4 forks source link

"`PLAYER_SERVER_PLAYER_INFO` is not supported by your server", are you sure ? #18

Closed AKtomik closed 1 year ago

AKtomik commented 1 year ago

Id like to use tablist packets with skript-packet

When i try to use the packet PLAYER_SERVER_PLAYER_INFO, i get an error saying PLAYER_SERVER_PLAYER_INFO is not supported by your server image so far no problem

But the packet PLAYER_SERVER_PLAYER_INFO allow the server to update player's info in the tab (user list). (information from here) So, how the server update and manage the tablist list if he dont use the PLAYER_SERVER_PLAYER_INFO packet ?

Im on the last version of paper 1.19.3, using the last version of skript and the last version of skript-packet. The PLAYER_SERVER_PLAYER_INFO packet type is repertoried here (screen down there) and in all packettypes skript-packet expression image

This issue is the result of the truble of an entier day : Now im locked here, and i dont understand how is it possible that "PLAYER_SERVER_PLAYER_INFO is not supported by your server". Take this issue as a questionnement, because im not sure, and I probably miss somethings. (and i created the issue #17 due to this truble)

Anarchick commented 1 year ago

can't replicate. works fine for me mc1.19.3, protocollib v5.0.0-snapshot.

on packet event play_server_player_info:
    set {packet} to event-packet
    broadcast {packet}
AKtomik commented 1 year ago

ok ! Problem patch when updating ProtocolLib from v5.0.0-SNAPSHOT-b600 to v5.0.0-SNAPSHOT-b612. (before) image (after) image So, now its working !

I was locked for 2 weeks about that, the solution was just to update protocolib, so dumb. It a mistake from me. moral: update protocolLib to the latest version

Thank for your help, and thank for skript-packet !!