G A D G E T S : B U F F S
Buff & Debuff Related Gadgets
Gadgets: Buffs on RiftUI | Gadgets: Buffs on Curse
This requires the latest version of Gadgets to be installed, and currently only gives you a Buff Bars gadget. The Buff Icons gadget will follow once I'm happy with this one and all the bugs are squashed.
BUFF BARS : configurable buff & debuff timer bars
BUFF ICONS : configurable buff & debuff icon panels
BUFF BARS
Here's an example with buff bars placed above a standard unit frame, set to grow upwards: (note, this works far better with the upside down version with built in buffs turned off, which is the screenshot I thought I'd uploaded. Ooops)
Note, the bars will size automatically when you resize the gadget, so there are no options for specifying bar height/width, or font sizes.
This gadget provides a set of buff/debuff timers for the player, target or focus target. Up to 20 timers can be displayed in one gadget, and filters can be applied to select exactly which buffs you wish to display.
Configuration dialog:
Unit to Track: The unit whose buffs you want to watch.
Heading: An optional piece of text that is displayed above or below the set of bars. This text can include tokens such as "{name}" to display the unit's name.
Maximum Number of Bars: limits the number of bars that can be shown, for performance as well as space reasons.
Grow Up: the gadget will fill with buffs starting from the bottom, growing upwards.
Grow Down: the gadget will fill with buffs starting from the top, growing downwards.
Show Tooltips: display a tooltip when hovering over a buff bar.
Right Click to Cancel: allow buffs on the player to be cancelled by right clicking them.
Buffs Cast by Player: show buffs cast by you.
Buffs Cast by Unit: show buffs cast by the unit being watched.
Buffs Cast by Anyone Else: show buffs not cast by you or the unit.
Permanent Buffs: show permanent buffs (buffs with infinite duration)
Debuffs Cast by...: just the same as above for buffs.
Curses/Diseases/Poisons/Other: untick to hide specific types of debuff. E.g. unticking 'Other' should hide debuffs that cannot be cleansed.
Include Only: select this to make the filter list work as a whitelist
Exclude: select this to make the filter list work as a blacklist
Filters: this is the large text box below the Include/Exclude options. Add one buff name per line to either blacklist or whitelist the buff.
An asterisk (*) can be used as a wildcard anywhere in the buff name. For example, "track *" will include all of the Tracking buffs, such as Track Wood and Track Ore.
The appearance tab is currently empty. This will provide options for things like buff/debuff colours, but I want to write a reusable colour selection control before I add these.
The filters box duplicates lines when you press enter. This is due to a bug in RIFT, and means I will need to completely change the way I handle this part of the dialog to fix it
BUFF ICONS
When styling the icons, the following options are available:
Icon size - how big the buff icons are
Border width - how thick the border around the icon is
Padding Left/Right/Top/Bottom - how much background is added around the icon
Border colour - the colour of the icon border for buffs and debuffs
Background colour - the colour of the padding area around the icon for buffs and debuffs
Timer size - the font size of the timer text
Stack size - the font size of the stacks counter text
Timer X/Y - the position of the timer text on the icon
Stack X/Y - the position of the stacks text on the icon
Show Timer/Stack - whether to show timer and stack text on the icon
Note - a Preview of 4 icons will appear to the right of the window, which can be used to see what your icon and grid layout will look like.
The grid layout has:
Horiz Spacing - the gap between each icon within a row
Vert Spacing - the gap between each row of icons
Grid Cols - how many icons the panel will show horizontally
Grid Rows - how many icons the panel will show vertically
Fill From - where the panel will place the first icon


2Likes
)![[Addon] Gadgets: Buffs-buff-bars-over-standard-unit-frame.png](http://forums.riftgame.com/attachments/addon-api-development/7965d1344198654t-addon-gadgets-buffs-buff-bars-over-standard-unit-frame.png)
![[Addon] Gadgets: Buffs-buff-bars-config.jpg](http://forums.riftgame.com/attachments/addon-api-development/7966d1344198657t-addon-gadgets-buffs-buff-bars-config.jpg)
Reply With Quote![[Addon] Gadgets: Buffs-buff-bars-over-upside-down-unit-frame.png](http://forums.riftgame.com/attachments/addon-api-development/7967d1344200439t-addon-gadgets-buffs-buff-bars-over-upside-down-unit-frame.png)



Bookmarks