ScriptCraft icon indicating copy to clipboard operation
ScriptCraft copied to clipboard

Error while trying to evaluate javascript: function not defined in <eval> at line ...

Open dropbear42 opened this issue 9 years ago • 2 comments

First of all thanks for putting ScriptCraft together. Very excited about teaching the kids to code.

I have installed as per instructions using CanaryMod (v1.8.0-1.2.0) running on linux VM (Azure) with Java 1.8.0_101

Basic js commands are working, but whenever we try to test some of the example plugins we're getting a "function not found" error. See attached images.

Any help will be much appreciated

Cheers Stephen

After running the following command:

/js arrows.explosive(self)

arrows error

/jsp home (although /jsp home list returns "no homes to visit" and /jsp home set doesn't indicate anything happened)

home

dropbear42 avatar Aug 27 '16 02:08 dropbear42

Any errors in the startup log in the server?

walterhiggins avatar Sep 10 '16 14:09 walterhiggins

Are you putting your js plugins into ./Minecraft/scriptcraft/plugins and not ./Minecraft/plugins/scriptcraft/plugins?

cmisztur avatar Oct 29 '16 05:10 cmisztur