- 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.gitand open the foldercd ScriptableMC-TypeScript - Install the required NPM packages
npm install
- Run the TypeScript compiler script
npm run compileornpm run watch - The compiled scripts will be placed in the
distfolder - Upload the compiled scripts to your minecraft server
scriptsfolder and execute the/jsrlcommand 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
docsfolder