Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #30

Open
LegitMariosGR opened this issue Sep 27, 2023 · 1 comment
Open

Error #30

LegitMariosGR opened this issue Sep 27, 2023 · 1 comment
Labels
under investigation Under investigation

Comments

@LegitMariosGR
Copy link

Software / version

Paper 1.20.1

Describe your problem

Hello, when I'm pressing run it shows me this error and never joins the server what am I doing wrong? (I have set the correct host, port and username)

Chunk size is 23 but only 17 was read ; partial packet : {"name":"disconnect","params":{"reason":"minecraft:brand"}}; buffer :000f6d696e6563726166743a6272616e64055061706572 SyntaxError: Unexpected token m in JSON at position 0 at JSON.parse (<anonymous>) at Client.<anonymous> (/home/runner/aterbot/node_modules/.pnpm/[email protected]/node_modules/minecraft-protocol/src/client/versionChecking.js:6:21) at Client.emit (node:events:525:35) at Client.emit (node:domain:489:12) at emitPacket (/home/runner/aterbot/node_modules/.pnpm/[email protected]/node_modules/minecraft-protocol/src/client.js:83:12) at FullPacketParser.<anonymous> (/home/runner/aterbot/node_modules/.pnpm/[email protected]/node_modules/minecraft-protocol/src/client.js:107:9) at FullPacketParser.emit (node:events:513:28) at FullPacketParser.emit (node:domain:489:12) at addChunk (/home/runner/aterbot/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_readable.js:279:12) at readableAddChunk (/home/runner/aterbot/node_modules/.pnpm/[email protected]/node_modules/readable-stream/lib/_stream_readable.js:262:11) AFKBot got an error: SyntaxError: Unexpected token m in JSON at position 0

@LegitMariosGR LegitMariosGR added the invalid Unknown label Sep 27, 2023
@JadeMin JadeMin added under investigation Under investigation and removed invalid Unknown labels Jan 11, 2024
@amoraschi
Copy link

@LegitMariosGR

Mineflayer doesn't support 1.20.1 as of right now, it supports up to 1.20. You can implement it yourself by doing a PR to the corresponding repositories, and then doing a PR to this project to update the mineflayer version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
under investigation Under investigation
Projects
None yet
Development

No branches or pull requests

3 participants