Skip to content

Releases: astorks/ScriptableMC-Engine

Release v1.1.7

09 Feb 03:21
e65508f
Compare
Choose a tag to compare

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

02 Feb 22:13
efabe04
Compare
Choose a tag to compare

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

02 Feb 20:26
60c0b3f
Compare
Choose a tag to compare
  • 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 return 1 + 1
2

/jsex sender.sendMessage(lib.org.bukkit.ChatColor.GREEN + "Hello World!")
Hello World!

Release v1.1.4

28 Jan 08:17
Compare
Choose a tag to compare

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.