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.

server_world example doesn't work

See original GitHub issue

[ ] The FAQ doesn’t contain a resolution to my issue

Versions

  • minecraft-protocol: 1.16.0
  • server: vanilla/spigot/paper: minecraft-protocol
  • node: 14.10.0

Detailed description of a problem

When logging in I get Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Failed to decode: No key name in MapLike[{}] {dimension:[{}]}

Replacing dimensionCodec: { name: '', type: 'compound', value: { dimension: { type: 'list', value: { type: 'compound', value: [{ name: w }] } } } } with dimensionCodec: { name: '', type: 'compound', value: { dimension: { type: 'list', value: { type: 'compound', value: [w] } } } } simply kicked me with the message “Disconnected”.

Game output doesn’t show anything either.

Expected behavior

To log in on the server and see the chunk.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
GroobleDiernecommented, Oct 24, 2020

Ha yes it’s my fault I missed something when I updated the examples

1reaction
IMarkoMCcommented, Oct 24, 2020

It’s working now, nice

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixing 'Unable to Connect to World' - GeyserMC Wiki
This is likely a firewall issue on your server. Try the following workaround: Attempt to connect to the Bedrock IP and port through...
Read more >
Why "Hello, World!" exits but HTTP server doesn't?
"Why does simple "Hello world"-program exit immediately after printing to console, but starting an HTTP server keeps running forever?".
Read more >
C Socket Client/Server doesn't work in real world environment
Basically my server/client socket functions work perfectly fine using the loopback address, or even my eth0 address on my laptop.
Read more >
HTTPS server 'hello world' example · Issue #14 - GitHub
Is someone able to post a working 'hello world' web page example using the HTTPS server? One that works with Chrome and Firefox?...
Read more >
unable to connect to world - Minecraft Education Edition
I was trying to have students play together remotely and we are experiencing difficulties joining each others worlds. Example: - I played with ......
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