OASIS-learn-study / minecraft-storeys-maker

Minecraft extension to make your own stories in, with and for Minecraft - it's like being a movie director!
https://www.learn.study
GNU Affero General Public License v3.0
15 stars 10 forks source link

Hot reloading Java plugins #379

Open vorburger opened 2 years ago

vorburger commented 2 years ago

It would cool if e.g. the example/build/libs/example-1.0.0-SNAPSHOT.jar Java plugin JAR could be reloaded while the server is running.

It could easily be continously re-built using ./gradlew --continuous example:build.

https://github.com/vorburger/HoTea should allow this fairly easily?

An initial MVP could be without any "user support" with slash command - just a first demo, where the example/ is no longer "bundled", but ./test symlinks (?) example/build/libs/example-1.0.0-SNAPSHOT.jar into somewhere in minecraft-server-test-data/.

This is (also, but not only) required for #58.

@edewit FYI

vorburger commented 2 years ago

Discussed with @edewit today: This would be "fun", especially with GitHub Code Spaces.

But if we have our own Web IDE, with TS typlings, then from an end-user perspective JS vs Java doesn't add that much?