PluginBugs / Issues-ItemsAdder

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

Itemsadder prevents loading due to falsely recognizing a resource pack from other plugin #3872

Closed SlyGuy89 closed 1 month ago

SlyGuy89 commented 1 month ago

Terms

Discord tag (optional)

nanashi0498

What happened?

Upon player login I receive the following error in console:

08.08 04:31:51 [Server] ERROR [ItemsAdder] Another plugin is trying to load a resourcepack. Please disable it in the other plugin config.
08.08 04:31:51 [Server] ERROR [ItemsAdder] URL: https://github.com/Ssomar-Developement/items/raw/main/__textures__/ExecutableItems_Pack.zip
08.08 04:31:51 [Server] ERROR [ItemsAdder] Minecraft only supports 1 server resourcepack.
08.08 04:31:51 [Server] ERROR [ItemsAdder] To use more than 1 resourcepack you have to merge them, please refer to the ItemsAdder wiki
08.08 04:31:51 [Server] ERROR [ItemsAdder] to know how to merge resource packs.
08.08 04:31:51 [Server] ERROR [ItemsAdder]  

This seems to have prevented Itemsadder from loading its resource pack. To my knowledge, ExecutableItems doesn't have capability to host its own resource pack, at least I certainly haven't configured one for it. I also see no setting in the EI configs to disable any sort of Resource Pack.

Due to the fact I've had Zero issues between EI and IA in the past, I'm assuming this could be a bug.

Steps to reproduce the issue

  1. Install Itemsadder and content
  2. Self-host Resource pack via Itemsadder
  3. Install ExecutableItems
  4. Log in to server (should get Resource Load error)

I have no indication that any other plugins are involved judging by the console error.

Server version

Paper 1.21-126-7e44684 (MC: 1.21)

ItemsAdder Version

ItemsAdder 4.0.2-alpha-test-3

ProtocolLib Version

ProtocolLib Build #726 (Latest Dev Build)

LoneLibs Version

LoneLibs 1.0.56

Full server log

latest.log

Error (optional)

08.08 04:31:51 [Server] ERROR [ItemsAdder]  
08.08 04:31:51 [Server] ERROR [ItemsAdder] Another plugin is trying to load a resourcepack. Please disable it in the other plugin config.
08.08 04:31:51 [Server] ERROR [ItemsAdder] URL: https://github.com/Ssomar-Developement/items/raw/main/__textures__/ExecutableItems_Pack.zip
08.08 04:31:51 [Server] ERROR [ItemsAdder] Minecraft only supports 1 server resourcepack.
08.08 04:31:51 [Server] ERROR [ItemsAdder] To use more than 1 resourcepack you have to merge them, please refer to the ItemsAdder wiki
08.08 04:31:51 [Server] ERROR [ItemsAdder] to know how to merge resource packs.
08.08 04:31:51 [Server] ERROR [ItemsAdder]

Problematic items yml configuration file (optional)

No response

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

metrics: true update-checker: true resource-pack: hosting: no-host: enabled: false auto-external-host: enabled: false self-host: enabled: true server-ip: 135.148.72.208 pack-port: 8080 external-host: enabled: false url: https://www.dropbox.com/scl/fi/i433zoc09wsukzz0t187s/pack91.zip?rlkey=dey68c9tq7znihtoww6hzmk0y&st=leppywj9&dl=0 skip-url-file-type-check___DONT_ASK_HELP_IF_SET_TRUE: false lobfile: enabled: false apply-on-join: true kick-player-on-decline: false kick-player-on-fail: false delay-ticks: 1 notify-other-plugins-interfering: true title: enabled: true 1_19_3_atlas_support: true fix_force_unicode_font_images: true protect-player: lock-player: true hide-hud: true command: usage-cooldown-seconds: 60 custom-font: enabled: false name: ipaexg.ttf shift: '[0,0]' size: 11.0 oversample: 2.0 thin-font: enabled: true zip: protect-file-from-unzip: protection_1: true protection_2: true compress-png-files: true compress-json-files: true generate-custom-armors-textures: vanilla_1_17: true optifine: true vanilla: false disable-overwrite-leather-armor-layers-textures: false fix_transparent_noteblocks: false ignore-files-ext:

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

No response

SlyGuy89 commented 1 month ago

RESOLVED!

As it turns out, at some point ExecutableItems DID add a ResourcePack, and my Config.yml file for EI had not updated.

I resolved this by deleting the Config.yml for ExectuableItems and restarting the server, then setting "enableTexturesPack:" option to false in the EI Config.

Hope this helps someone else resolve this issue quicker than I did!