CodeConnectFix
Allow use 'Code Connection for Minecraft' v1.50 with Minecraft Bedrock >= v1.19.x. It's a 'Man In The Middle' WebSocketSerwer for simulate a compatible version of Minecraft Bedrock to 'Code Connection for Minecraft'.
Install
Windows Executable - Easy Way -
Download CodeConnectFix.exe and copy file on your Desktop.
From Source - Developper Way -
Requirement : Install Node.Js v16 LTS (https://nodejs.org/en/download/)
- Download Source and extract archive in a directory (or Git clone project)
- Open a shell (cmd.exe) an navigate to project directory
- Execute 'npm install' for download dependencies
- Execute 'npm start' or 'node index.js' for run server
- Execute 'npm run build' for generate executable
Usage
On same computer :
- Start 'Code Connection for Minecraft'.
- Start 'CodeConnectFix' by run executable or execute server with NPM/Node. Note: First execution, require to add a firewall rule with an administrative account.
- Start 'Minecraft Bedrock'.
- Create a new world, Activate Cheat Mode, Start game.
- In game, open chat (Press Enter or / key).
- Execute command '/connect localhost:19135' and check confirmation message.
- Put your game in pause (Press Escape).
- Switch to 'Code Connection for Minecraft' and choose an editor.
On different computers, you need to adjust computer address.
CodeConnectFix [address:port] [port]
- [address:port] : Value copied from 'Code Connection for Minecraft' after \connect. (Default: localhost:19131)
- [port] : Value for 'CodeConnectFix' (Default: 19135)
Troubleshooting
- If 'Code Connection for Minecraft' interface don't change after execute /connect command. Restart 'CodeConnectFix' and retry 'connect' commande.
- If 'CodeConnectFix' window close, try to run 'CodeConnectFix' from command line to check what wrong.
Debug
For additionnal debug message in console, define a NODE_ENV environment variable to 'development' before start 'CodeConnectFix'.
On windows, Open a cmd.exe shell (use Windows+R)
cd [CodeConnectFix Directory] SET NODE_ENV=development CodeConnectFix.exe
Credits
This tools use a modified version of 'mcpews' v3.0.1 (A library that supports MCPE Websocket Protocol) made by XeroAlpha.