PluginBugs / Issues-ItemsAdder

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

Item adder compatibility issue #3848

Closed Nicccoleee closed 4 months ago

Nicccoleee commented 4 months ago

Terms

Discord tag (optional)

nicole_uwu

What happened?

I am using ItemsAdder with ResourcePackManager ny MagmaGuy. After disabling self hosting, the plugin warns when rpm attempts to send pack to players. After speaking with RPM dev, we have concluded the issue is not caused by RPM.

Steps to reproduce the issue

  1. Install ItemsAdder with RPM
  2. Import models for ItemsAdder
  3. Attempt to merge resource packs using RPM

Server version

This server is running Paper version 1.21-120-master@227544c (2024-07-30T12:37:19Z) (Implementing API version 1.21-R0.1-SNAPSHOT) You are 3 version(s) behind Download the new version at: https://papermc.io/downloads/paper

ItemsAdder Version

itemsadder-401-alpha-test-5

ProtocolLib Version

5.3.0-SNAPSHOT-726

LoneLibs Version

1.0.56

Full server log

[20:26:10] [ServerMain/INFO]: [bootstrap] Running Java 21 (OpenJDK 64-Bit Server VM 21.0.3+9-LTS; Eclipse Adoptium Temurin-21.0.3+9) on Linux 6.1.0-18-amd64 (amd64) [20:26:10] [ServerMain/INFO]: [bootstrap] Loading Paper 1.21-120-master@227544c (2024-07-30T12:37:19Z) for Minecraft 1.21 [20:26:10] [ServerMain/INFO]: [PluginInitializerManager] Initializing plugins... [20:26:10] [Paper Plugin Remapper Thread - 2/INFO]: [PluginRemapper] Remapping plugin 'plugins/FreeMinecraftModels.jar'... [20:26:10] [Paper Plugin Remapper Thread - 3/INFO]: [PluginRemapper] Remapping plugin 'plugins/ResourcePackManager.jar'... [20:26:11] [Paper Plugin Remapper Thread - 2/INFO]: [PluginRemapper] Done remapping plugin 'plugins/FreeMinecraftModels.jar' in 1240ms. [20:26:11] [Paper Plugin Remapper Thread - 3/INFO]: [PluginRemapper] Done remapping plugin 'plugins/ResourcePackManager.jar' in 1341ms. [20:26:12] [ServerMain/INFO]: [PluginInitializerManager] Initialized 20 plugins [20:26:12] [ServerMain/INFO]: [PluginInitializerManager] Bukkit plugins (20):

[20:26:32] [Server thread/WARN]: [ItemsAdder] This is a test version of ItemsAdder v4 for Minecraft 1.20.6 and 1.21. [20:26:32] [Server thread/WARN]: [ItemsAdder] Please make backups before using this version. [20:26:32] [Server thread/WARN]: [ItemsAdder] Use this only on a test server. [20:26:32] [Server thread/WARN]: [ItemsAdder] I am not responsible for any damage done to your server.

