PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
53 stars 21 forks source link

Resource pack couldn't be appliet #3867

Closed OrsoSgravato34 closed 2 months ago

OrsoSgravato34 commented 2 months ago

Terms

Discord tag (optional)

orso_34

What happened?

I already reported this on the forum and they sent me here, btw whenever i try to join the server the resource packs load but after it loaded it says Resource pack couldn't be appliet, already checked the client logs and this what is saying

Pack application failed: java.lang.NullPointerException, deleting file C:\Users\User\AppData\Roaming\.minecraft\server-resource-packs\c4e9ada93d4d0ff7250004a41c33cf513bc05be5

Failed to delete file C:\Users\User\AppData\Roaming\.minecraft\server-resource-packs\c4e9ada93d4d0ff7250004a41c33cf513bc05be5: C:\Users\User\AppData\Roaming\.minecraft\server-resource-packs\c4e9ada93d4d0ff7250004a41c33cf513bc05be5

Steps to reproduce the issue

Self host the texture pack open the server join the server and wait it to load

Server version

This server is running Paper version git-Paper-411 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 6625db3 on ver/1.17.1) You are running the latest version

ItemsAdder Version

[16:40:35 INFO]: ItemsAdder version 3.6.4-release-3 [16:40:35 INFO]: Customized Minecraft without client mods! [16:40:35 INFO]: Website: devs.beer [16:40:35 INFO]: Author: LoneDev

ProtocolLib Version

[16:40:52 INFO]: ProtocolLib version 5.2.0-SNAPSHOT-679 [16:40:52 INFO]: Provides read/write access to the Minecraft protocol. [16:40:52 INFO]: Authors: dmulloy2 and comphenix

LoneLibs Version

[16:41:16 INFO]: LoneLibs version 1.0.55 [16:41:16 INFO]: Collection of libs used by my plugins [16:41:16 INFO]: Authors: LoneDev and others

Full server log

https://mclo.gs/cVx0T0b#L1298

Do not mind the other errors, it did the same thing even without that errors

Error (optional)

There's no error message

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

Andre601 commented 2 months ago

I may be wrong but the issue may be the fact that your IP is set to 0.0.0.0 for the self-host, which may not work here. Please make sure you actually use the IP of your server and that the port you use (25567) is actually a free port that isn't used for a MC server (Port should and can't be the MC server port).

Regarding your client-side error. It hints at not being able to delete your old Resource pack, which could be a permission issue on your PC, where MC doesn't have rights to delete files. Or the file in question may be opened by another programm, prohibiting the deletion of it.

I suggest deleting the server_resourcepacks folder in your client to see if that fixes it. But other than that is there nothing we can help you here with, as client issues are not ItemsAdder issues.

OrsoSgravato34 commented 2 months ago

I'm 100% sure that i'm using the server port and the correct server ip so idk what seems to be the problem

LoneDev6 commented 2 months ago

0.0.0.0 Is an invalid IP. This is a local IP, not the external IP.

OrsoSgravato34 commented 2 months ago

What do you mean by external IP? I used the server IP like said in the config.yml