LeafMCBE - ARCHIVED, GO https://github.com/LeafMCBE/Server
A Server Software for Minecraft: Bedrock Edition written in Javascript (With types). Server under development
- Plugins Supported
- Logger Supported
- Commands Supported
- Console Commands Supported
- Events Supported
- Clone the repo,
git clone https://github.com/hvlxh/LeafMCBE.git - Install dependencies,
npm i - Start the server,
node .,node start.js, ornpm run start
Create a javascript file in ./leaf/plugins and write like this:
import { Base } from "../../src/plugins/BasePlugin.js";
class Example extends Base {
constructor() {
super({
name: "Example",
version: [1, 0, 0],
srvVersion: [1, 19, 50],
});
}
onEnable() {
this.api.getLogger().info("I am enabled!");
}
}- Convert Packet into JS (not json)
- Add chunk support (maybe)