[20:26:33] [Server thread/INFO]: [ItemsAdder] [Pack] Extracting internal contents from .jar [20:26:33] [Server thread/INFO]: [ItemsAdder] [Pack] Done extracting internal contents from .jar [20:26:35] [Server thread/INFO]: [EssentialsChat] Enabling EssentialsChat v2.21.0-dev+106-8b08a8f [20:26:35] [Server thread/INFO]: [EssentialsChat] Starting Metrics. Opt-out using the global bStats config. [20:26:35] [Server thread/INFO]: [KingdomsX] Enabling Kingdoms v1.17.1-ALPHA [20:26:35] [Server thread/INFO]: [KingdomsX] Loading language: EN (version 956bcc647e200ff8245b2aef9ab6c16842b82295) [20:26:35] [Server thread/INFO]: [KingdomsX] Default language: EN (English) [20:26:36] [Server thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD] [20:26:37] [Server thread/INFO]: [Kingdoms] Successfully registered LuckPerms context. [20:26:37] [Server thread/INFO]: [Kingdoms] Citizens not found. [20:26:37] [Server thread/INFO]: [Kingdoms] MyPet not found. [20:26:37] [Server thread/INFO]: [Kingdoms] MCPets not found. [20:26:37] [Server thread/INFO]: [Kingdoms] CombatPets not found. [20:26:37] [Server thread/INFO]: [Kingdoms] MVdWPlaceholderAPI not found. [20:26:37] [Server thread/INFO]: [Kingdoms] PlaceholderAPI found and hooked. [20:26:37] [Server thread/INFO]: [Kingdoms] ProjectKorra not found. [20:26:37] [Server thread/INFO]: [Kingdoms] WorldGuard found and hooked. [20:26:37] [Server thread/INFO]: [Kingdoms] Vault found and hooked. [20:26:37] [Server thread/INFO]: [Kingdoms] AuthMe not found. [20:26:37] [Server thread/INFO]: [Kingdoms] DiscordSRV not found. [20:26:37] [Server thread/INFO]: [Kingdoms] LuckPerms found and hooked. [20:26:37] [Server thread/INFO]: [Kingdoms] MythicMobs not found. [20:26:37] [Server thread/INFO]: [Kingdoms] Essentials found and hooked. [20:26:37] [Server thread/INFO]: [Kingdoms] CMI not found. [20:26:37] [Server thread/INFO]: [Kingdoms] Slimefun not found. [20:26:37] [Server thread/INFO]: [Kingdoms] Nova not found. [20:26:37] [Server thread/INFO]: [Kingdoms] dynmap not found. [20:26:37] [Server thread/INFO]: [Kingdoms] BlueMap not found. [20:26:37] [Server thread/INFO]: [Kingdoms] squaremap not found. [20:26:37] [Server thread/INFO]: [Kingdoms] Pl3xMap not found. [20:26:37] [Server thread/INFO]: [KingdomsX] Loading SQL libraries for Globals database... [20:26:37] [Server thread/INFO]: [KingdomsX] Loaded all libraries. [20:26:38] [Server thread/INFO]: [KingdomsX] Running H2 SQL Database: [20:26:38] [Server thread/INFO]: [KingdomsX] | Driver: H2 JDBC Driver (catalog) / 2.2.224 (2023-09-17) [20:26:38] [Server thread/INFO]: [KingdomsX] | Product: H2 / 2.2.224 (2023-09-17) [20:26:38] [Server thread/INFO]: [KingdomsX] | JDBC: 4.2 [20:26:38] [Server thread/INFO]: [PlaceholderAPI] Successfully registered internal expansion: kingdoms [11.0.0] [20:26:38] [Server thread/INFO]: [KingdomsX] A total of 147 loaded chunks has been queried. [20:26:38] [kingdoms-worker-0/INFO]: [Kingdoms] Checking for updates... [20:26:38] [Server thread/INFO]: [KingdomsX] Loading all players... [20:26:38] [Server thread/INFO]: [TAB] Enabling TAB v4.1.6 [20:26:39] [Server thread/INFO]: [TAB] Loaded NMS hook in 94ms [20:26:39] [Server thread/INFO]: [TAB] Enabled in 509ms [20:26:39] [Server thread/INFO]: [AnimatedScoreboard] Enabling AnimatedScoreboard v0.3.5 [20:26:39] [Server thread/INFO]: [PlaceholderAPI] Successfully registered internal expansion: animatedscoreboard [0.0.1] [20:26:39] [Server thread/INFO]: [PlayerKits2] Enabling PlayerKits2 v1.12.2 [20:26:39] [Server thread/INFO]: [PlaceholderAPI] Successfully registered internal expansion: playerkits [1.12.2] [20:26:39] [Server thread/INFO]: [PlayerKits²] Has been enabled! Version: 1.12.2 [20:26:39] [Server thread/INFO]: [PlayerKits²] Thanks for using my plugin! ~Ajneb97 [20:26:40] [Server thread/INFO]: [AxGraves] Enabling AxGraves v1.13.1 [20:26:40] [Server thread/INFO]: [EssentialsSpawn] Enabling EssentialsSpawn v2.21.0-dev+106-8b08a8f [20:26:40] [Server thread/INFO]: [EssentialsSpawn] Starting Metrics. Opt-out using the global bStats config. [20:26:40] [Server thread/INFO]: [ResourcePackManager] Enabling ResourcePackManager v0.0.2 [20:26:40] [Server thread/INFO]:


