packs load in random order
this is my config:
Server:
packs:
all:
urls: ["https://cdn.modrinth.com/data/LBcosBrl/versions/rXky43kq/BetterVanillaBuildingV3.5.zip", "https://mediafilez.forgecdn.net/files/5095/617/BvB%20Logged%20Fences.zip", "https://mediafilez.forgecdn.net/files/5095/611/BvB%20Biome%20Campfires.zip"]
generate-hash: false
hashes: ["17ffe7b372784df495eb9ccc907ddbbf058fc5e9", "22da9c4e2c4984da3e2af458fcc647b3ba39662e", "8173b763ad89242d51aa32a73da9055af03b25a7"]
the packs are in order from first to last, however it seems the packs are loading in a different order (generate_hash on true seems to change it too)
the expected order from top to bottom is 3-2-1, however the order for this case is 1-3-2 what could be the cause for this issue? the plugin is generating the packs with the correct order:
[19:44:01 INFO]: [ForcePack] Performing version size check...
[19:44:01 INFO]: 1.8-1.15 (50 MB): Supported.
[19:44:01 INFO]: 1.16-1.17 (100 MB): Supported.
[19:44:01 INFO]: 1.18+ (250 MB): Supported.
[19:44:01 INFO]: Hash verification complete.
[19:44:01 INFO]: [ForcePack] Generated resource pack (https://cdn.modrinth.com/data/LBcosBrl/versions/rXky43kq/BetterVanillaBuildingV3.5.zip#17ffe7b372784df495eb9ccc907ddbbf058fc5e9) for version all with id cad39ab7-01f0-30b0-a34b-e78ce2768c5e
[19:44:01 INFO]: [ForcePack] Performing version size check...
[19:44:01 INFO]: 1.8-1.15 (50 MB): Supported.
[19:44:01 INFO]: 1.16-1.17 (100 MB): Supported.
[19:44:01 INFO]: 1.18+ (250 MB): Supported.
[19:44:01 INFO]: Hash verification complete.
[19:44:01 INFO]: [ForcePack] Generated resource pack (https://mediafilez.forgecdn.net/files/5095/617/BvB%20Logged%20Fences.zip#22da9c4e2c4984da3e2af458fcc647b3ba39662e) for version all with id 7c85b593-c2a3-357e-95cc-d4c63021c2c2
[19:44:01 INFO]: [ForcePack] Performing version size check...
[19:44:01 INFO]: 1.8-1.15 (50 MB): Supported.
[19:44:01 INFO]: 1.16-1.17 (100 MB): Supported.
[19:44:01 INFO]: 1.18+ (250 MB): Supported.
[19:44:01 INFO]: Hash verification complete.
[19:44:01 INFO]: [ForcePack] Generated resource pack (https://mediafilez.forgecdn.net/files/5095/611/BvB%20Biome%20Campfires.zip#8173b763ad89242d51aa32a73da9055af03b25a7) for version all with id df73d7ac-a9f8-3145-acce-caa030963933
Minecraft applies resource packs async and I highly suspect it entirely depends on which resourcepack finishes loading on the client first
is there any fix or workaround for this? it is very important to load first the main pack and the addons afterwards for everything to work properly
Nothing immediate. Could perhaps send each resource pack after one has finished being applied. But that’s increased delay for the user. Also possible that Mojang doesn’t care about order and it gets added completely randomly anyway.
well i wouldnt mind sending the packs with a small delay because its a tiny server for me and a few friends and its just 3 packs
This feature would be useful for me as well, I need a certain priority to make one of the resourcepacks work. I've just been struggling with that too.
there are ways to "merge" resource packs, that could be a good option but tbh i prefer having them separately for possible updates and stuff
Yeah, but i want sometimes to update "external" resourcepacks separately from our own resoucepack, so i don't want to merge it all the time into one resourcepack when I want to update one of them.
Heavy +1 on a fix/workaround for this
oh and also this might be an upstream (vanilla minecraft/papermc/spigot) bug or maybe intended? but if a player already has a resource pack on their resourcepacks folder ive seen it sometimes wont be applied for some reason