Bedrock players

Let players with Minecraft Bedrock Edition (phone, tablet, console, Windows app) join your Java server.

Beta. Tested with a strict test client (a whole session: building, crafting, fighting, commands, dying) and only started with real Bedrock apps. It supports Bedrock versions 1.26.40 to 1.26.66. If a join fails, the server log says at which step and why.

1. Turn it on

Open soulshale.toml in your server folder and add (or uncomment):

[bedrock]
enabled = true

Restart the server.

You should see in the log that Bedrock players are accepted on port 19132.

2. Open the port

Bedrock uses port 19132, over UDP and TCP. Open both in your firewall and port forwarding. Another port: port = 19133 in the same [bedrock] section.

3. Join from the Bedrock app

  1. Open Minecraft (the Bedrock app, version 1.26.40 to 1.26.66).
  2. Play → Servers → Add Server.
  3. Name: anything. Address: your server's IP or name. Port: 19132.
  4. Save and join.

You should see: you join the world and can see Java players.

Good to know

  • Bedrock players need a Microsoft/Xbox account (bedrock.online-mode = true is the default).
  • Their names get a dot in front (.Steve), so they never clash with Java names. The whitelist and operators use the player's account ID, not the name.
  • Keep the file bedrock-identity.key: new Bedrock versions recognise the server by it.
  • Messages, death messages, titles and advancement toasts reach Bedrock players in English, the server's language, whatever language their app uses.
  • Skins: Java players and Bedrock players with the default skin are shown to Bedrock players with a built-in player model. A Bedrock player's own skin is passed on as it is, unless its model data is not valid; then the built-in model is used. (Before this was fixed, Bedrock 1.26.60 and newer refused the player list and dropped every Bedrock player right after joining.)
  • The app says the join failed ("bad structured data" or similar)? The app refuses a packet and closes the connection. The server keeps the last packets the app sent before it closed, so the log names the packet it refused. Look for it in the log and report it. The login line of the log also names the app's game version and protocol. Real Bedrock apps are only starting to be tried, so some joins can still fail.
  • Join order (since beta.5): a likely cause of that message is fixed: packets that were ready before the game start (difficulty, abilities, the command list, chat) went out ahead of it. They are now held and sent right after the start, as other Bedrock bridges do. This is not confirmed with a real app yet.
  • Walking (since beta.5): if the app seemed to walk "into" blocks and was pulled back several times a second, that is fixed. The app moves its own player with the collision box the server last sent it, and it kept the tiny box of a dying player after a respawn. The server now sends the right box on spawn, respawn, a change of world and pose, and confirms a teleport only when the app is at the target. This is not tried with a real app yet.
  • Nether portals (since beta.5): if the app stayed on its loading screen after you came back through a nether portal (or went to another world), that is fixed. Since Bedrock 1.19.50 the app waits for the server to confirm that it may leave the loading screen after every change of world. The server now sends that confirmation each time. The strict test client checks a round trip through a nether portal; it is not tried with a real app yet.
  • More survival gaps (since beta.6): the end credits are shown after the dragon fight, and when they end the server respawns the player (before, Bedrock players stayed stuck in the End). The world's showcoordinates and doimmediaterespawn game rules reach the app. Loaded crossbows, unbreakable items, the block lists of adventure mode and lodestone compasses show correctly. Fireworks attached to an elytra give the glide boost. Mounts that the player steers (horses, pigs, striders and others) get their speed, jump strength and health, and jumping works like in the Java client. A scoreboard objective shown below the names appears under the player names. Only tried with the strict test client.
  • Bundles and more item looks (since beta.6): bundles show their contents and can be filled and emptied with Bedrock's inventory moves (also in creative mode). The block lists of adventure mode now also understand Vanilla's block tags. An item with the glint switched on or off by data shows the right glint, and an item whose model is another plain Vanilla item shows that item. The locator bar shows the markers of other players, and /tick freeze stops the day and night cycle in the app too. Minecart moves on experimental tracks end at their last step. Only tried with the strict test client. Not shown in Bedrock: statistics, chat suggestions that plugins add, and the sting of a pufferfish.
  • Reporting a failed join (since beta.5): start the server with the environment variable SOULSHALE_BEDROCK_DUMP=<folder>. It writes every Bedrock session's packets into a file in that folder (and a short summary of the app's version and skin). A dump holds what the player's app sent, so only share it if you are fine with that.
  • Plugins and Bedrock players (since beta.5): a native plugin can ask what the server knows about a Bedrock player (Xbox ID, gamertag, game version, language, device, input mode) and can show the player a form (a menu with buttons, a yes/no question or a list of input fields); see Plugin API: players, entities and worlds. Java plugins that use Floodgate's API get this through the Bukkit layer, without installing Floodgate: the layer 0.1.4 and newer have a stand-in for it, and beta.6 installs layer 0.1.8 (Spigot and Paper compatibility). It needs the Bedrock layer on; it is only tried with the strict test client so far.
  • Behind a proxy, turn Bedrock on in the proxy instead (Behind a proxy).

What next?

What Bedrock players can do and all settings: Connecting.

Next: Behind a proxy.