Open sebastttt opened 3 days ago
I have the same issue. I've been trying to find a cause, but I'm not yet familiar with the code.
I'm using a local installation of Ollama for my backend.
Same issue.
The issue exists in both Minecraft 1.20.4 and 1.21.1. The best I can come up with for myself is it will only work if I'm using absolutely no mods. When using some Vanilla+ QoL mods it breaks, and I'm wondering if it's being caused by a bug in the Mineslayer module that parses the chat messages. In the chat specific code in Mineslayer is a regex const that is used for parsing out chat messages. I can easily see this breaking if a mod changes anything to do with the expected format messages are sent to the players.
Disabling the following chat mods worked for me:
The server environment cannot be modded with mineflayer. While it seems you guys are hosting a vanilla server and connecting with a modded client, stuff like modded chats can still get through to the server environment, thus causing problems with mineflayer. My suggestion is to use strictly QoL mods that don't interact at all with the server, including chats, skins, or other things of that nature. Performance mods or shaders or stuff like that is fine as long as you're still connecting to a vanilla server.
I'm write in chat, but bot ignore me