Releases: astorks/ScriptableMC-Engine
Release v1.1.7
Removed api-version from plugin config.yml to allow loading on minecraft v1.13+.
Fixed /smc info, can now be executed from the console.
Release v1.1.6
Added js libraries to plugin resources.
JS libraries are auto extracted from plugin resources to scripts lib folder if the lib folder is missing, this allows you to install the plugin and use /jsex command without any configuration.
Release v1.1.5
- Added a MysqlWrapper to the
com.pixlfox.scriptablemc.utilities
that js plugins are able to use. - /smc javascript execute has been overhauled, added sender to javascript context so you can interact with the command sender.
- Updated to GraalJS v19.3.1
- Added a global typescript export library /scriptablemc javascript execute uses the new global library, you can access packages via
lib.<PackageName>.<ClassName>
Example:lib.org.bukkit.Bukkit
- All bukkit classes are exported properly now, the bukkit javadoc type-search-index.json is used to load all classes in the typescript exporter
/smc javascript execute
Command Example
/jsex sender.sendMessage(lib.org.bukkit.ChatColor.GREEN + "Hello World!")
Release v1.1.4
CommandAPI dependency has been removed.
As long as you are running on JDK or GraalVM there are no dependencies to use this plugin.
Built-in commands now use aikar commands api.
Javascript commands are now a sub command of /scriptablemc and /smc. Aliases have been added for previous commands /jsrl /jsex /jsexf
Updated github compile action to compile typescript libraries to pure javascript.