TRP 3 CUSTOMIZATION
To apply custom colors and icons in areas that Total RP 3 doesn't allow us to officially customize through the in-game UI, we'll need to edit the totalRP3.lua
file directly.
To do this easily, I recommend using a code editor that simplifies reading and editing .lua
files.
Recommended Free Editors

Locating the totalRP3.lua
File:
- Navigate to the following folder:
Epsilon > _retail_ > WTF > Account > YOURACCOUNTNAME > SavedVariables
- Inside the
SavedVariables
folder, find and open the file named:
totalRP3.lua
⚠️ IMPORTANT — Read before editing ⚠️
- Always make a backup of your
totalRP3.lua
file before making any changes. - Never edit the file while the game is running or your character is logged in. The game will overwrite any unsaved edits when it closes.
Safe Editing Workflow:
- Log out of your character in-game.
- Open
totalRP3.lua
in your code editor. - Make your changes, then save the file.
- Log back in to see the changes reflected in your profile.
Note: Total RP 3 does not update this file in real-time. If you edit the .lua
file while the game or TRP is still running, you may overwrite your edits or lose progress.
If you're using Visual Studio Code, it will auto-refresh the file when the game updates it after logout. If you're using another editor, it's best to close and reopen the file after each game session to ensure you're editing the latest version.
Understanding TRP Formatting Codes
TRP uses special formatting codes to embed colors and icons directly into profile text. Here’s a breakdown:
|cffRRGGBB
-
Starts a color segment. Replace
RRGGBB
with a hex color code.
Example:|cffffd0c2
is a soft pink. |r
-
Resets the color back to default. Always use this after a
|cff
to prevent color bleed. |TtexturePath:size|t
-
Embeds an icon.
texturePath
is the icon’s file path, andsize
sets its dimensions.
Example:|TInterface\\Icons\\pet_type_mechanical:20|t
shows a 20x20 mechanical pet icon.
EDITING THE CODE
I will now use CTRL+F to search for my characters name within the .lua
file.

We are going to add color to the ["RA"]
attribute which is the Race. TRP uses standard hex color codes (like in CSS) to color text.
I chose the color #FFD0C2
["RA"] = "|cffffd0c2Mechagnome|r",
I also want to add an icon next to the race. Icons in World of Warcraft are stored in the
Interface\\Icons
directory.
You can find the icon names using the in-game icon browser when customizing your TRP3 profile—hovering over an icon will display its file name.
["RA"] = "|TInterface\\Icons\\pet_type_mechanical:20|t |cffffd0c2Mechagnome|r",

Note: You can also apply custom colors to elements like your glances, title, currently, and more. However, when it comes to adding icons, I recommend using them only in either your race or class fields.
Avoid cluttering your profile with too many icons or effects—simplicity is key. A clean and focused profile is not only easier to read but also looks much more polished.
Keep in mind that other players may not see the changes you've made until they reset your profile on their end.
If you edit any text within your TRP profile (like your Title, Glances or Currently sections), you'll need to reapply the custom colors or icons inside the .lua
file.
For this reason, it's best to apply your formatting only after your profile content is finalized. Otherwise, you'll end up having to repeat the process every time you make edits.