BDSX: The Extended BDS!
- Download: bdsx.zip or Other Releases
- Windows Only!
- Supports all BDS features!
- Run scripts without any addons or experimental play!
-
require
function supports likes NodeJS! - Write to console!
console.log("Hello, World!");
- File IO!
import { fs } from 'bdsx';
console.log('Current Directory: '+fs.cwd());
fs.writeFile("textfile.txt", "Hello, World!");
- 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, loginInfo)=>{
// networkIdentifier has non-printable character, It will breaks standard output
console.log(`${loginInfo.id}> IP=${loginInfo.ip}, XUID=${loginInfo.xuid}`);
})
It will run bdsx/index.js
as server script!
It's very mutable now, I will remove or change API names frequently!
Files
├ bdsx - Project folder
│ ├ node_modules - JS Modules
│ ├ index.js - Javascript File
│ ├ index.ts - (TS) Typescript File
│ ├ package-lock.json - JS Modules information
│ ├ package.json - Meta datas for the project
│ └ tsconfig.json - (TS) Compiler options for Typescript
├ server - Bedrock Dedicated Server
├ bin - Injector.exe & bdsx.dll & libmariadb.dll
└ bdsx.bat - Launcher
(TS): You can delete it If you don't want to use Typescript
Build Typescript (Watch Mode)
You need to install NodeJS before use Typescript
- Build with VSCode
- Open
bdsx/
with VSCode - Ctrl + Shift + B
- Select
tsc: watch
- Build with Command Line
- Open
bdsx/
with Prompt - run
npm watch
JS API Reference
https://github.com/karikera/bdsx/wiki
Bug Report
https://github.com/karikera/bdsx/issues
Discord for Q&A
https://discordapp.com/channels/646456965983240212/646456965983240218
Build It Self
- Requirement
Install MariaDB.
ken project on same directory to build.
setMYSQL_C_DIR
Enviromental variable to the root of MariaDB.
[parent directory]
├ ken (https://github.com/karikera/ken)
└ bdsx (https://github.com/karikera/bdsx)
If you build it with Release
configuration, It will make bdsx.zip
in solution directory.
that bdsx.zip
is standalone server files.