question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

1.19.10 Chat is not being read

See original GitHub issue

I am using the example scripts to listen to chat and chat is not being listened to. This was working fine on 1.19.1 and now is not working on 1.19.10.

const bedrock = require('bedrock-protocol')
const client = bedrock.createClient({   // optional
  realms: {
    realmInvite: "https://realms.gg/I4Pm46UEw6I"
  },         // optional, default 19132
  username: 'Wilco Realm Bot',   // the username you want to join as, optional if online mode
})

client.on('text', (packet) => { // Listen for chat messages and echo them back.
  if (packet.source_name != client.username) {
    client.queue('text', {
      type: 'chat', needs_translation: false, source_name: client.username, xuid: '', platform_chat_id: '',
      message: `${packet.source_name} said: ${packet.message} on ${new Date().toLocaleString()}`
    })
  }
})

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:29 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
extremeheatcommented, Aug 25, 2022

No updates to this, closing. Seems this is a Realms issue as it cannot be reproduced outside of Realms and happens to non-bedrock-protocol clients also - https://bugs.mojang.com/browse/REALMS-9150. Please re-open if this you think is a confirmed issue with bedrock-protocol specifically.

1reaction
MrWilcocommented, Jul 28, 2022

OK, if the client spawns then it should be able to correctly receive chat messages. Can you reproduce this on other servers? If not, this certainly seems to be an issue on server side (see Lucien’s links to bug reports on the topic).

It is working on my BDS which is running 1.19.10. my realm running 1.19.11 is not logging chat packets at all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot send chats or use commands in multiplayer since 1.19 ...
I am having difficulty being able to chat on snapshot servers. It shows an error in the server console, stating:.
Read more >
Can't see MineCraft chat
Hi :) I recently joined a Minecraft Bedrock server with my friend and a few mutual friends from school, but I can only...
Read more >
Chat Reporting in Minecraft 1.19.2: Is Everything Fixed?
An updated video about technical side of Minecraft's chat reporting in 1.19.1/1.19.2. TIMESTAMPS:00:00 Introduction01:02 Part I: Less ...
Read more >
FIX Chat not allowed by account settings. Cannot ... - YouTube
Chat not allowed by account settings. Cannot send message in Minecraft fix after migrating from Mojang to Microsoft account.
Read more >
Can't chat in Minecraft? Here's how you can fix this issue
To fix the 'Can't chat in Minecraft” error, go to Options > Chat settings and change the settings from Command Only to Shown....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found