mindcraft icon indicating copy to clipboard operation
mindcraft copied to clipboard

Bot don't see my messages

Open sebastttt opened this issue 1 year ago • 11 comments

I'm write in chat, but bot ignore me

sebastttt avatar Oct 29 '24 19:10 sebastttt

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.

BarelyAPrincess avatar Oct 30 '24 05:10 BarelyAPrincess

Same issue.

keydevelops avatar Oct 30 '24 08:10 keydevelops

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.

BarelyAPrincess avatar Oct 30 '24 13:10 BarelyAPrincess

Disabling the following chat mods worked for me:

  • More Chat History by JackFred
  • No Chat Reports by Aizistral (https://www.curseforge.com/minecraft/mc-mods/no-chat-reports)

flyingtruce avatar Oct 31 '24 13:10 flyingtruce

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.

JurassikLizard avatar Oct 31 '24 17:10 JurassikLizard

Yes, it's possible that i have mods in mods folder, i think that's the reason of the problem. Thank you

sebastttt avatar Nov 03 '24 12:11 sebastttt

It helped. Thanks.

keydevelops avatar Nov 04 '24 06:11 keydevelops

Removing mods solve this problem

sebastttt avatar Nov 04 '24 07:11 sebastttt

Problem not solved, I removed all mods, but bot don't react to my messages

sebastttt avatar Nov 04 '24 19:11 sebastttt

If you have multiple bots then it requires you to use the /msg \ /w command to whisper to each bot.

Shroototem avatar Nov 17 '24 18:11 Shroototem

If you have multiple bots then it requires you to use the /msg \ /w command to whisper to each bot.

Yeah, the problem has nothing to do with having multiple bots or not. I've tested in both scenarios and still experience issues.

BarelyAPrincess avatar Nov 28 '24 02:11 BarelyAPrincess