XPBar is a fully configurable XP Bar replacement, designed to be flexible enough to fit any Custom UI design.
You can adjust width, height, scaling factor, text position, alpha level of background, and the way the text is displayed, using variables. It also saves all settings by Server and Character, so you can have different setups for different toons.
- Valid variables are lvl for Current Level, pxp for Percentage of Level Gained, pxpr for Percentage of Level Remaining, cxp for Current XP, mxp for Maximum XP. trxp for Total Rested XP Remaining and brxp for Bonus Rested XP Remaining.
- The default text is "[lvl] cxp/mxp rxp [pxp%]" which looks something like "[20] 12152/23200 (+2152) [52%]" on my level 20 mage.
Note: 0.9 is a major revision. You are going to lose all your current XPBar settings when you upgrade. It's worth it for the changes, and shouldn't happen again. Sorry!
Configuration:
- '/xpb config' for the configuration screen.
Future plans:
- Customisability of colours for Normal and Rested states.
Credits:
A lot of code technique, ideas and the like was garnered from reading through the source of MiniGroup, GypsyPlayerFrame and FooBar - so credit must go to the authors of these for effectively teaching me how to write in LUA for WoW. A lot of the Configuration code was inspired by MonkeyBuddy and Discord Unit Frames - thanks for writing clear code, guys.
Changes:
v0.30 [20/07/08]
- TOC Update *only*
v0.20 [24/01/07]
- TOC Update
- Fixed for 20003
- Added 2 decimal places precision to percentages
v0.10 [21/09/05]
- TOC Update
- Fixed for 1.7 Patch
v0.9 [8/8/05]
- Major revisions
- added Configuration screen
- added new variables
- XPBar now changes colour based on your Rested state.
- Fixed some peculiarities with how scaling and sizing affected text display
- added per realm/character configuration
v0.8 [25/4/05]
- Added text= directive
- Changed some command syntax, please read description
v0.7b
- Update for latest UI Build (1300)
- Fixed issue with Backdrop sometimes appearing infront of the XP Bar, rather than behind
v0.7 [18-03-05]
- Added width= option
- Added height= option
- Fixed bug with saving text position across sessions
v0.6 [17-03-05]
- Added scale=[##] option
- Fixed a potential first-use bug
v0.5 [16-03-05]
- Added alpha=[0.0-1.0] option
- Added reset option
- Made bar permanently green
- Added rested=[bonus|total] option
v0.4
- Added text=[top|bar|bottom] option
v0.3
- Fixed Interface number [4216]
- Changed font for [hopefully] easier reading
- RestedXP now updates as it accumulates
v0.2b
- Fixed version number for latest Patch
v0.2 [14/02/05]
- Added [Lvl] to the Text
- Made Text toggleable via menu and/or slashcommand
- Made Text font smaller so it looks neater
v0.1
- Initial Release