开源软件名称(OpenSource Name):bdsx/bdsx开源软件地址(OpenSource Url):https://github.com/bdsx/bdsx开源编程语言(OpenSource Language):TypeScript 96.1%开源软件介绍(OpenSource Introduction):BDSX : BDS + node.js
Features
import { events } from "bdsx/event";
import { MinecraftPacketIds } from 'bdsx/bds/packetids';
events.packetAfter(MinecraftPacketIds.Login).on((ptr, networkIdentifier, packetId)=>{
const ip = networkIdentifier.getAddress();
if (ptr.connreq === null) return; // Wrong client version
const cert = ptr.connreq.getCertificate();
const xuid = cert.getXuid();
const username = cert.getId();
console.log(`Connection: ${username}> IP=${ip}, XUID=${xuid}`);
}); Usage
To download, clone the repo: git clone https://github.com/bdsx/bdsx.git Debug & Launch with VSCodeWhen starting BDSX with VSCode, you need to
Launch with the executableRun Manual instruction of the executable
File Structure[bdsx project]
├ [bdsx] # Core Library
├ [example_and_test] # Examples for using the BDSX API and tests of the BDSX API
├ [bedrock_server] # BDS installation
├ launcher.ts # Script for launching BDS
├ index.ts # Main entry point. This file is required by the launcher when BDS is fully started.
├ bdsx.sh # Executable for Linux
└ bdsx.bat # Executable for Windows
Make a bdsx pluginPlease check DiscordBDSX Discussionshttps://github.com/bdsx/bdsx/discussions BDSX Wikihttps://github.com/bdsx/bdsx/wiki Hosting Supporthttps://easyminecrafthosting.com/ (Latin America) Docker Imagehttps://hub.docker.com/r/karikera/bdsx Bug Reporthttps://github.com/bdsx/bdsx/issues BDSX Corehttps://github.com/bdsx/bdsx-core |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论