LoneDev6 / BungeePackFix

Avoid sending resourcepacks again if it's the same resourcepack (useful for ItemsAdder).
https://www.spigotmc.org/resources/96794/
Other
33 stars 16 forks source link

BungeePackFix - pack unloading / BPF ignores reloading #53

Open MCBerrand opened 10 months ago

MCBerrand commented 10 months ago

Velocity 3.3.0 snap 334 (Velocity) running BungeePackFix 1.1.5-beta1 Paper-1.20.4 b391 - ItemsAdder 3.6.3-beta-9.jar (Market) - Self Hosted pack Paper-1.20.4 b391 - ItemsAdder 3.6.3-beta-9.jar (Pink) - external host (Market) Paper-1.20.4 b391 - ItemsAdder 3.6.3-beta-9.jar (Blue) - external host (Market) Paper-1.20.4 b391 - ItemsAdder 3.6.3-beta-9.jar (Creative) - external host (Market)

The goal is to have the pack load once on initial join, and should never unload or reload regardless of which of the 4 servers they are connected to.

With the current setup, whenever a player joins, the pack loads once. They are free to swap between servers without extra pack loads/unloads until they go back to the server they originally joined on (I.e.: Joins on Blue, goes to Pink, then Market, then Pink, then Creative, then back to Blue). Once they go back to first server joined, the pack unloads for some reason and BPF ignores reloading (as it should). We can't figure out why rejoining initial server causes the pack to unload.

Our temporary fix: Force all players to join Market on initial connect. Pack will always load here because BPF is set to ignore Market. Players are free to swap between all servers, but when rejoining Market pack will always unload/redownload and reload.

PSYCHEER commented 7 months ago

Same issue here on ItemsAdder_3.6.3-beta-13.jar EDIT: BungeePackFix_1.1.6-beta1.jar