Download
(52 Kb)
Download
Updated: 08/26/17 07:35 AM
Pictures
File Info
Compatibility:
Horns of the Reach (3.1)
Updated:08/26/17 07:35 AM
Created:04/14/14 06:04 PM
Monthly downloads:65
Total downloads:25,371
Favorites:60
MD5:
pNames  Popular! (More than 5000 hits)
Version: 10
by: Puddy, Ayantir
pNames

pNames is a simple addon to change names displayed in every chat channel.

It includes an option menu to choose between "@UserID", "Character Name" and "Character Name@UserID" thus, per guild, but also for party and say, tell and zone channels.

Please also note that pNames is embedded into pChat, but also works as a standalone addon
v10
=======
- API & Lib update
- https://github.com/Ayantir/pNames

v9
=======
- API update

v8
=======
- Splitted option for setting format for zones into 2 groups : Say/Yell/Emote and another group with Whispers/Zones
- API update

v7
=======
- You can now select to display @UserID or Char@UserID on every channel.
Two options have been added, on for party and one for all other channels.
Please note that whisps from @UserID cannot be transformed into Char or Char@UserID
- The force method has been dropped. Other addons had 1 year to be compatible with pNames
- Addon now drop brackets and the "handler" (right cic interaction) from NPS speechs.
- Addon has been widely rewrited to use dynamic functions added with lasts DLCs instead than a static list updated on login/logout
- API & libraries update

v5
=======
- API Bump
- Updated LibAddonMenu library

v4
=======
- API Bump

v3
=======
- Update for Imperial City
- Update of LibStub and LibChat

v2.a
=======
- Upgrade to LibAddonMenu 2.0-r18 and LibStub-r3

v2
=======
- Updated API version
- Upgrade to LibAddonMenu 2.0-r17
- Fixed small oversight in metafile
- Updated LibChat2 for better 3rd Party Addons integration

v1.6
=======
- Updated API version
- Upgrade to LibAddonMenu 2.0-r16
- Corrected tiny bug with Officer chats and bad string for french users

v 1.5
=======
- Corrected bug with newmember
- Added force conversion for users where pNames does nothing, disabled by default

v 1.4
=======
- Updated API version
- Few corrections to reduce memory usage and avoidreloadui when joinin/leaving a guild
- Updated libChat2

v 1.3
=======
- Convertname fully rewrited
- Updated API version
- Upgrade to LibAddonMenu 2.0-r14

v 1.2
=======
New features:
- Config per guild
- Updated API version
- Upgrade to LibAddonMenu 2.0-r13
- French & German traduction
- Added default settings & ZOS EULA

v 1.1.3
=======
- Updated API version

v 1.1.3
=======
Updated API version

v 1.1.2
=======
Bug fixes:
- Fixed an issue where LibAddonMenu was not included.

v 1.1.1
=======
Bug fixes:
- Fixed an issue with player links when the "Character Name@UserID" option was selected.

v 1.1.0
=======
New features:
- Added an options menu, with 3 name format options.
Bug fixes:
- Issues with joining and leaving guilds should be fixed.

v1.0.0
======
Initial release
Optional Files (0)


Archived Files (19)
File Name
Version
Size
Uploader
Date
9
50kB
Ayantir
06/02/17 07:47 AM
9
45kB
Ayantir
09/05/16 08:26 AM
7
45kB
Ayantir
08/02/16 11:16 AM
6
51kB
Ayantir
05/31/16 11:11 AM
5
46kB
Ayantir
03/07/16 10:39 PM
4
46kB
Ayantir
11/02/15 11:24 AM
3
46kB
Ayantir
08/31/15 03:51 PM
2.a
46kB
Ayantir
06/16/15 06:14 PM
2
40kB
Ayantir
03/03/15 05:09 AM
1.6
36kB
Ayantir
11/04/14 02:43 PM
1.5
36kB
Ayantir
09/21/14 01:12 PM
1.4
34kB
Ayantir
09/18/14 06:58 PM
1.3
31kB
Ayantir
08/13/14 09:50 AM
1.2
31kB
Ayantir
08/01/14 02:52 AM
1.1.3
9kB
Puddy
05/22/14 11:31 PM
1.1.2
10kB
Puddy
05/11/14 12:34 AM
1.1.1
6kB
Puddy
05/10/14 03:48 AM
1.1.0
6kB
Puddy
05/08/14 04:52 AM
1.0.0
5kB
Puddy
04/14/14 06:04 PM


Post A Reply Comment Options
Unread 10/11/19, 09:09 AM  
vecny.samotar
 
vecny.samotar's Avatar

Forum posts: 23
File comments: 552
Uploads: 0
thank you for posting an addon edit, it worked

couldn't someone adopt and revive this addon?

EDIT:
but now I get an error after editing

user:/AddOns/pNames/pNames.lua:122: Cannot find a library instance of "libChat-1.0".
stack traceback:
user:/AddOns/LibStub/LibStub/LibStub.lua:29: in function 'LibStub:GetLibrary'
|caaaaaa<Locals> self = tbl, major = "libChat-1.0" </Locals>|r
user:/AddOns/pNames/pNames.lua:122: in function 'OnPlayerActivated
Last edited by vecny.samotar : 10/11/19 at 09:26 AM.
Report comment to moderator  
Reply With Quote
Unread 09/10/19, 09:41 PM  
Pinion

Forum posts: 28
File comments: 55
Uploads: 0
Thank you, thank worked for me as well. I really appreciate your time helping me with it!

Originally Posted by tuwtle
Here is a change that worked for me in one test based on the above (only the two lower ones are necessary, not sure what the other ones are but surely they can't hurt):
Report comment to moderator  
Reply With Quote
Unread 09/10/19, 02:52 AM  
tuwtle

Forum posts: 0
File comments: 1
Uploads: 0
The bundled libChat2 is borked because of upstream changes: https://github.com/esoui/esoui/commi...8b2f5df63f9346

Here is a change that worked for me in one test based on the above (only the two lower ones are necessary, not sure what the other ones are but surely they can't hurt):

Code:
--- pNames/lib/libChat2/libChat2.lua.old	2019-09-10 20:27:57.902909509 +1200
+++ pNames/lib/libChat2/libChat2.lua	2019-09-10 20:42:55.906942669 +1200
@@ -220,18 +220,22 @@
 		-- Create player link
 		local playerLink
 		if info.playerLinkable and not from:find("%[") then
+			from = zo_strformat(SI_CHAT_MESSAGE_PLAYER_FORMATTER, from)
 			playerLink = DDSBeforeSender .. TextBeforeSender .. ZO_LinkHandler_CreatePlayerLink((from)) .. TextAfterSender .. DDSAfterSender
 		else
 			playerLink = DDSBeforeSender .. TextBeforeSender .. from .. TextAfterSender .. DDSAfterSender
 		end
 		
+		if info.formatMessage then
+		    text = zo_strformat(SI_CHAT_MESSAGE_FORMATTER, text)
+		end
 		text = DDSBeforeText .. TextBeforeText .. text .. TextAfterText .. DDSAfterText
 		
 		-- Create default formatting
 		if channelLink then
-			message = DDSBeforeAll .. TextBeforeAll .. zo_strformat(info.format, channelLink, playerLink, text)
+			message = DDSBeforeAll .. TextBeforeAll .. string.format(GetString(info.format), channelLink, playerLink, text)
 		else
-			message = DDSBeforeAll .. TextBeforeAll .. zo_strformat(info.format, playerLink, text, showCustomerService(isCustomerService))
+			message = DDSBeforeAll .. TextBeforeAll .. string.format(GetString(info.format), showCustomerService(isCustomerService), playerLink, text)
 		end
 	end
Report comment to moderator  
Reply With Quote
Unread 09/09/19, 04:30 PM  
Pinion

Forum posts: 28
File comments: 55
Uploads: 0
Getting "%s%s zone: %s" in place of zone zone chat with addon enabled. Problem just started today after last patch (v5.1.9). Confirmed with all other addons and libraries disabled.

Edit: same thing for /say, "%s%s says: %s"
Last edited by Pinion : 09/09/19 at 04:32 PM.
Report comment to moderator  
Reply With Quote
Unread 02/21/18, 07:37 AM  
Almariel
 
Almariel's Avatar

Forum posts: 0
File comments: 53
Uploads: 0
nice small addon

But I cant make it to work whith whisper messages the way I want. All other channels show Character@Account now, whispers still only show the Accountname. This works well in zonechat (as zone and whispers are the same in the menu).

Any way to fix it?
Report comment to moderator  
Reply With Quote
Unread 09/26/17, 03:40 PM  
Kenza
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 175
Uploads: 1
Any chance we could get nicknames added to this addon? In particular guild nicknames! I used to rename my guilds to their abbreviations to save chat space with pChat, but now pChat freezes my game.

Thanks for all your hard work!
Report comment to moderator  
Reply With Quote
Unread 08/14/17, 06:24 PM  
Rhaevyn
 
Rhaevyn's Avatar

Forum posts: 0
File comments: 19
Uploads: 0
Update for Patch?

I saw you comment on a small update, but the date for download is still June...??
Report comment to moderator  
Reply With Quote
Unread 08/02/16, 11:18 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Little update with few additions.
I hope there's no issues, if so, please report, thank you.
Report comment to moderator  
Reply With Quote
Unread 07/18/16, 07:43 PM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Originally Posted by LordTJ666
Any chance this can be made to work with zone chat?
At next DLC, it will work for any channel.
Report comment to moderator  
Reply With Quote
Unread 07/18/16, 07:28 PM  
LordTJ666

Forum posts: 0
File comments: 41
Uploads: 0
Any chance this can be made to work with zone chat?
Report comment to moderator  
Reply With Quote
Unread 06/18/16, 04:02 PM  
StrangerFull
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 174
Uploads: 1
http://imgur.com/MwlI41ESame as pChat
Report comment to moderator  
Reply With Quote
Unread 03/03/15, 05:17 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Still here, and only very few new things for pNames, it still works as intended

If you still got problems with another addon, this one must use libChat2 updated and intended to help addons rewrite messages sent by players
Report comment to moderator  
Reply With Quote
Unread 11/04/14, 02:48 PM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Hello,

A little word to say that updated version for eso u5 is released.
For users with compatibility problems with some others ddons, a solution should be done in few days/weeks, because i'm quite busy for now.

Good game to everyone
Report comment to moderator  
Reply With Quote
Unread 09/22/14, 10:36 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Hello, after looking at StrangerFull AddOns, it appears that ChatStamp was the one which caused problems.
If you want something which do timestamps and name rewriting, you could try pChat instead. (made by myself ). Play with options if you don't like features added in pChat.

And yes, chat is bit problematic, cause if an addon called A modifiy message, it broke addon B. It's not like map where you can add infinite pins.. you only got few things to modify and generally chat addons breaks each others. I've did a library who separate "message" into text, from name and "whole thing", but all adons don't use this one. (and the library isn't finished at all).

Regards,
Last edited by Ayantir : 09/22/14 at 10:37 AM.
Report comment to moderator  
Reply With Quote
Unread 09/21/14, 05:49 PM  
StrangerFull
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 174
Uploads: 1
Unfortunately addon I still do not work, even when enabled forceful conversion of names. Displayed only @UserID
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.