Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.
/ MindustryJSPlugin Public archive

A Mindustry Plugin to support Javascript scripts as sub-plugins

License

Notifications You must be signed in to change notification settings

Loxoz/MindustryJSPlugin

Repository files navigation

MindustryJSPlugin

A Mindustry Plugin to support Javascript scripts as sub-plugins

👉🏻 Please note that this project is in early alpha, do not expect to see anything working for now, and it's subject to major changes

PRs are welcome ;)

Installing

Simply place the .jar file you downloaded in the releases tab or you built in your server's config/mods directory and restart the server. List your currently installed plugins by running the mods command.

Wiki

coming feature

for 0.1.0 pre version and above you can do:
/js <javascript code> -> sends result (both player and console can do that for now)

Example:

example
🚧 Warning: It has a little support of ES6 fow now (ECMAScript 6)
➡ Actually only const and let are supported
See all ES6 features: https://github.com/lukehoban/es6features/blob/master/README.md

I'm still looking for solutions like running the new https://www.graalvm.org/

Download

Go to the releases tab here

Building

gradlew jar / ./gradlew jar

Output jar should be in build/libs.

Hope you ❤️ Enjoy my work, Leave a ⭐️ Star if you found this useful to support me and this project

About

A Mindustry Plugin to support Javascript scripts as sub-plugins

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published