We are switching the language to Typescript for more easy-to-use and easy-to-write. Check out https://github.com/LeafMCBE/LeafMCBE
A Server Software for Minecraft Bedrock Edition written in Javascript
Discord
Protocol
Example Plugin
NOTE: Before Installing, Check you have Node and Git haved installed.
- Clone the repo,
git clone --recurse-submodules https://github.com/LeafMCBE/Server.git - Install dependencies,
npm i - Start the server,
node .,node start.js, ornpm run start
Create a javascript file in ./leaf/plugins/<folder> and write like this:
import { Plugin } from "../../src/plugins/BasePlugin.js";
class Example extends Plugin {
constructor() {
super({
name: "Example",
version: [1, 0, 0],
srvVersion: [1, 19, 50],
});
}
onEnable() {
this.api.getLogger().info("I am enabled!");
}
}- Plugins Supported
- Logger Supported
- Commands Supported
- Console Commands Supported
- Events Supported
- Chunks Supported (20%)
- Better Network system.
- Imrprove in world system