1. NOTE: These forums are no longer used. Please use Discord instead.

Need help with craftspcripts for Worldedit 7 / 1.13

Discussion in 'WorldEdit' started by Azotorp, Nov 15, 2018.

  1. Azotorp

    Azotorp New Member

    I cannot find any updated documentation for craftscripts when it comes to worldedit 7 and minecraft 1.13.x

    one error example is:
    Code (Text):
    15.11 21:58:20 [Server] WARN [WorldEdit] Failed to execute script
    15.11 21:58:20 [Server] INFO javax.script.ScriptException: ReferenceError: "PlayerDirection" is not defined. (plugins/WorldEdit/craftscripts/test.js#55) in plugins/WorldEdit/craftscripts/test.js at line number 55
    Another example is:
    Code (Text):
    15.11 21:51:12 [Server] WARN [WorldEdit] Failed to execute script
    15.11 21:51:12 [Server] INFO javax.script.ScriptException: TypeError: Cannot find function add in object [email protected] (plugins/WorldEdit/craftscripts/maze.js#205) in plugins/WorldEdit/craftscripts/maze.js at line number 205
    I have the rhino script engine installed
  2. PseudoKnight

    PseudoKnight Well-Known Member Developer

    Those are just errors in those specifics scripts. They need to be updated/fixed.