| _ \/ | _ \ \/ |_ _ | /_ \ / |\/| / ` | ' \/ / _ / -) '| |||/| || |_,|||_,_, \|_|
|___/
[20:26:40] [Server thread/INFO]: ResourcePackManager v.0.0.2 [20:26:40] [Server thread/INFO]: [ResourcePackManager] MagmaCore v1.0 initialized! [20:26:40] [Server thread/INFO]: [ResourcePackManager] Creating blueprint folder [20:26:40] [Server thread/INFO]: [ResourcePackManager] Copying image [20:26:40] [Server thread/INFO]: [ResourcePackManager] Copying mcmeta [20:26:40] [Server thread/INFO]: [ResourcePackManager] Initializing ResourcePackManager's resource pack [20:26:40] [Server thread/INFO]: [ResourcePackManager] Initializing FreeMinecraftModels's resource pack [20:26:40] [Server thread/INFO]: [ResourcePackManager] Cloning resource pack from plugins/FreeMinecraftModels/output/FreeMinecraftModels.zip [20:26:40] [Server thread/INFO]: [ResourcePackManager] Initializing ItemsAdder's resource pack [20:26:40] [Server thread/INFO]: [ResourcePackManager] Hard collision for file /home/mc/srv/plugins/ResourcePackManager/output/ResourcePackManager_RSP/pack.mcmeta detected! Auto-resolved based on highest priority. [20:26:40] [Server thread/INFO]: [EssentialsDiscord] Enabling EssentialsDiscord v2.21.0-dev+106-8b08a8f [20:26:41] [Server thread/INFO]: [EssentialsDiscord] Starting Metrics. Opt-out using the global bStats config. [20:26:41] [Server thread/INFO]: [EssentialsDiscord] Attempting to login to Discord... [20:26:41] [Server thread/ERROR]: [EssentialsDiscord] An error occurred while logging into Discord, which has caused the plugin to disable itself: No token provided! Please follow the tutorial in the config in order to setup the plugin. [20:26:41] [Server thread/INFO]: [NotBounties] Enabling NotBounties v1.19.8 [20:26:41] [Server thread/INFO]: [PlaceholderAPI] Successfully registered internal expansion: notbounties [1.19.8] [20:26:41] [Server thread/INFO]: [NotBounties] Database not connected, using internal storage [20:26:41] [Server thread/INFO]: [spark] Starting background profiler... [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing... [20:26:42] [Server thread/INFO]: Done preparing level "world" (15.708s) [20:26:42] [Server thread/INFO]: Starting GS4 status listener [20:26:42] [Server thread/INFO]: Thread Query Listener started [20:26:42] [Server thread/INFO]: Running delayed init tasks [20:26:42] [Query Listener #1/INFO]: Query running on 0.0.0.0:30525 [20:26:42] [Craft Scheduler Thread - 8 - Kingdoms/INFO]: [Kingdoms] No update found - (v1.17.1-ALPHA) [20:26:42] [Craft Scheduler Thread - 11 - AnimatedScoreboard/INFO]: [AnimatedScoreboard] Checking for an update! [20:26:42] [Server thread/INFO]: [com.fastasyncworldedit.bukkit.regions.WorldGuardFeature] Plugin 'WorldGuard' found. Using it now. [20:26:42] [Craft Scheduler Thread - 4 - Essentials/INFO]: [Essentials] Fetching version information... [20:26:42] [Server thread/INFO]: [com.fastasyncworldedit.bukkit.FaweBukkit] Attempting to use plugin 'WorldGuard' [20:26:42] [Craft Scheduler Thread - 9 - Vault/INFO]: [Vault] Checking for Updates ... [20:26:42] [Craft Scheduler Thread - 2 - FreeMinecraftModels/INFO]: [FreeMinecraftModels] Latest public release is 9.0.4 [20:26:42] [Craft Scheduler Thread - 2 - FreeMinecraftModels/INFO]: [FreeMinecraftModels] Your version is 1.4.0-SNAPSHOT [20:26:42] [Craft Scheduler Thread - 5 - ItemsAdder/INFO]: [ItemsAdder] [License] Spigot product licensed to: NicoleShuzo (2075624) [20:26:42] [Craft Scheduler Thread - 2 - FreeMinecraftModels/INFO]: You are running a snapshot version! You can check for updates in the #releases channel on the FreeMinecraftModels Discord! [20:26:42] [Craft Scheduler Thread - 11 - AnimatedScoreboard/INFO]: [AnimatedScoreboard] No new versions found for the plugin! [20:26:42] [Server thread/INFO]: [Essentials] Essentials found a compatible payment resolution method: Vault Compatibility Layer (v1.7.3-b131)! [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: servertime [3.2] [20:26:42] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion playerstats due to a missing plugin: PlayerStats [20:26:42] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion nicknamer due to a missing plugin: NickNamer [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: playerlist [3.0.7] [20:26:42] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion playertime due to a missing plugin: PlayerTime [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: server [2.7.2] [20:26:42] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion ServerWebsite due to a missing plugin: ServerWebsite [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: statistic [2.0.1] [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: essentials [1.5.2] [20:26:42] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion superbvote due to a missing plugin: SuperbVote [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: kdratio [1.1.0] [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: localtime [1.2] [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3] [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: luckperms [5.4-R2] [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: player [2.0.8] [20:26:42] [Server thread/INFO]: 10 placeholder hook(s) registered!

[20:26:42] [Server thread/INFO]: Timings Reset [20:26:42] [Craft Scheduler Thread - 7 - ItemsAdder/INFO]: [ItemsAdder] Loaded 36 items [20:26:42] [Craft Scheduler Thread - 7 - ItemsAdder/INFO]: [ItemsAdder] Used 0/188 REAL block IDs [20:26:42] [Craft Scheduler Thread - 9 - Vault/INFO]: [Vault] No new version available [20:26:42] [Craft Scheduler Thread - 7 - ItemsAdder/INFO]: [ItemsAdder] Used 0/750 REAL_NOTE block IDs [20:26:42] [Craft Scheduler Thread - 7 - ItemsAdder/INFO]: [ItemsAdder] Used 0/63 REAL_TRANSPARENT block IDs [20:26:42] [Craft Scheduler Thread - 7 - ItemsAdder/INFO]: [ItemsAdder] Used 0/127 REAL_WIRE block IDs [20:26:42] [Craft Scheduler Thread - 7 - ItemsAdder/INFO]: [ItemsAdder] Used 0/14 FIRE block IDs [20:26:42] [Craft Scheduler Thread - 7 - ItemsAdder/INFO]: [ItemsAdder] Used 27/6608 font_images [20:26:42] [Craft Scheduler Thread - 7 - ItemsAdder/INFO]: [ItemsAdder] [Init] Loaded 2 categories [20:26:42] [Craft Scheduler Thread - 7 - ItemsAdder/INFO]: [ItemsAdder] [Init] Loaded successfully. [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered internal expansion: img [1.0.1] [20:26:42] [Server thread/INFO]: [PlaceholderAPI] Successfully registered internal expansion: iaplayerstat [1.0.1] [20:26:43] [Craft Scheduler Thread - 3 - Kingdoms/INFO]: [Kingdoms] Setting up nations data... [20:26:43] [Craft Scheduler Thread - 3 - Kingdoms/INFO]: [Kingdoms] Done, loaded a total of 0 nations. Took 1ms [20:26:43] [Craft Scheduler Thread - 3 - Kingdoms/INFO]: [Kingdoms] Setting up kingdoms data... [20:26:43] [Craft Scheduler Thread - 3 - Kingdoms/INFO]: [Kingdoms] Done, loaded a total of 0 kingdoms. Took 1ms [20:26:43] [kingdoms-worker-1/INFO]: [KingdomsX] Updating top kingdoms... 0 [20:26:43] [pool-62-thread-1/INFO]: [Kingdoms] You already have a backup for today! [20:26:43] [Craft Scheduler Thread - 3 - Kingdoms/INFO]: [Kingdoms] Performing daily checks... [20:26:44] [Craft Scheduler Thread - 10 - ResourcePackManager/INFO]: [ResourcePackManager] Uploaded resource pack for automatic hosting! [20:27:06] [User Authenticator #0/INFO]: UUID of player Nicccoleee is 96301598-f673-45cc-9d93-d81abe1a13d6 [20:27:06] [Server thread/INFO]: [ResourcePackManager] event

[20:27:06] [Server thread/ERROR]: [ItemsAdder] Another plugin is trying to load a resourcepack. Please disable it in the other plugin config. [20:27:06] [Server thread/ERROR]: [ItemsAdder] URL: http://magmaguy.com:50000/rsp_b124ef3a-f7a1-468d-949f-5ffbc59b842a [20:27:06] [Server thread/ERROR]: [ItemsAdder] Minecraft only supports 1 server resourcepack. [20:27:06] [Server thread/ERROR]: [ItemsAdder] To use more than 1 resourcepack you have to merge them, please refer to the ItemsAdder wiki [20:27:06] [Server thread/ERROR]: [ItemsAdder] to know how to merge resource packs.

[20:27:06] [Server thread/INFO]: Nicccoleee joined the game [20:27:07] [Server thread/INFO]: Nicccoleee[/185.25.121.158:40512] logged in with entity id 22 at ([world]123.13827675637097, -61.0, -95.95252751928032) [20:27:07] [Craft Scheduler Thread - 5 - PlaceholderAPI/INFO]: [LocalTime] Couldn't get Nicccoleee's timezone. Will use default timezone. [20:27:12] [Server thread/INFO]: Nicccoleee issued server command: /rspm data_compliance_request [20:27:16] [Server thread/INFO]: Nicccoleee issued server command: /rspm reload [20:27:16] [Server thread/INFO]: [ResourcePackManager] Disabling ResourcePackManager [20:27:16] [Server thread/INFO]:


| _ \/ | _ \ \/ |_ _ | /_ \ / |\/| / ` | ' \/ / _ / -) '| |||/| || |_,|||_,_, \|_|
|___/
[20:27:16] [Server thread/INFO]: ResourcePackManager v.0.0.2 [20:27:16] [Server thread/INFO]: [ResourcePackManager] Creating blueprint folder [20:27:16] [Server thread/INFO]: [ResourcePackManager] Copying image [20:27:16] [Server thread/INFO]: [ResourcePackManager] Copying mcmeta [20:27:16] [Server thread/INFO]: [ResourcePackManager] Initializing ResourcePackManager's resource pack [20:27:16] [Server thread/INFO]: [ResourcePackManager] Initializing FreeMinecraftModels's resource pack [20:27:16] [Server thread/INFO]: [ResourcePackManager] Initializing ItemsAdder's resource pack [20:27:16] [Server thread/INFO]: [ResourcePackManager] Hard collision for file /home/mc/srv/plugins/ResourcePackManager/output/ResourcePackManager_RSP/pack.mcmeta detected! Auto-resolved based on highest priority. [20:27:17] [Craft Scheduler Thread - 11 - ResourcePackManager/INFO]: [ResourcePackManager] Uploaded resource pack for automatic hosting!

[20:27:17] [Server thread/ERROR]: [ItemsAdder] Another plugin is trying to load a resourcepack. Please disable it in the other plugin config. [20:27:17] [Server thread/ERROR]: [ItemsAdder] URL: http://magmaguy.com:50000/rsp_b124ef3a-f7a1-468d-949f-5ffbc59b842a [20:27:17] [Server thread/ERROR]: [ItemsAdder] Minecraft only supports 1 server resourcepack. [20:27:17] [Server thread/ERROR]: [ItemsAdder] To use more than 1 resourcepack you have to merge them, please refer to the ItemsAdder wiki [20:27:17] [Server thread/ERROR]: [ItemsAdder] to know how to merge resource packs.

[20:27:19] [Server thread/INFO]: Nicccoleee issued server command: /ia [20:27:22] [Server thread/INFO]: Nicccoleee issued server command: /plugins

Error (optional)

[20:27:17] [Craft Scheduler Thread - 11 - ResourcePackManager/INFO]: [ResourcePackManager] Uploaded resource pack for automatic hosting!
[20:27:17] [Server thread/ERROR]: [ItemsAdder]  
[20:27:17] [Server thread/ERROR]: [ItemsAdder] Another plugin is trying to load a resourcepack. Please disable it in the other plugin config.
[20:27:17] [Server thread/ERROR]: [ItemsAdder] URL: http://magmaguy.com:50000/rsp_b124ef3a-f7a1-468d-949f-5ffbc59b842a
[20:27:17] [Server thread/ERROR]: [ItemsAdder] Minecraft only supports 1 server resourcepack.
[20:27:17] [Server thread/ERROR]: [ItemsAdder] To use more than 1 resourcepack you have to merge them, please refer to the ItemsAdder wiki
[20:27:17] [Server thread/ERROR]: [ItemsAdder] to know how to merge resource packs.
[20:27:17] [Server thread/ERROR]: [ItemsAdder]

Problematic items yml configuration file (optional)

No response

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

config ia.txt its congif of item adder that show hosting is off

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

image

Andre601 commented 4 months ago

It's not enough to just disable the self-host option. You actually need to enable no-host in the config.yml of ItemsAdder to make this work.

Personally speaking, I see this error as an artifact of the past, because latest MC versions allow multiple resource packs to be sent to the Player to download and use, making the "Only 1 RP may be used" message redundand... Tho, there could be other issues too if multiple plugins try to send one or multiple RPs to the player at the same time... It's something LoneDev has to look into eventually.

Nicccoleee commented 4 months ago

Thanks now its working o7