CraftBook 5 cannot reload with WorldEdit 7.4.7-SNAPSHOT because the command parser changed
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Start in craftbook-core/src/main/java/org/enginehub/craftbook/PlatformCommandManager.java at the command dispatch call on lines 111–113, then read the WorldEdit parser change linked in the issue to identify the replacement entry point. Update the call to match WorldEdit 7.4.7-SNAPSHOT and verify that craftbook reload reaches the reload handler and reports its result.
Written by the indexing model from the issue text.
Description
CraftBook Version
5.0.0-SNAPSHOT+49338eb38 (five branch)
Platform Version
Paper 26.3 (build 248 when the command failed; build 257 API in the isolated compatibility check)
Confirmations
- I am using the most recent Minecraft release.
- I am using a version of WorldEdit compatible with my Minecraft version.
- I am using a version of CraftBook 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
Running craftbook reload from the console fails before CraftBook reaches its reload handler. The console reports this error with WorldEdit 7.4.7-SNAPSHOT:
java.lang.NoSuchMethodError: 'com.sk89q.worldedit.internal.command.CommandArgParser com.sk89q.worldedit.internal.command.CommandArgParser.forArgString(java.lang.String)'
Expected Behavior
CraftBook should parse the command, reload its configuration, and report the result to the console.
Reproduction Steps
- Start Paper 26.3 with CraftBook 5.0.0-SNAPSHOT+49338eb38 and EngineHub WorldEdit 7.4.7-SNAPSHOT. The command failure was observed with WorldEdit revision
2ddf41e36. - Run
craftbook reloadin the server console. - The console reports
NoSuchMethodErrorbefore the configuration reload starts.
Anything Else?
CraftBook’s command dispatcher still calls CommandArgParser.forArgString(String). WorldEdit’s parser change replaced that entry point. An isolated Java check against WorldEdit 7.4.7-SNAPSHOT+349ea5155 produced the same NoSuchMethodError for that call.
- Dominant language
- Java
- Stars
- 323
- Forks
- 164
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EngineHub/CraftBook
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
status:pending type:feature-request
Difficulty 5/5 Over a week Newbie friendliness 12/100
-
status:pending type:bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
status:pending type:bug
Difficulty 3/5 1-2 days Newbie friendliness 62/100
-
status:pending type:bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in EngineHub/CraftBook
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
RegistryExceptionHandler uses self-referencing basePackageClasses instead of a controller classOpenbug finsim-registry good-first-issue
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
bug level:trivial
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
exoego/keycloak-fuhito#666 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
hammy275/immersive-mc#669 ·
-
documentation needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
strimzi/metrics-reporter#150 · 1 reaction ·