It's Minecraft Bedrock Dedicated Server with node.js supports.
- OS: Windows & Linux(with Wine)
- Supports all BDS features!
- Supports all node.js features!
- Debug with Visual Studio Code! (You can debug addons too!)
- Run scripts without any addons or experimental play!
- Hijack chatting!
import { chat } from 'bdsx';
chat.on(ev=>{
ev.setMessage(ev.message.toUpperCase()+" YEY!");
});
- Hijack network packet + Get IP Address & XUID!
import { netevent, PacketId } from "bdsx";
netevent.after(PacketId.Login).on((ptr, networkIdentifier, packetId)=>{
const ip = networkIdentifier.getAddress();
const [xuid, username] = netevent.readLoginPacket(ptr);
console.log(`${username}> IP=${ip}, XUID=${xuid}`);
});
It's very mutable now, I will remove or change API names frequently!
- Requirement
Wine(for Linux)
Download Link
- Requirement
node.js
Wine(for Linux)
# Install BDSX
npm i bdsx -g # If you use linux, maybe it needs sudo
# Run BDSX
bdsx example ./example # make example project to './example'
bdsx ./example # run BDSX with './example', it will read 'main' of 'path/package.json
- Build with VSCode
- Open
bdsx/
with VSCode - Ctrl + Shift + B
- Select
tsc: watch
- Build with Command Line
- Open
bdsx/
with Prompt - run
npm watch
https://github.com/karikera/bdsx/wiki
https://github.com/karikera/bdsx/issues
- Requirement
Visual Studio 2019
Visual Studio Code
NASM & Set PATH - It's needed by node-chakracore
-
Clone BDSX and ken.(personal library project)
[parent directory]
├ ken (https://github.com/karikera/ken)
└ bdsx (https://github.com/karikera/bdsx) -
Update git submodules.
-
Build bdsx.sln with Visual Studio 2019.
-
Build
bdsx/bdsx-node
with Visual Studio Code. And selecttsc watch
. -
Build
bdsx/bdsx-node
with Visual Studio Code. And selectPackage
.
It will generate a zip file tobdsx/release-zip/bdsx-[version].zip