breakTime: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(update link)
(edit link)
Line 3: Line 3:
Automatically disconnect and reconnect at certain times of the day. This feature is useful if you want to automatically logout during server maintenance periods.  
Automatically disconnect and reconnect at certain times of the day. This feature is useful if you want to automatically logout during server maintenance periods.  


You can download it from svn: [svn://svn.code.sf.net/p/openkore/code/plugins/breakTime/trunk/ breakTime.pl].
You can download it from svn: [http://sourceforge.net/p/openkore/code/HEAD/tree/plugins/breakTime/trunk/ breakTime.pl].


= Config option =
= Config option =

Revision as of 11:54, 31 July 2014

breakTime plugin (svn)

Automatically disconnect and reconnect at certain times of the day. This feature is useful if you want to automatically logout during server maintenance periods.

You can download it from svn: breakTime.pl.

Config option

Syntax

autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}] {
	startTime 

Attribute definitions


autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}]
This option allows you to specify on which days of the week will Kore automatically disconnect.


startTime
This option specifies the time (in 24-hour format) when Kore will automatically disconnect.


stopTime [
This option specifies the time (in 24-hour format) when Kore will reconnect after disconnecting.


Notes:

  • All times are your computer's local time, not UTC/GMT, not the server's local time.
  • startTime and stopTime can straddle either side of midnight (00:00).
  • Can only be used to break for less than 24 hours; define two or more breaktimes for these longer time periods.
  • AM/PM Format is not supported, you must use 24 Hr clock!
  • When opening your openkore at a time at, or between startTime and stopTime, it will not work until stopTime passes!


Examples

  • The following example will make Kore automatically disconnect at 9:29 P.M. on Sunday and resume botting at 1:08 A.M. on Monday:
autoBreakTime Sun {
	startTime 21:29
	stopTime 01:08
}