Skip to content

feat(AutoMining): add League mode to prevent AFK logout#392

Merged
chsami merged 1 commit intochsami:developmentfrom
mdp18:feat/autominer-updates
Apr 16, 2026
Merged

feat(AutoMining): add League mode to prevent AFK logout#392
chsami merged 1 commit intochsami:developmentfrom
mdp18:feat/autominer-updates

Conversation

@mdp18
Copy link
Copy Markdown
Contributor

@mdp18 mdp18 commented Apr 16, 2026

Summary

  • Adds a new League mode (anti-AFK) toggle to the AutoMining General config section
  • When enabled, the script presses a random arrow key whenever the client's idle ticks approach its idle-timeout threshold, resetting the keyboard idle counter and preventing logout
  • Intended for Leagues where the auto-bank relic lets you mine indefinitely without any interaction that would otherwise reset the AFK timer

Test plan

  • Enable League mode in config, start mining on a Leagues world, verify no AFK logout after 6+ minutes of continuous mining
  • Disable League mode, verify plugin behaves identically to previous version (no extra key presses)
  • Verify the toggle appears in the General section at position 4

Adds an optional "League mode (anti-AFK)" toggle that presses a random
arrow key whenever the client's idle ticks approach its idle-timeout
threshold. This keeps the session alive on Leagues where the auto-bank
relic lets you mine indefinitely without any interaction that would
otherwise reset the idle timer.
@chsami chsami merged commit 9897a3c into chsami:development Apr 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants