https://github.com/iceblcokmc/blueiceengine
a javascript runtime for endstone
https://github.com/iceblcokmc/blueiceengine
bedrock-dedicated-server endstone engine
Last synced: 4 months ago
JSON representation
a javascript runtime for endstone
- Host: GitHub
- URL: https://github.com/iceblcokmc/blueiceengine
- Owner: IceBlcokMC
- License: apache-2.0
- Created: 2024-11-30T10:25:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-24T12:18:58.000Z (5 months ago)
- Last Synced: 2026-02-24T12:54:46.409Z (5 months ago)
- Topics: bedrock-dedicated-server, endstone, engine
- Language: C++
- Homepage: https://iceblcokmc.github.io/BlueIceEngine/en/
- Size: 8.46 MB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BlueIceEngine - A JavaScript runtime for endstone
> In a previous life as a Js_Engine, you can find the previous source code
> here [Go](https://github.com/IceBlcokMC/Js_Engine_v1).
## Introduction
// TODO
## Example
- bedrock_server/plugins/test_bie/
- index.js
- package.json
```js
console.log("Script loaded");
let plugin = null;
let desc = new PluginDescription(
"test_js_plugin",
"0.0.0",
"Test JS Plugin",
PluginLoadOrder.PostWorld,
[],
[],
"",
"",
[],
[],
[],
[],
/* PermissionDefault.a */ 2,
[],
[],
);
export default class TestPlugin extends Plugin {
constructor() {
super();
plugin = this;
}
onLoad() {
console.log("onLoad called");
console.log("dataFloder: ", this.dataFolder)
}
onEnable() {
console.log("onEnable called");
}
onDisable() {
console.log("onDisable called");
}
getDescription() {
return desc;
}
}
```