Difference between revisions of "breakTime"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '= 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 maintenan…')
 
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
= breakTime plugin (svn) =
+
= breakTime plugin =
  
 
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: [http://openkore.svn.sourceforge.net/viewvc/openkore/plugins/breakTime/trunk/ breakTime.pl].
+
This plugin is enabled by default
 +
 
 +
<s>Although all plugins are now present by default in Openkore - you just have to [[LoadPlugins_list|enable its loading]], you can download it from Git: [https://github.com/OpenKore/openkore/tree/master/plugins/ breakTime.pl].</s>
  
 
= Config option =
 
= Config option =
 
== Syntax ==
 
== Syntax ==
 
  autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}] {
 
  autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}] {
  startTime <time>
+
  startTime <timе>
  stopTime [<time>]
+
  stopTime [<timе>]
 +
disabled <bollean>
 
  }
 
  }
  
Line 19: Line 22:
  
  
; startTime <time>
+
; startTime <timе>
 
: This option specifies the time (in 24-hour format) when Kore will automatically disconnect.
 
: This option specifies the time (in 24-hour format) when Kore will automatically disconnect.
  
  
; stopTime [<time>]
+
; stopTime [<timе>]
 
: This option specifies the time (in 24-hour format) when Kore will reconnect after disconnecting.
 
: This option specifies the time (in 24-hour format) when Kore will reconnect after disconnecting.
  
  
 
'''Notes:'''  
 
'''Notes:'''  
* Can only be used to break for less than 24 hours.
+
* 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!
 
* AM/PM Format is not supported, you must use 24 Hr clock!
* Opened your openkore in the middle of startTime and stopTime it will not work!
+
* When opening your openkore at a time at, or between startTime and stopTime, it will not work until stopTime passes!
 +
 
  
 
== Examples ==
 
== 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:
 
* 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 {
+
  autoBreakTime sun {
 
  startTime 21:29
 
  startTime 21:29
 
  stopTime 01:08
 
  stopTime 01:08

Latest revision as of 00:44, 4 May 2021

breakTime plugin

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

This plugin is enabled by default

Although all plugins are now present by default in Openkore - you just have to enable its loading, you can download it from Git: breakTime.pl.

Config option

Syntax

autoBreakTime [{all|mon|tue|wed|thu|fri|sat|sun}] {
	startTime <timе>
	stopTime [<timе>]
	disabled <bollean>
}

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 <timе>
This option specifies the time (in 24-hour format) when Kore will automatically disconnect.


stopTime [<timе>]
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
}