
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
English | 日本語
A powerful websocket library to interact with MCBE WebSocket Protocol
Requires Node.js v18 or later.
npm install socket-be
If you use this inside same device, allow the loopback connection.
CheckNetIsolation.exe LoopbackExempt -a -n="Microsoft.MinecraftUWP_8wekyb3d8bbwe"
You can use /wsserver or /connect command to connect with websocket server.
EX: /wsserver <IP Address>:<PORT>
import { Server, ServerEvent } from 'socket-be';
const server = new Server({ port: 8000 })
server.on(ServerEvent.Open, () => {
console.log('Server started')
});
server.on(ServerEvent.PlayerChat, async ev => {
const { sender, message, world } = ev;
if (sender.name === 'External') return; // prevents spam loop
console.log(`<${sender.name}> ${message}`);
if (message === 'ping') {
await world.sendMessage('Pong!');
}
});
This project is licensed under the GPL-3.0 License.
FAQs
This is a tool to connect with MinecraftBE via websocket easier.
The npm package socket-be receives a total of 49 weekly downloads. As such, socket-be popularity was classified as not popular.
We found that socket-be demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.