- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
4,841 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Rift Addons
- Top Skyrim Mods
- Top Minecraft Server Mods
- Top Terraria Maps
- Top Starcraft II Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
Class Colors
- 0 Likes
- World of Warcraft
- 17,064 Downloads
- Supports: 4.2
- 6 Average Daily Downloads
- Created 2/7/2009 7:30:47 PM
- Updated 7/1/2011 8:30:32 AM
- 44 Favorites
- Project Site
- License: Some Rights Reserved
- Release Type: Release
- Newest File: 4.2.0.51
About Class Colors
Class Colors allows you to change class colors without tainting the Blizzard UI.
It is supported by many pouplar addons, and also applies your custom colors to parts of the default UI that are normally class-colored.
Options are available in the Interface Options window. You can type “/classcolors” to open the window directly to the Class Colors panel.
Localization
Class Colors is compatible with English, Deutsch, Español, Français, Русский, 한국어, 简体中文, and 正體中文 clients.
Frequently Asked Questions
If you have a question that isn’t answered here, feel free to post a comment!
How do I get class colors on my friends list?
Class Colors only colors parts of the default UI which are already colored. If you want to see names in other parts of the default UI colored by class, install an addon like Awbee’s FriendColor or yleaf’s yClassColor. Both of them will use any custom colors you set through Class Colors.
What’s wrong with addons like !ReTeal?
Addons like !ReTeal directly alter the Blizzard class color table, which causes all code which reads from that table to become “tainted”. Once this happens, Blizzard restrictions on code security cause certain parts of the UI to stop working. Some examples of problems caused by tainting the Blizzard class color table include being unable to view the raid panel while in combat, and being unable to set main tanks and main assists from the right-click menu in the raid panel.
Class Colors solves this problem by not touching Blizzard’s table at all. Instead, it creates a new table. Since this new table isn’t created or used by any Blizzard code, it doesn’t taint anything, and its values can be changed as much as you like. The downside is that any addon that would normally read from Blizzard’s table must be updated to check for the new table, and read from it instead if it exists.
How can I make my addon support Class Colors?
Essentially, all you need to do is check for and read from CUSTOM_CLASS_COLORS instead of RAID_CLASS_COLORS. However, due to the vagaries of addon load order, and the fact that Class Colors users can change class colors at any time, it is strongly recommended that you register for a callback when colors change, and delay caching class colors until the PLAYER_LOGIN event. See the API documentation for more details!
Bug Reports
If you encounter a problem with Class Colors, please submit a bug report ticket with the following information:
- Addon version (ex: 4.0.1.11)
- WoW client version and locale (ex: 4.0.1 enUS)
- Description of the problem
- Steps to reproduce the problem
- Whether the problem occurs when all other addons are disabled
- Exact text of any related error messages (without lists of local variables or installed addons, please!)
- Screenshot, if the problem is graphical
Remember to check on your ticket after a few days, as I may need more information or ask you to try a possible solution.
- Updated for WoW 4.2
- Updated for WoW 4.1
- Removed the IterateClasses metamethod since nobody uses it
- Changed the GetColoredName override to more closely emulate the original Blizzard function, as requested by Funkydude on WowAce
- Fixed LFR browser and who list coloring
- Fixed raid panel coloring
- Someday I will remember to turn off debugging before posting a release...
- Updated Blizzard UI coloring for WoW 4.0
- Removed a function that no longer exists in WoW 4.0
- Guild panel coloring hasn't been updated yet
- Player names in the raid panel will now always be colored correctly
- Added additional checks to prevent GetPlayerInfoByGUID usage errors
- Added coloring of class names in the channel pane of the chat config window
- Added coloring of names in the LookingForRaid interface
- Fixed drycode errors
- Updated for WoW 3.3
- Removed coloring for parts of the UI that aren't normally colored. This functionality may or may not reappear in a separate addon at a later date.