spartacus04 / jext-reborn

Level up your server with custom music discs - "Just like vanilla jukebox, but better!". I mantain this in my free time.
https://spartacus04.github.io/jext-reborn/
Other
36 stars 8 forks source link

[Bug]: Resource pack download failed, please re-join to try again. #295

Closed nuttapillar closed 5 months ago

nuttapillar commented 5 months ago

Describe the bug

When I add this plugin to the server, Java players get the error mentioned in the title, and are unable to join the server. As soon as I remove the plugin, it all works fine again. This was happening a few versions ago, and I decided to try the plugin again after some updates, but it's still doing it.

Steps to reproduce

Create a server resource pack containing custom sounds. Use the online generator to make a JEXT pack. merge the JEXT pack with existing custom resource pack. Notice that the pack downloads and runs just fine on its own. Add the JEXT plugin. Suddenly people cannot join the server.

Expected behaviour

I expect the pack to continue working, even with the plugin running. image

Logs

No response

Server Version

1.20.4

Server Type

Paper

Discs.json

No response

Resource pack

https://www.dropbox.com/scl/fi/8pqp2qdp2nhfddo43wj8t/MDU25.zip?rlkey=eryffo8mr5ib4telxyuucmpta&dl=1

Jukebox Behaviour

Vanilla

Before submitting the issue

spartacus04 commented 5 months ago

Is the 9871 port open on your server? If not you need to disable the enable-resource-pack-host in the config and load the resourcepack by using something like dropbox. Also check if the force-resource-pack is enabled in the config, you can disable the kicking behaviour.

If you decide to not open the port you also need to create a sha1 of the resourcepack and add it to the server.properties

nuttapillar commented 5 months ago

force resource pack is already false. and I use mc-packs.net to host the pack, which creates a sha1, which i have put in the properties. I don't think 9871 is open. but since i have it hosted on mc-packs, i can keep that closed, right?

spartacus04 commented 5 months ago

Yes, you can keep it closed. I just noticed I inadvertently inverted the condition for failed resource pack downloads, I'll publish an update rn which fixes this. You should also disable the resource pack host if you are not using it