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.