Repository navigation
Add a standalone UltiTools 7.0 module example - #13
Conversation
Scaffold FieldJournal and demonstrate commands, localized text, native and chest screens, reloadable reminders, persistent entries, and an enchantment contribution. Add module-only CI, tests, and a Paper checklist. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The module example depends on UltiTools-API 7.0.0-SNAPSHOT. The Maven cache key only hashes module-example/pom.xml, so a restored cache can hold an older snapshot that Maven does not re-check for a day. Pass -U so every run resolves the current snapshot. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Independent review record
|
Real-server acceptance run — 8 of 9 rows pass, 1 failsModule JAR built from
The failing clause: a permitted player types Not merged. The cause is being investigated on the framework side first; once it is known, only the affected row is re-run.
|
Real-server acceptance — re-run of the failing row: passThe "Command" row was re-run on the same bytes (module JAR 16,683 bytes, SHA-256
Additional unscored observations: What differed from the first run. In the first run the suggestion check was the player's first action after rejoining and waited two seconds; in this run the player waited 15 seconds after rejoining and each check waited three seconds. No product byte changed between the runs. Whether the very first suggestion request after a join can take longer than two seconds was not measured; that question is recorded in #14. The first run's verdict stays on record above. An intermediate attempt produced no observation: its server start was stopped by an unrelated DNS failure while the server fetched the Minecraft services key. All nine rows now have a pass verdict on this JAR. The head after merging
|
What changed
module-example/, an independent Maven project for an UltiTools 7.0 module. It demonstrates a permission-gated command with argument completion, English and Chinese catalogues, a native note form, and a chest screen for reading the journal.fieldjournal:trail_markenchantment during bootstrap..github/workflows/module-example-ci.ymland an eight-row acceptance checklist inmodule-example/UAT-CHECKLIST.md. The root Maven project is unchanged.Verification
mvn -B -ntp clean verifyfrommodule-example/on JDK 25: 19 tests, 0 failures, 0 errors, 0 skipped. JaCoCo covered 125 of 137 lines (91.24%).actionlint .github/workflows/module-example-ci.ymlpassed.module-example/target/FieldJournal-1.0.0.jarcontainsplugin.ymlwith integerapi-version: 700, plusmessages/en.ymlandmessages/zh.yml.UAT: required — a new example module whose command, messages, dialog, chest screen, scheduled task, config, data and bootstrap content can only be observed on a real Paper 26.3 server
Known limitations
/fieldjournal record rshowed nothing in the first run (first action after rejoining, two-second wait) and passed on the same JAR in a re-run that waited 15 seconds after rejoining. The latency of the first argument-suggestion request after a join was not measured; tracked in Follow-up to #13: minor items on the module example #14.🤖 Generated with Claude Code