MomoJS!
Non-intrusively, provide js engine for your plugins in java15+
that you don't need to edit any line of your code!
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?
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
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.
Spoiler
Tested with javascript expansion of PlaceholderAPI. Thanks to clip, for making such a nice plugin.
Test Environment: jdk15 (tested jdk16 in another test case)
Loaded.
Javascripts successfully loaded.
Test javascript file:
Try to parse and succeed.
Test Environment: jdk15 (tested jdk16 in another test case)
Loaded.
Javascripts successfully loaded.
Test javascript file:
Try to parse and succeed.
>> 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
Spoiler
Hinanawi Tenshi (比那名居天子)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.12, 1.16, 1.17
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
MomoJS is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.16, 1.17. Downloaded 5,172 times (via Spigot). Download it and open it directly in the game.