JX is a library of super-powers for developing ScriptCraft Minecraft plugins in JavaScript.
It is written by @hb432. Please make feature requests and report bugs in JX in his repo. This fork packages JX for MagikCraft.
- install the scriptcraft plugin on your server
- run the server once with the plugin installed to initialize it
- download the repository as an archive
- we will refer to this downloaded archive as
<archive>
and your server's root directory as<server>
- we will refer to this downloaded archive as
- copy
<archive>/jx-master/
to<server>/jx/
- move
<server>/jx/!.js
to<server>/scriptcraft/plugins/!.js
- execute
js refresh()
from your server's console - success
MagikCraft is a set of patches on ScriptCraft that adds support for NPM modules and unit testing, and also is friendly to TypeScript development.
- Install the MagikCraft plugin on your server, or run a Dockerised Magikcraft server.
JX is a library that you can use to accelerate your own plugin development. It doesn't do anything by itself. So you would include it in a MagikCraft plugin.
Create your MagikCraft plugin using the Yeoman generator:
npm install -g yo
npm install -g generator-sma-plugin
yo sma-plugin
Tutorial coming soon