register: (number?, number?, number?, number?, string?) -> ()
Starts this plugin's run clock, and suggests its defaults: runMin to runMax minutes of play between breaks, breakMin to breakMax minutes of break, and format. Leave any of them out to take the global default for it; a window with a maximum of 0 or less is left out too. The user's saved settings win over all of these. Calling it again replaces the defaults and restarts the clock. Raises for a format other than "logout", "afk", "newWorld" or "hop".
atSafeSpot: () -> boolean
Says this is a safe spot: starts this plugin's break when one is due and the user has breaks on for it. true while a break is running, this one or another plugin's, so the plugin sits out the tick. Call it wherever stopping would do no harm, such as just after banking.
remainingSeconds: () -> number?
Seconds left in the running break, rounded up; nil when no break is running, or this plugin has not registered. Once the break's time is up and the client is on its way back this is nil too, while active() stays true.
untilBreakSeconds: () -> number?
Seconds until this plugin's next break is due, rounded up; nil while breaks are off for it, this plugin has not registered, or a break is running. It reads 0 once one is due: the break then starts at the next atSafeSpot().