Closed nhanledev closed 8 months ago
This is a normal behaviour, literally your paper server is removing the resource pack before send it to 1.20.4 players, this causes the resource pack get reloaded everytime.
[18:52:01 INFO] [OneTimePack]: [PLAY] Packet#read() = ClientboundResourcePackPop{hasUniqueId=true, uniqueId=3c5d3fbe-29f2-3896-90af-a0a722e09a6a}
[18:52:01 INFO] [OneTimePack]: Remove cached packet using: ClientboundResourcePackPop{hasUniqueId=true, uniqueId=3c5d3fbe-29f2-3896-90af-a0a722e09a6a} from player c9bd2771-a736-35c8-a2a8-2fc1d51fbba9
Change the way how texture pack is sent from your Paper server if you want to fix that. OneTimePack only saves information about duplicate packs, it doesn't cancel when a server wants to remove a resource pack directly from player.
Also use the latest release (It fixes directly this pack sending behaviour).
This behavior is really weird for me because everything runs fine on paper 1.20.2 and I am just trying to update paper servers to 1.20.4. Rolled the servers back to 1.20.2 fixes this issue. I will try to test the new release again on the 1.20.4 backend and will tell you about the result here.
OneTimePack 1.5 fixes my issue. Thank you so much.
Hello,
I am testing the OneTimePack version 1.4.2 using default config on 1.20.1 and 1.20.4 vanilla clients on 1.20.4 paper servers. The only feature I turn on is
Send-Invalid: true
On 1.20.1 client, when player switch server the resource pack does not reload, which is expected. On 1.20.4 client, when player switch server the resource pack get reloaded everytime.
I am trying to see what is happening and notice that
player.isUniquePack()
always returns false in my case.The log on 1.20.1 client
The log on 1.20.4 client
The config file