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 vanillite.toml in your server folder and add (or uncomment):
[bedrock]
enabled = true
- Docker: add
-e VANILLITE_BEDROCK__ENABLED=true -p 19132:19132/udp -p 19132:19132/tcpto thedocker runline (Quick start with Docker). - Pterodactyl: switch Bedrock players on (Pterodactyl and Pelican).
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
- Open Minecraft (the Bedrock app, version 1.26.40 to 1.26.66).
- Play → Servers → Add Server.
- Name: anything. Address: your server's IP or name. Port:
19132. - 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 = trueis 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 now 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.
- Development version (not in beta.4): 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.
- Reporting a failed join (development version): start the server with the environment variable
VANILLITE_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). Dumps are for the developers and hold what the player's app sent, so only share them if you are fine with that. - Plugins and Bedrock players (development version): a 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). Java plugins that use Floodgate's API get this through the Bukkit layer, without installing Floodgate: Spigot and Paper compatibility. For plugin authors: Plugin API: players, entities and worlds. 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.