Skip to content
/ jx Public

It's the jQuery of Minecraft, packaged for Magikcraft.

Notifications You must be signed in to change notification settings

Magikcraft/jx

Repository files navigation

JX - The jQuery of Minecraft

Test

npm version

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.

Use with Vanilla ScriptCraft

Pre-Requisites

  1. install the scriptcraft plugin on your server
  2. run the server once with the plugin installed to initialize it

Installation (Manual)

  1. download the repository as an archive
    • we will refer to this downloaded archive as <archive> and your server's root directory as <server>
  2. copy <archive>/jx-master/ to <server>/jx/
  3. move <server>/jx/!.js to <server>/scriptcraft/plugins/!.js
  4. execute js refresh() from your server's console
  5. success

Use with MagikCraft

MagikCraft is a set of patches on ScriptCraft that adds support for NPM modules and unit testing, and also is friendly to TypeScript development.

Pre-Requisites

  1. Install the MagikCraft plugin on your server, or run a Dockerised Magikcraft server.

Using JX with MagikCraft

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

Using JX in your plugin

Tutorial coming soon

About

It's the jQuery of Minecraft, packaged for Magikcraft.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages