feat: autostart saved farms with nether-wart toolmode #90

Merged
gecko merged 3 commits from t3/add-friends-wart-toolmode into main 2026-11-02 18:23:27 +00:00
Owner

Allow the one-job autostart config to name an existing saved farm profile and opt into nether-wart toolmode for that start.

  • farm selects a saved profile and keeps its recorded server/dimension scope; omitted retains the ad-hoc wheat job.
  • toolmode mirrors the explicit farm <name> toolmode suffix and requires a saved farm, so configs cannot imply toolmode for ad-hoc farming.
  • Share farm-profile name validation between the commands and autostart.
  • Document the new config shape and how to move a profile with .bot export/import.
  • Add parsing/validation coverage for the saved-farm and toolmode combinations.

Validation: ./scripts/ci-preflight.sh; resource-bounded ./gradlew lint build; ./scripts/check-release-jar.sh.

Allow the one-job autostart config to name an existing saved farm profile and opt into nether-wart toolmode for that start. - `farm` selects a saved profile and keeps its recorded server/dimension scope; omitted retains the ad-hoc wheat job. - `toolmode` mirrors the explicit `farm <name> toolmode` suffix and requires a saved farm, so configs cannot imply toolmode for ad-hoc farming. - Share farm-profile name validation between the commands and autostart. - Document the new config shape and how to move a profile with `.bot export`/`import`. - Add parsing/validation coverage for the saved-farm and toolmode combinations. Validation: `./scripts/ci-preflight.sh`; resource-bounded `./gradlew lint build`; `./scripts/check-release-jar.sh`.
feat: autostart saved nether-wart farms with toolmode
All checks were successful
build / Java 25 build (pull_request) Successful in 1m19s
32a84eb2bf
Allow the one-job autostart config to name an existing saved farm profile and capture the nether-wart toolmode override for that start. Keep farmRange for the ad-hoc wheat job, share profile-name validation with the commands, and document moving a profile with export/import.
fix: match server scopes with and without the default port
All checks were successful
build / Java 25 build (pull_request) Successful in 3m21s
090394ac0a
Saved farm profiles commonly store the address the player typed, while a Prism --server join reports the normalized default port. Compare hostnames case-insensitively and ignore only port 25565 so imported profiles keep their server scope; flee-home checks use the same comparison. Add focused tests.
fix: retry normal disconnects once and restart autostart
All checks were successful
build / Java 25 build (pull_request) Successful in 1m19s
926103e93d
Use the existing one-attempt budget for ordinary network/server disconnects too: wait 60 seconds instead of the 15-minute threat delay, then restart the configured job as a fresh session. Keep low-health, second, failed and different-server disconnects offline so this remains a single bounded retry rather than a reconnect loop.
gecko merged commit cb2c8986f5 into main 2026-11-02 18:23:27 +00:00
gecko deleted branch t3/add-friends-wart-toolmode 2026-11-02 18:23:27 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gecko/mcbot!90
No description provided.