Java compatible servers for Minecraft (Spigot, Paper, etc.; I’m using Paper in this article). The one used in this article is Paper). From Nintendo Switch (i.e. Bedrock Edition) How to connect [* by IP address

Problems that need to be resolved

  • Switch does not have a UI to connect by IP address.

solution

  • Domain name resolution performed when connecting to the featured server,
  • By having it done by a DNS server for this purpose,
  • Connect to the ā€œworld selection serverā€ (BedrockConnect) instead of the original server

What the server administrator does

  • Introduction of Geyser and Floodgate
    • This is necessary to be able to participate in the Bedrock version What the client side does
  • Change the Switch’s DNS settings
  • Connect to the featured server
    • image
    • Any connection point.
    • I don’t seem to get this world list if I’m not logged in with my MS account.
  • Leads to ā€œworlds with implemented world selection UI.ā€
    • image
  • Enter the IP address of the server you want to connect to and connect.
    • image
  • I was able to connect to the desired Java version of the server from Switch.
    • image
    • Looks a little different from the Java version (transparency of the picture frame doesn’t seem to work).

2022-07-16

  • The last time I tried it, it seemed slow and unusable, but I got the impression that ā€œI could play it with no problem, okay?ā€ I was able to play it without any problemā€¦ā€ so I tested it again.
  • Last time I set up the server myself, but it was too much trouble, so this time I decided to use a public server.

2022-01-19

  • It takes about 20 seconds to log in, much longer than the Java version, but some say the frame rate is perfect, and it seems to be world dependent.

Summary (2021-10-27)

  • The connection was made.
  • The speed was not realistically playable (about 5 FPS).
  • I don’t know how to improve it.

image

  • Server Resource Pack is not applied, not sure how to apply it

way

  • Put BIND9 in EC2, set up a DNS server (A), and point a specific domain to your Java version of the server (B).
  • Switch’s network settings can specify a DNS server, so set it to (A).
  • Note that the Bedrock version will connect to port 19132 via UDP.
    • At first I mistook it for TCP and the firewall was blocking me.
  • No need to start BedrockConnect server if you don’t need the server selection screen
    • If it’s the default configuration, port 19132 should be used, so it should clash with (B), I didn’t go too deep because I decided not to activate it.
  • The server (B) has a plugin that allows it to receive Bedrock packets.

----log

nishio: I don’t know DNS at all (I play Minecraft(?))

nishio: I’ve installed BIND9 on the EC2 running my mikra, opened the DNS port in the security rules, and set my home router’s primary DNS to the EC2 address. I’m trying to make sure I’m doing it right, but when I dig on my MacBook, it says the server is 127.0.0.1, and I’m having a hard time figuring it out.

nishio: I don’t even know what to check and isolate the problem because I don’t have enough basic network knowledge…

kaorun: maybe: a company machine with AnyConnect or something

nishio: ah… i see…

kaorun: It may be different on a Mac, but on a machine with AnyConnect, it seems that the DNS is taken to the AnyConnect side and the local I can’t understand DNS in many ways.

nishio: i tried it on an unmanaged machine and it didn’t go to 127.0.0.1!

nishio: Hmmm, the DHCP server function was turned off in the router configuration to begin with… where on earth is Switch getting its DNS information from…? I’m not sure where the Switch is getting its DNS information from…?

nishio: i want to do ipconfig and stuff on Switch()

nishio: I see, you didn’t have to mess with the router settings in the first place? m.youtube.com/watch?v=zalT_o…

nishio: I seem to have succeeded in swapping the connection destination in DNS as it now fails to connect to the server. Next, I’d like to know why it’s failing… the video looks like it’s sending a dialog once it’s connected to the world.

nishio: hmm I don’t know, I should leave for once

nishio: I just looked back and finally realized something I almost noticed earlier, but both the ā€œserver that brings up the server selection screenā€ and the ā€œserver you want to connect toā€ are on the same machine. There is no way that Bedrock’s port can listen, and the reason I’m not getting an ā€œAlready usedā€ error is that one of them is clamping down on the error and can’t see it.

nishio: the timeline is that ā€œserver X that wants to connectā€ is started first, so this grabs the port, and ā€œserver Y that brings up the server selection screenā€ fails to listen. I’ve tried closing Y, but I haven’t tried starting Y without starting X. This should be verified.

nishio: >BDS uses UDP, unlike Java Edition which uses TCP. AAAAAAHHHH minecraft.fandom.com/ja/wiki/Bedroc…

nishio: got through to the world selection server! pic.twitter.com/kp5x6Y6Nbb

nishio: mmmm pic.twitter.com/UlMQhjl0LM

nishio: oh, they released a version for 1.17.40, just replace it.

nishio: done! (Server Resource Pack not applied…) pic.twitter.com/4gis0PD9ok

nishio: and unfortunately seriously low FPS. maybe 5.

nishio: there’s plenty of room for server load averages and such, so it looks like it’s either the performance of the Switch, or the latency of the packet conversion, which is a bit too easy to solve!


This page is auto-translated from [/nishio/Minecraft Javaē‰ˆć‚µćƒ¼ćƒć«Switchから繋ぐ](https://scrapbox.io/nishio/Minecraft Javaē‰ˆć‚µćƒ¼ćƒć«Switchから繋ぐ) using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.