ScriptCraft

ScriptCraft

14.6k Downloads

No Javascript available (fedora)

gregja opened this issue ยท 3 comments

commented

Hi,
I just installed Scriptcraft on Fedora 29.
I installed JDK 1.8.0-232 (wich includes Nashorn)
I started manually Nashorn to check it, it works fine.
I yes installed Spigot-1.15.2
When I start Spigot, I receive the message "No Javascript engine available"
and the prompt doesn't interpret JS code.
Did I omit something ? Could you help me please ?
Best regards

commented

I was having the same problem with paper. There's a patch that fixes it. Might be able to do the job.
https://github.com/Magikcraft/MagikCraft/releases

commented

Hi @Day-OS ,
Thank's a lot for you help.
I installed MagikCraft and Spigot starts correctly now, but I have a last problem :
when I type "/js 1+1", I receive the message : "you don't have scriptcraft.evaluate.permission"

I saw that there is an issue about that :
#48

I will try tomorrow and I will confirm if it's OK
Thank's again

commented

Just to confirme that it works for me with MagickCraft.
Following the tip of the issue #48
I typed "go" followed by my user name, to elevate privileges, and I'm now able to use Javascript code.
Thank's a lot.