Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
/ ServerOLD Public archive

A Server Software for Minecraft: Bedrock Edition written in Javascript

License

Notifications You must be signed in to change notification settings

LeafMCBE/ServerOLD

Repository files navigation

A Server Software for Minecraft: Bedrock Edition written in Javascript (With types). Server under development

Link

Discord
Protocol

Features

  • Plugins Supported
  • Logger Supported
  • Commands Supported
  • Console Commands Supported
  • Events Supported

Installation

  • Clone the repo, git clone https://github.com/hvlxh/LeafMCBE.git
  • Install dependencies, npm i
  • Start the server, node ., node start.js, or npm run start

Plugin Usage

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!");
  }
}

Todo List

  • Convert Packet into JS (not json)
  • Add chunk support (maybe)