Download
(15Kb)
Download
Updated: 07-28-18 11:07 PM
Pictures
File Info
Updated:07-28-18 11:07 PM
Created:02-13-09 03:58 PM
Downloads:33,258
Favorites:160
MD5:

Class Colors  Popular! (More than 5000 hits)

Version: 8.0.0.1
by: Phanx, Akkorian

I am no longer developing or maintaining World of Warcraft addons. I haven't played in years, and don't have the time or interest to continue working on addons for a game I don't play anymore. If you are an addon author interested in continuing one of my addons, please see https://phanx.net/addons/. If you are an addon user, sorry, but there won't be any more fixes or updates from me.
Class Colors lets you change class colors without breaking parts of the Blizzard UI.
Class Colors erlaubt das Ändern der Klassenfarben ohne Interferenzen mit dem Blizzard UI.
Cambiar los colores de clase sin romper la interfaz de usario de Blizzard.
Mudar as cores de classes sem quebrar a interface do usuário da Blizzard.
Изменение цветов класса не вмешиваясь в Blizzard UI.

It is supported by many popular addons, and also applies your custom colors to all parts of the Blizzard UI that are normally class-colored. If you want to colorize more parts of the Blizzard UI, check out yClassColors by yleaf.

Type “/classcolors” for options, or open the Class Colors panel in the Interface Options window.

Language Support

Works in all languages. The options panel is completely translated into English, Deutsch, Español, Português, and Русский; and partially translated into Français, Italiano, 한국어, 简体中文, and 繁體中文. You can add or update translations for any language on the CurseForge project page.

Feedback

Post a ticket on GitHub or post a comment on this page.

Reporting a bug? Please make sure you have the latest version of the addon from this page, and then include detailed instructions I can follow to reproduce the bug myself, whether the bug still happens when all other addons are disabled, and the exact text of the accompanying error message, if any.

How to make your addon support Class Colors

Basically, any time your addon would read a value from the RAID_CLASS_COLORS table, just look for a CUSTOM_CLASS_COLORS table and read from it instead.

If your addon uses a local upvalue for RAID_CLASS_COLORS, or builds a local cache table of class colors, you should update your upvalue or cache in response to the PLAYER_LOGIN event, and register for a callback to be notified when the user changes a class color.

Please do not check for the !ClassColors addon by name — eg. with GetAddOnInfo or IsAddOnLoaded — or set !ClassColors as a dependency for your addon. Use the methods described above.

See the CUSTOM_CLASS_COLORS documentation for more details!

Version 8.0.0.0
  • Updated default UI coloring module to remove code for parts of the UI removed in BFA.

Version 7.3.5.1
  • Removed debug messages

Version 7.3.5.0
  • Fixed an error when showing nameplates on enemy players
  • Moved the default UI coloring to a separate module that can be enabled or disabled independently of the main addon

Version 7.2.0.0
  • Updated for WoW 7.2

Version 7.1.0.0
  • Updated for WoW 7.1

Version 7.0.3.4
  • Fixed an error when opening the Mythic Dungeons window

Version 7.0.3.3
  • Fixed an error when opening the Mythic Dungeons window
  • Fixed enemy NPC nameplates using the warrior class color

Version 7.0.3.2
  • Fixed the appearance of the color swatches in the options panel

Version 7.0.3.1
  • Fixed an error when opening or changing the class filter in the heirloom journal

Version 7.0.3.0
  • Updated for WoW 7.0 (Legion)
Post A Reply Comment Options
Unread 08-18-14, 03:46 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.4.8.101
  • Added Russian translations from Yafis
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 10-16-14, 08:44 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Update is coming. Just need to do a quick grep through the Blizz UI code and account for any changes.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 11-12-14, 03:50 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 6.0.3.24
  • Fixed coloring on the character frame level text
  • Added a workaround for some addons passing invalid GUIDs to GetColoredName

Version 6.0.3.23
  • Updated for Warlords of Draenor
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Last edited by Phanx : 01-02-15 at 08:24 AM.
Report comment to moderator  
Reply With Quote
Unread 01-02-15, 06:00 PM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 648
File comments: 204
Uploads: 4
You made a typo when naming the AddOn folder, it's ClassColors instead of !ClassColors in the latest version.
__________________
All I see is strobe lights blinding me in my hindsight.
Report comment to moderator  
Reply With Quote
Unread 01-02-15, 10:44 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Ah yeah, that's my fault, the Curse packager was being too slow and I had to leave, but didn't want to forget, so I just grabbed the ZIP from GitHub and (thought I) fixed it up to work. Fixed now!
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 01-28-15, 08:01 PM  
Minerv
A Black Drake
 
Minerv's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 89
File comments: 31
Uploads: 2
Heyo, been wanting to use this AddOn for a while, but with some other colors used in !LynColors, the ones Led++ used in Led v1, but he was using 0-1.0 RGB values and i have no idea on how to figure out how to get the same colors in 0-255 values.

