Release v1.2.0
What's New
Additional Libraries
- Added
org.apache.commons.io.FileUtils
Fixed version check
- Fixed the plugin version check
- Converted
com.smc.versionto kotlin
Chrome debugger
- Added chrome debugger support.
- Add breakpoints and step through your code execution.
- Config option to wait for attach before executing any script code.
- Debugger is disabled by default
- Settings can be configured via the script engine config.yml
debugger:
enabled: false
address: 127.0.0.1:9229
wait_attached: trueMoved bundled script engines into a seperate plugin
If you're using OpenJDK or Standard JDK you should download and install the ScriptableMC-Engine-*-Bundled.jar plugin that comes pre-packaged with the correct script engine.
If you're using GraalVM java runtime and have the correct script engine already installed you can download and install the base plugin ScriptableMC-Engine-*.jar
ScriptableMC-Engine-JS-Bundled.jar Pre-bundled JavaScript plugin and engine. (This will run on any JDK)
ScriptableMC-Engine-JS.jar Base JavaScript plugin. (This will only run on GraalVM v20.0.0)
ScriptableMC-Engine-PY-Bundled.jar Pre-bundled Python plugin and engine. (This will run on any JDK)
ScriptableMC-Engine-PY.jar Base Python plugin. (This will only run on GraalVM v20.0.0 with python installed)
JavaScript Engine
- JavaScript Engine:
ScriptableMC-Engine-JS.jarandScriptableMC-Engine-JS-Bundled.jar - Updated to GraalJS 20.0.0
- Added support for
require()that can load CommonJS modules and NodeJS modules from thenode_modulesfolder inside the root scripts folder. - Added support for
__global__.jsinside the root scripts folder that can define globals for all CommonJS modules. - Additional CommonJS examples coming soon...
Python Engine
- Added a new Python script engine.
- The Python script engine is in a preview state. Expect breaking changes in future updates.
- Python Script Engine:
ScriptableMC-Engine-PY.jarandScriptableMC-Engine-PY-Bundled.jar - Updated to GraalPython 20.0.0
- Known Issues: Import and local module loader not working.
- Python examples coming soon...