Version: 1.2 Author: nihil (based on rnxmUI)
Customizable cast bars for Player, Target, and Focus with advanced positioning, masks, and visual effects.
- Player Cast Bar: Your spell casts and channels
- Target Cast Bar: Enemy/friendly target cast tracking
- Focus Cast Bar: Focus target cast monitoring
- Spell Icon: Display the spell being cast
- Spell Name: Show the name of the spell/ability
- Cast Timer: Countdown or progress timer
- Cast Bar Fill: Smooth progress bar animation
- Custom Masks: Apply shaped masks for unique appearance
Each cast bar (Player, Target, Focus) has independent settings:
- Enable/Disable: Show or hide specific cast bars
- Size: Custom width and height
- Position: Full control with point, relativeTo, relativePoint, and X/Y offsets
- Mask Texture: Apply custom shaped masks
- Movable Mode: Drag-and-drop positioning in-game
- Show Icon: Enable/disable spell icon display
- Show Text: Enable/disable spell name text
- Show Timer: Enable/disable cast time countdown
- Development Tools: Built-in debug mode for testing
- Position Helpers: Visual guides for frame placement
- Console Logging: Detailed event tracking
- Visual Feedback: Clear indication when a cast is interrupted
- Lockout Display: Show spell school lockout duration
- Extract the
Nihui_cbfolder to:World of Warcraft\_retail_\Interface\AddOns\ - Restart World of Warcraft or type
/reload
Open the settings panel:
/nihuicb
- Type
/nihuicbto open the configuration GUI - Select the unit (Player, Target, or Focus)
- Enable movable mode to drag the cast bar to your desired position
- Adjust size, visibility options, and mask texture
- Disable movable mode to lock the position
Method 1: Drag-and-Drop (Recommended)
- Enable "Movable" option for the unit
- Click and drag the cast bar to desired position
- Disable "Movable" to lock it in place
Method 2: Manual Coordinates
- Set anchor point (e.g., "BOTTOM", "CENTER")
- Set relative frame ("UIParent" or other frame name)
- Set relative point (where on the relative frame to anchor)
- Adjust X/Y offsets for fine-tuning
Player Cast Bar:
- Point:
BOTTOM - Relative:
UIParent - X Offset: 0
- Y Offset: 150 (above bottom of screen)
Target Cast Bar:
- Point:
CENTER - Relative:
UIParent - X Offset: 0
- Y Offset: -50 (slightly below center)
Focus Cast Bar:
- Point:
CENTER - Relative:
UIParent - X Offset: 250
- Y Offset: -50 (to the right of target)
Apply custom shaped masks to your cast bars:
mask = "Interface\\AddOns\\Nihui_cb\\textures\\UIUnitFramePlayerHealthMask2x.tga"Masks create unique shapes like rounded corners, angled edges, or decorative borders.
Return to default configuration:
/nihuicb reset
- Game Version: Retail (The War Within - 11.0.2+)
- Works With: All unit frame addons
- Conflicts: May conflict with other cast bar addons (Quartz, GnomishCastbars)
- Efficient event handling (registers only when needed)
- Smooth animations with minimal CPU usage
- Lightweight memory footprint
Settings stored per character:
WTF\Account\<ACCOUNT>\<SERVER>\<CHARACTER>\SavedVariables\NihuiCastBarsDB.lua
Q: Cast bars not showing
A: Make sure the cast bar is enabled in /nihuicb and check that you're casting a spell
Q: Cast bar is in wrong position A: Enable movable mode and drag it, or check the X/Y offset values
Q: Mask texture not applying A: Verify the mask file path is correct and exists in the textures folder
Q: Timer not showing A: Enable "Show Timer" option in the configuration for that unit
Q: Focus cast bar not visible
A: Make sure you have a focus target set (/focus)
Q: Cast bar too small/large A: Adjust width and height values in the configuration
Enable debug mode for development and troubleshooting:
debug = trueDebug mode provides:
- Console logging of cast events
- Frame position information
- Event firing details
/nihuicb- Open configuration GUI/nihuicb reset- Reset to default settings/reload- Reload UI after major changes
- Positioning: Place player cast bar near your unit frames for easy viewing
- Size: Make target/focus cast bars smaller than player cast bar for hierarchy
- Masks: Use consistent masks across all cast bars for visual cohesion
- Icons: Show icons for enemy cast bars to quickly identify dangerous spells
- Timer: Enable timer on target/focus to track interrupt windows
Author: nihil Based on: rnxmUI cast bar system
Part of the Nihui UI Suite
Track every cast with precision