<<size 150%>>**Parameters in <<color #ff0000>>red<</color>> are optional.**<</size>>\\\\

=== <<color #265677>> **BarFinished(event, id, text, icon)** <</color>>
Triggered by Bars plugin when a bar finishes 

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **id** (string) Identification of the bar.
* **text** (string) The text originally set on the bear.
* **icon** (string) The icon that was last set on the bar.

\\
=== <<color #265677>> **BarPause(event, id, pause)** <</color>>
Pause a running bar 

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **id** (string) The id of the bar that should be paused
* **pause** (boolean) true means the bar should be paused, false or nil means it should resume if it was paused before.

 <<size 120%>><<color #265677>> Usage <</color>><</size>>
<<code lua>>RW.Callbacks:Fire("BarPause", "bar1", true)<</code>>
\\
=== <<color #265677>> **BarSetTimeLeft(event, id, timeLeft)** <</color>>
Adjust the remaining time of a running bar.

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **id** (string) The id of the bar that should be adjusted.
* **timeLeft** (number) The time the bar should have left.

 <<size 120%>><<color #265677>> Usage <</color>><</size>>
<<code lua>>RW.Callbacks:Fire("BarSetTimeLeft", "bar1", 23)<</code>>
\\
=== <<color #265677>> **BarStart(event, id, duration, text, icon, color, anchorID)** <</color>>
Starts a new timer bar, if the id is the same as one allready running the running one will be replaced with this.

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **id** (string) Identification of the bar, used when later interacting with the bar (cancel, paus...)
* **duration** (number) The duration the bar should have.
* <<color #ff0000>>**text**<</color>> (string) The text that should be displayed on the bar.
* <<color #ff0000>>**icon**<</color>> (string|number) The icon that should be displayed on the bar, if icon display is enabled.
* <<color #ff0000>>**color**<</color>> (table) The color the bar should use, if nil the color set in the options will be used. (number indexed color table).
* <<color #ff0000>>**anchorID**<</color>> (string) The ID of the anchor where the bar should pop up at first.

 <<size 120%>><<color #265677>> Usage <</color>><</size>>
<<code lua>>RW.Callbacks:Fire("BarStart", "bar1", 25, "This is bar 1")<</code>>
\\
=== <<color #265677>> **BarStop(event, id)** <</color>>
Stops a running bar 

<<size 120%>><<color #265677>> Parameters <</color>><</size>>
* **id** (string) The id of the bar that should be stopped

 <<size 120%>><<color #265677>> Usage <</color>><</size>>
<<code lua>>RW.Callbacks:Fire("BarStop", "bar1")<</code>>
\\
=== <<color #265677>> **BarStopAll(event)** <</color>>
Stop all running bars 

<<size 120%>><<color #265677>> Parameters <</color>><</size>>

 <<size 120%>><<color #265677>> Usage <</color>><</size>>
<<code lua>>RW.Callbacks:Fire("BarStopAll")<</code>>
\\