-
-
Notifications
You must be signed in to change notification settings - Fork 928
Closed
Labels
platform:bukkit-spigot-paperSpecific to the Bukkit/Spigot/Paper platformSpecific to the Bukkit/Spigot/Paper platformstatus:acceptedWill be fixed / added to WorldEdit, eventuallyWill be fixed / added to WorldEdit, eventuallytype:bugIncorrect behavior, not working as intendedIncorrect behavior, not working as intended
Description
WorldEdit Version
7.3.10-beta-01
Platform Version
Paper version 1.21.4-72-main@daddcf6
Confirmations
- I am using the most recent Minecraft release.
- I am using a version of WorldEdit compatible with my Minecraft version.
- I am using the latest or recommended version of my platform software.
- I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description
When running under recent Paper versions, WorldEdit is unable to locate js.jar when it is installed in the documented location.
If js.jar is placed in either the plugins or plugins/WorldEdit directories, WorldEdit always reports that it cannot find it (worldedit.script.missing-script-engine\nworldedit.script.please-see).
strace shows that Paper's remapping is having an impact on the path WorldEdit is checking:
2043494 21:23:43 stat("/opt/clod-mc/minecraft/plugins/.paper-remapped/js.jar", 0x7f757a90cb00) = -1 ENOENT (No such file or directory)
2043494 21:23:43 stat("/opt/clod-mc/minecraft/plugins/.paper-remapped/WorldEdit/js.jar", 0x7f757a90cb00) = -1 ENOENT (No such file or directory)
These are the only two references to js.jar during startup.
Sure enough placing js.jar in plugins/.paper-remapped enables craftscript, but that's less than ideal.
Expected Behavior
craftscript should work when js.jar is installed in plugins/WorldEdit
Reproduction Steps
- install a recent paper version (eg. 1.21.4+)
- install WorldEdit and the Rhino runtime
- create a test craftscript
- try to execute the script in game
Anything Else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
platform:bukkit-spigot-paperSpecific to the Bukkit/Spigot/Paper platformSpecific to the Bukkit/Spigot/Paper platformstatus:acceptedWill be fixed / added to WorldEdit, eventuallyWill be fixed / added to WorldEdit, eventuallytype:bugIncorrect behavior, not working as intendedIncorrect behavior, not working as intended