[Guide] [TrinityCore] DTDB_colors table

bulle7proof

New Member
Joined
Feb 10, 2009
Messages
344
Reaction score
68
For the people who already use DTDB , probably they have noticed dtdb_colors table.There I have put information about some colors and their codes. Their codes are used by TrinityCore to make a colored text ( like trinity_string table where you can practice making texts colored)

Let me give you example:

You have text " This is not a valid command " .
You want to make it red , so we check from dtdb_colors the color code of red (speechless)CFFFF0000 %text |R

We put |CFFFF0000 %text |R in our string field and replace %text with "This is not a valid command "

Final result : |CFFFF0000 This is not a valid command |R