Just asking here if you/someone has any idea about that?
Last edited by Minerv : 01-28-15 at 08:02 PM.
Report comment to moderator  
Reply With Quote
Unread 01-28-15, 09:15 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Multiply by 255.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 07-24-16, 02:49 AM  
siweia
A Flamescale Wyrmkin
 
siweia's Avatar
AddOn Author - Click to view AddOns

Forum posts: 126
File comments: 195
Uploads: 14
Code:
Interface\AddOns\!ClassColors\ClassColorsBlizz.lua:516: Usage: GetClassInfo(ID)
Count: 1

Call Stack:
[C]: ?
[C]: in function `GetClassInfoByID'
Interface\AddOns\!ClassColors\ClassColorsBlizz.lua:516: in function `UpdateClassFilterDropDownText'
...Blizzard_Collections\Blizzard_HeirloomCollection.lua:43: in function <...Blizzard_Collections\Blizzard_HeirloomCollection.lua:19>
[C]: in function `SetShown'
...AddOns\Blizzard_Collections\Blizzard_Collections.lua:53: in function `CollectionsJournal_UpdateSelectedTab'
...AddOns\Blizzard_Collections\Blizzard_Collections.lua:86: in function <...AddOns\Blizzard_Collections\Blizzard_Collections.lua:80>
[C]: in function `Show'
Interface\FrameXML\UIParent.lua:2336: in function `SetUIPanel'
Interface\FrameXML\UIParent.lua:2177: in function `ShowUIPanel'
Interface\FrameXML\UIParent.lua:2048: in function <Interface\FrameXML\UIParent.lua:2044>
[C]: in function `SetAttribute'
Interface\FrameXML\UIParent.lua:2830: in function `ShowUIPanel'
Interface\FrameXML\UIParent.lua:2814: in function `ToggleFrame'
Interface\FrameXML\UIParent.lua:820: in function `ToggleCollectionsJournal'
[string "TOGGLECOLLECTIONS"]:1: in function <[string "TOGGLECOLLECTIONS"]:1>

I add a line "if not self.classFilter then return end" to fix it.
Last edited by siweia : 07-24-16 at 02:52 AM.
Report comment to moderator  
Reply With Quote
Unread 08-01-16, 07:34 AM  
Päron
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hey there, got a minor issue that's bothering me a tiny bit.
The enemy nameplates of dummies and mobs are taking on the warrior classcolor. If i change that in anyway it also changes the colors of those, even with default settings.

I'm not using any addons that could interfere with nameplates since I'm using blizzard default nameplates. But just incase I also disabled every other addon and with only just classcolors on it's still acting this way.
Cleared the cache and went through the troubleshooting guide, and I got no luck there. Not getting any LUA errors of any kind.
Report comment to moderator  
Reply With Quote
Unread 08-02-16, 04:52 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
I'll look into it when I get a chance, but I still have addons that are completely broken to update, and it doesn't affect the nameplate addon I use (Kui Nameplates), so it's not a high priority right now, sorry.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 08-02-16, 06:52 PM  
Päron
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Okay, aye tried out various nameplate changing addons such as kui nameplates,tidyplates and elv ui. And the issue is not present there, it's seems to only be with default ones. If that's to any help.
Report comment to moderator  
Reply With Quote
Unread 08-12-16, 08:21 AM  
Voyager
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 31
Uploads: 9
There's a bug with the Blizzard_RaidUI where classes don't always get recolored.

The issue is at line 594:
Code:
	if class and online and not dead and _G["RaidGroup"..subgroup].nextIndex <= MEMBERS_PER_RAID_GROUP]] then
_G["RaidGroup"..subgroup].nextIndex is 6 whenever a 5th person joins a subgroup, changing it to the following fixes it.

Code:
	if class and online and not dead then
Report comment to moderator  
Reply With Quote
Unread 08-15-16, 08:10 AM  
Wimpface
A Molten Giant
 
Wimpface's Avatar
AddOn Author - Click to view AddOns

Forum posts: 648
File comments: 204
Uploads: 4
Also having the issue of the Warrior class color being used for NPC nameplates, except it persists even when using a nameplate addon. In this case, nPLates is the one being used.

Commenting out lines 97-112 obviously fixes it.
__________________
All I see is strobe lights blinding me in my hindsight.
Report comment to moderator  
Reply With Quote
Unread 09-09-16, 05:59 AM  
devilArt
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 51
File comments: 203
Uploads: 2
get this error while open mythic dungeons window

Report comment to moderator  
Reply With Quote
Unread 09-11-16, 02:51 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Mythic dungeon window and NPC nameplates should both be fixed in 7.0.3.3, but my trial account character can't actually test that the coloring in the mythic dungeon window works as intended, so please let me know (preferrably with a screenshot of the class colored things) if it does not.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: