MomoJS icon

MomoJS -----

Non-intrusively, provide js engine for plugins in java 15+. No need to edit anything.



MomoJS!
Non-intrusively, provide js engine for your plugins in java15+

that you don't need to edit any line of your code!


>> Why I wrote this

Wel, I'm planning to hold a server on minecraft 1.17. As we know, mc 1.17 requires java16, and it has no javascript engine. A lot of plugins don't work. But I dont want to edit them one by one, so I wrote this..

>> Why you need this
Obviously, most plugin authors need plenty of time to deal with the javascript engine issues. But before they fix it, don’t we run the server?
If we choose to decompile and modify these plugins to make them run, firstly, it violate the rights of the author, and secondly, it will take a lot of time and it will be unmaintainable.
If you choose MomoJS, these will not be a problem, you just need to keep your plugin as it is, and then put MomoJS in the plugins folder, everything will be fine. This is the charm of "non-intrusive", isn't it?

>> Usage

put MomoJS into plugins folder.


>> Commands, Permissions and Configuration

Nope.

>> Test screenshots.

Tested with javascript expansion of PlaceholderAPI. Thanks to clip, for making such a nice plugin.

Test Environment: jdk15 (tested jdk16 in another test case)
[​IMG]

Loaded.
[​IMG]

Javascripts successfully loaded.
[​IMG]

Test javascript file:
[​IMG]

Try to parse and succeed.
[​IMG]


>> About open source

All codes are open sourced under the MIT license.
https://github.com/Kudamonomise/bukkit-momojs

>> Note


Although not many servers use openj9 jvm, I want to notice that this plugin does not yet support openj9 jvm, because openj9's module system is implemented differently. I will fix it as soon as possible, because I am also using openj9...

>> Credits
Hinanawi Tenshi (比那名居天子)
[​IMG]
Resource Information
Author:
----------
Total Downloads: 4,979
First Release: Jul 13, 2021
Last Update: Jul 27, 2021
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings