Download
(15Kb)
Download
Compatible with Retail, Classic & TBC
Updated: 06-08-24 07:13 AM
Pictures
File Info
Compatibility:
Classic (1.15.2)
Fractures in Time (10.1.5)
WotLK Patch (3.4.2)
Updated:06-08-24 07:13 AM
Created:10-13-10 02:44 PM
Downloads:13,099
Favorites:49
MD5:

Friend List Colors  Updated less than 3 days ago!  Popular! (More than 5000 hits)

Version: v10.2.7.240608
by: Vladinator [More]

Official repository can be found at GitHub.

Tired of the old friend list? This addon does more than just coloring your friends by class. You can specify what kind of information is shown and how the text is colored. You may even use the note field to specify their alias and show that in the friend list - the possibilities are endless!

Getting started
You can play around with the rules by opening your interface settings, going to the "AddOns" tab on top, and finding the addon in the list.

Examples
By default you will find the following pattern as standard:

Code:
[if=level]L[=level] [/if][=accountName|name][if=characterName] ([=characterName])[/if]
If you want to try out something else, try this one:
Code:
[if=level]L[=level] [/if][=accountName|characterName|name]
These will probably not suit your needs. That's fine. Why not make your own?

Syntax
There are three types of data types. Output blocks, logic blocks and color blocks.

You can make the addon output information:
Code:
[=characterName|accountName|name]
The addon will try to show the character name, if it doesn't exist, the account name. These are Battle.net specific, so we add the character name from the World of Warcraft friend system, not RealID/BattleTag. This way we cover for both types of friends we can encounter.

You can also make show specific output based on information:
Code:
[if=name]Friend[/if]
The addon will check if the friend is a World of Warcraft friend, then show the text `Friend`. You can put anything you like inside the block itself.

You can color the output, similar to how you specify the `[if]` blocks above, by using:
Code:
Level [=level]
The addon will use the level difference and color the text `Level [=level]` appropriately. Note that since we also have `[=level]` present, it will change that into their actual character level. For the time being you can only color based on `level` or `class`.

Variables

This is the complete list of variables available for you to use:

RealID and BattleTag friends:
  • bnetIDAccount
  • accountName
  • battleTag
  • isBattleTag
  • characterName
  • bnetIDGameAccount
  • client
  • isOnline
  • lastOnline
  • isAFK
  • isDND
  • messageText
  • noteText
  • isRIDFriend
  • messageType
  • canSoR
  • isReferAFriend
  • canSummonFriend
  • hasFocus
  • realmName
  • realmID
  • faction
  • race
  • class
  • guild
  • zoneName
  • level
  • gameText

World of Warcraft friends:
  • name
  • level
  • class
  • area
  • connected
  • status
  • notes
  • isReferAFriend

FriendListColors
v10.2.7.240608 (2024-06-08)
Full Changelog Previous Releases
  • Merge branch 'master' of https://github.com/Vladinator/wow-addon-friendlistcolors
  • - TOC bump.
    - Added support for `timerunner` (the season ID) and `timerunnerIcon` variables.
  • - TOC bump.
    - Added support for `timerunner` (the season ID) and `timerunnerIcon` variables.
  • Update release.yml
  • Preparation for 11.0
  • Added TOC files for the other clients.
  • TOC bump for 10.1
  • Remember to update the TOC
  • Merge branch 'master' of github.com:Vladinator89/wow-addon-friendlistcolors
  • Updated for 10.0.0
  • Update README.md
  • TOC bump.
  • - Added hint to press Enter to save when editing.
    - When editing, we backup the format and if we don't save we restore it back to how it was originally.
    - Storing empty format will reset it back to how it was before the user started editing.
  • Added back the backdrop on the edit box for the sake of clarity.
  • Replaced the hook style from replacing `SetText` to hooking it and only setting the text when applicable, without recursion.
  • Code rewrite for better legacy and future support (#2)
    * First rewrite
    * Added old UI, will need some rework
    * Fixed ref issue
    * Finalize settings code
    * Class color fix and avoided old collision by alias
    * Don't override if the colors already are defined.
    * - Finalized alias system and didn't add name=characterName for legacy support.
    - Added `~=` syntax example and updated the variables used.
    * TOC version bump
  • TOC bump
  • Removed debug print.
  • DF support
  • Added back Classic support so the addon works with both clients.
  • Improved alias replacement handling in messages, but needs more BNet work to get that working properly. Also need to look at the popup notifications containing the BNet names.
  • Added new tags to readme file.
  • Forgot to bump the version before releasing this update.
  • - Adjusted some of the friends data for SL so we shouldn't show the wrong information at the wrong places anymore.
    - Added inverse logic blocks like `[if~=noteText]Person has no note text[/if]` and the contents would only show if `noteText` tag was empty.
    - Added the tag `battleTagName` that only shows the first part of the battle tag so "Ola#1234" becomes "Ola".
    - Added limited support for `race` for your character friends, it's not originally a variable from the API, but figured I could try add it in case someone was missing that information.
  • Correct TOC bump for SL pre-patch.
  • Cleaned up deprecated file.
  • Create release.yml
  • Added deprecated API handling to avoid errors.
  • BfA and Shadowlands support.
  • TOC bump
  • Just to be super safe, ignore the travis file by name.
  • TOC bump and WoWInterface automatic packaging.
  • Added back Classic support along with the 8.2.5 changes.
  • Patch 8.2.5 changed the friend list so this patch accommodates for that change and makes the addon functional again.
  • TOC bump.
  • Fixed an issue with deprecated API missing in the later patches. This fix solves issues both on Classic and Retail.
  • TOC bump
  • Replaced the friend list info deprecated API with the new one that also works on Classic.
  • Fallback the class color logic if a class name is provided as color value.
  • Updated for BfA.
  • Patch 7.2 update.
  • Moved alias extracting code to a more natural location.
  • - TOC bump and fixed issue with RealID/Bnet friends. The editbox should now properly insert the custom nick note.
  • - Corrected the .pkgmeta entry.
    - Drafting a way to alter the name with the alias name where ever it is used by the UI.
  • Updated the readme file. Added the ignored toon related variables for BNet friends on the options screen.
  • Cleaned up TOC
  • Initial Legion commit. Recoded the entire addon. Has backwards compatibility for Warlords of Draenor, despite it appearing as "Out of date"
  • Fixed issue with patterns not matching properly.
  • Updated libraries.
  • License change. Get in touch with me if you wish to discuss.
  • Fixed an error.
  • Version bump.
  • Finalized early edition of the interface. Brushed up on functionality.
  • Added handling of custom syntax and made the friend list update accordingly. Requires performance testing.
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
v10.1.5.230919
13kB
Vladinator
09-25-23 04:36 AM
v10.1.0.230503
12kB
Vladinator
05-04-23 04:04 AM
v10.0.0.221026
12kB
Vladinator
10-26-22 02:19 PM
v9.2.7.221007
12kB
Vladinator
10-07-22 01:14 PM
v9.2.7.220930
12kB
Vladinator
10-05-22 11:49 AM
v9.2.7.220924
12kB
Vladinator
09-24-22 03:32 AM
v9.2.7.220917
13kB
Vladinator
09-17-22 09:15 AM


Post A Reply Comment Options
Unread 12-23-14, 08:37 AM  
excitor
A Murloc Raider
 
excitor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 40
Uploads: 1
Hey,

Regarding the Alias Module for Real ID friends. If you send or recieve a Bnet whisper the name shown in the chat edit box, as well as the name in the new chat tab/chat window shows the full Bnet name. Not the nicknames set.
Report comment to moderator  
Reply With Quote
Unread 10-25-14, 06:03 PM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
This add-on paired up with Extended Social UI causes the friend list to not show and throw the following error upon using the mousewheel on the friends tab:

Lua Code:
  1. Message: Interface\FrameXML\HybridScrollFrame.lua:67: bad argument #1 to 'min' (number expected, got nil)
  2. Time: 10/25/14 19:59:22
  3. Count: 2
  4. Stack: [C]: in function `min'
  5. Interface\FrameXML\HybridScrollFrame.lua:67: in function <Interface\FrameXML\HybridScrollFrame.lua:57>
  6.  
  7. Locals: (*temporary) = nil
  8. (*temporary) = 45
  9. (*temporary) = "number expected, got nil"

I don't know which add-on is affecting this so I've posted a comment on each.
Report comment to moderator  
Reply With Quote
Unread 10-22-14, 09:03 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Hei! Sadly the only colors at the moment are level and class. You did nothing wrong.

https://github.com/Vladinator89/wow-...iendlistcolors

Originally Posted by Gallahead
hi,

i really like your addon and all the options. thanks!
just one question: is there a possibility to add a [color=faction] tag? or did i just something wrong?
__________________
Profile: Curse | Wowhead
Report comment to moderator  
Reply With Quote
Unread 10-22-14, 08:42 AM  
Gallahead
A Defias Bandit
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 199
Uploads: 1
hi,

i really like your addon and all the options. thanks!
just one question: is there a possibility to add a [color=faction] tag? or did i just something wrong?
Last edited by Gallahead : 10-22-14 at 08:49 AM.
Report comment to moderator  
Reply With Quote
Unread 09-09-12, 01:44 AM  
excitor
A Murloc Raider
 
excitor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 40
Uploads: 1
Originally Posted by Vladinator
excitor, I tested it myself and I must say this addon needs a lot of updating, I fear it will die out soon if it doesn't get an coding overhaul.

I tried to make it work but even when I pass my message over to the addon and it works, it's options don't really work on my end, no timestamps or prefixed channel changes and such, not sure if it works for you at all. I recommend you swap over to Prat, it has a ton of modules you can turn on/off so you don't have to worry about performance, hehe.

I sadly don't think it's much use to make EasyCopy with together with Alias.
Ok then I'll have to do that sadly. I didn't like how you copied in Prat but it'll have to do.

Maybe you need to pick up a new addons? /joke

I'll see if I can get in contact with the EasyCopy author. It works perfectly now on its own but yea as you said it's no point if it's going to break in a year and never be fixed. The copying is so superior to Prat and the way it doesn't interfere with addons like Chaticons, Skinner. Is why I'm trying not to move to another "mainstream" addon.
Last edited by excitor : 09-09-12 at 02:14 AM.
Report comment to moderator  
Reply With Quote
Unread 09-08-12, 10:16 PM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
excitor, I tested it myself and I must say this addon needs a lot of updating, I fear it will die out soon if it doesn't get an coding overhaul.

I tried to make it work but even when I pass my message over to the addon and it works, it's options don't really work on my end, no timestamps or prefixed channel changes and such, not sure if it works for you at all. I recommend you swap over to Prat, it has a ton of modules you can turn on/off so you don't have to worry about performance, hehe.

I sadly don't think it's much use to make EasyCopy with together with Alias.
__________________
Profile: Curse | Wowhead
Report comment to moderator  
Reply With Quote
Unread 09-08-12, 02:16 PM  
excitor
A Murloc Raider
 
excitor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 40
Uploads: 1
Originally Posted by Vladinator
Try 1.5.6.2 when it's accepted and tell me if it worked.

I myself use Prat and have not experienced any issues. It's messy fighting over AddMessage that's true, but no other way to do this, sadly. So there will always be some addons not working, and some that work. Just gotta report if someone wants me to make this compatible with their chat addons.
No sucess that made Easycopy throw out a bunch of .lua errors and when I tried to type something in chat it literally blew my game up. :P
Report comment to moderator  
Reply With Quote
Unread 09-08-12, 11:27 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Try 1.5.6.2 when it's accepted and tell me if it worked.

I myself use Prat and have not experienced any issues. It's messy fighting over AddMessage that's true, but no other way to do this, sadly. So there will always be some addons not working, and some that work. Just gotta report if someone wants me to make this compatible with their chat addons.
__________________
Profile: Curse | Wowhead
Report comment to moderator  
Reply With Quote
Unread 09-08-12, 10:26 AM  
excitor
A Murloc Raider
 
excitor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 40
Uploads: 1
Originally Posted by Vladinator
Haven't look at this yet, but I am sure it's because it's a conflict of interest, since both probably use AddMessage overrides to format the message before it goes out. :P
Is it an Eascopy issue or a Friend List Color issue. Because I'm wondering if I should be looking for a new chat addon. Or if you will be fixing it when you have the time?
Report comment to moderator  
Reply With Quote
Unread 09-07-12, 09:38 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Haven't look at this yet, but I am sure it's because it's a conflict of interest, since both probably use AddMessage overrides to format the message before it goes out. :P
__________________
Profile: Curse | Wowhead
Report comment to moderator  
Reply With Quote
Unread 09-07-12, 09:28 AM  
excitor
A Murloc Raider
 
excitor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 40
Uploads: 1
The Alias module has compatability issues with an addon called EasyCopy (best copying addon out there)

http://www.curse.com/addons/wow/easy-copy

It's basically a 50/50 chance on log in to remove the clickable timestamps that EasyCopy adds to click to copy.

No lua errors though and Friend list color addons seems to be working fine even though it broke EasyCopy.
Report comment to moderator  
Reply With Quote
Unread 09-05-12, 07:40 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
That is correct, I uploaded 1.5.6.1 that fixed this and added the information in the slash command when the module has loaded, hehe. I was hoping no one would notice this mistake, kind of embarrassed.
__________________
Profile: Curse | Wowhead
Report comment to moderator  
Reply With Quote
Unread 09-05-12, 07:32 AM  
excitor
A Murloc Raider
 
excitor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 40
Uploads: 1
Originally Posted by Vladinator
Originally Posted by excitor
I can't seem to get the Alias feature working at all in the 1.5.6 version. Is there something I'm missing a /slash command I need to use to enable it?
It has it's own module, when enabled on the login screen addon list, you have this syntax, you put in the note of the person "^Name$" it can be anywhere, but the addon looks for the ^ and $ and uses what ever is in between as the alias for that person.

I'll add this information to the slash commands, so far only added it in the changelog, how silly of me.
I think you fucked up when you uploaded 1.5.6 look at the archived version of 1.5.6 it's missing the module all togheter.
Report comment to moderator  
Reply With Quote
Unread 09-05-12, 05:21 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 793
File comments: 337
Uploads: 31
Originally Posted by excitor
I can't seem to get the Alias feature working at all in the 1.5.6 version. Is there something I'm missing a /slash command I need to use to enable it?
It has it's own module, when enabled on the login screen addon list, you have this syntax, you put in the note of the person "^Name$" it can be anywhere, but the addon looks for the ^ and $ and uses what ever is in between as the alias for that person.

I'll add this information to the slash commands, so far only added it in the changelog, how silly of me.
__________________
Profile: Curse | Wowhead
Report comment to moderator  
Reply With Quote
Unread 09-05-12, 05:19 AM  
excitor
A Murloc Raider
 
excitor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 40
Uploads: 1
I can't seem to get the Alias feature working at all in the 1.5.6 version. Is there something I'm missing a /slash command I need to use to enable it?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: