Closed TerminalCalamitas closed 8 months ago
Looks like the resource pack plugin needs to be updated to support the new add_resource_pack
packet which allows a server to use multiple resource packs. May also want to add support for the remove_resource_pack
packet in that as well. (Keep track of enabled resource packs?)
I'm willing to update the resource_pack.js plugin, but before I do stuff, is there a recommended way to write the plugins? I ask since I'm unfamiliar with how the events get defined.
Versions
Detailed description of a problem
When connecting to a 1.20.4 server, if the server has a specified resource pack, the bot doesn't spawn and times out.
What did you try yet?
Did you try any method from the API? I tried using the bot.denyResourcePack() and bot.acceptResourcePack() methods, but those didn't work. Did you try any example? Any error from those? The resourcepack example is also unable to join the server.
Your current code
My code is really large, so this is just a small section.
Expected behavior
In this code the bot should output:
But the code gets stuck at Plugins Loaded, then times out.
Additional context
No matter what code examples I run the bot won't connect to a server with a specified resource pack. I've attached a file with the debug output of the bot execution that also has the error that appears in the server console when the bot times out, in case that's helpful. BotTimeOut.log