- Install NodeJS/NPM or if you're on linux/macos you can install GraalVM-CE which includes a NodeJS runtime
- Clone or download and extract this repo
git clone https://github.com/astorks/ScriptableMC-TypeScript.git
and open the foldercd ScriptableMC-TypeScript
- Install the required NPM packages
npm install
- Run the TypeScript compiler script
npm run compile
ornpm run watch
- The compiled scripts will be placed in the
dist
folder - Upload the compiled scripts to your minecraft server
scripts
folder and execute the/jsrl
command ingame or restart the server to load the new scripts
- Run the TypeDoc generator script
npm run docs
- The generated documentation will be placed in the
docs
folder