Description
Description:
I propose adding an optional autolog parameter to Baritone commands that causes the player to automatically disconnect from the server when the task is completed or if certain conditions are met.
Example usage:
#sel cleararea autolog
This would behave like a normal #sel cleararea command, but automatically logs out the player upon completion of the task.
Additional optional sub-parameters for autolog:
• time – Logs out the player after the specified number of seconds, regardless of task progress.
• health – Logs out the player if health drops below the given number of hearts.
These can be combined with autolog:
Example:
#sel cleararea autolog time 600 health 6
→ This would run the cleararea command and automatically log the player out when the task is complete, or after 10 minutes, or if health drops below 6 hearts — whichever comes first.
Settings
I believe there aren’t many settings needed, since this is a command-level parameter. However, an option to display a warning in chat (e.g., “Logging out in 10 seconds…”) before disconnecting would be a nice addition.
Context
This feature would protect users who automate long tasks with Baritone from being killed by mobs, environmental hazards, or being kicked due to being AFK. It’s especially helpful for players who start Baritone commands and walk away from the screen. It adds a practical safety layer to autonomous gameplay.
Final checklist
- I know how to properly use check boxes
- I have not used any OwO's or UwU's in this issue.