WoW NickTag addon Shadowlands/classic 2020
logo
wow addon NickTag

NickTag

Game Version: 7.3.5
Total Downloads: 2,174
Updated: Mar 9, 2018
Created: Aug 22, 2013
download NickTagDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
v7.3.5.034 release 10.93 KB Mar 9, 2018 7.3.5 221 download NickTag v7.3.5.034 releaseDownload
r9-release release 10.71 KB Sep 2, 2017 7.3.0 112 download NickTag r9-release releaseDownload
v9-release release 10.74 KB Jun 25, 2017 7.2.5 69 download NickTag v9-release releaseDownload
v28-Rev8 release 10.87 KB May 25, 2017 7.2.0 49 download NickTag v28-Rev8 releaseDownload
r28 release 11.48 KB Jul 19, 2016 7.0.3 85 download NickTag r28 releaseDownload
v1.61 release 11.43 KB Oct 15, 2014 6.0.2 232 download NickTag v1.61 releaseDownload
v1.60 release 11.36 KB Jul 21, 2014 5.4.8 22 download NickTag v1.60 releaseDownload
1.53 release 10.15 KB Apr 25, 2014 5.4.7 53 download NickTag 1.53 releaseDownload
v1.52 release 9.96 KB Oct 31, 2013 5.4.0 36 download NickTag v1.52 releaseDownload
v1.51 release 9.88 KB Sep 10, 2013 5.4.0 38 download NickTag v1.51 releaseDownload
v1.50 release 9.89 KB Sep 10, 2013 5.4.0 25 download NickTag v1.50 releaseDownload
v1.40 release 9.07 KB Sep 2, 2013 5.4.0 67 download NickTag v1.40 releaseDownload
r15 release 39.11 KB Aug 28, 2013 5.3.0 623 download NickTag r15 releaseDownload
v1.31 release 38.57 KB Aug 28, 2013 5.3.0 37 download NickTag v1.31 releaseDownload
v1.3 release 38.58 KB Aug 27, 2013 5.3.0 25 download NickTag v1.3 releaseDownload
v1.2 release 38.19 KB Aug 26, 2013 5.3.0 29 download NickTag v1.2 releaseDownload
v1.1 release 34.66 KB Aug 23, 2013 5.3.0 22 download NickTag v1.1 releaseDownload
v1.0 release 31.45 KB Aug 23, 2013 5.3.0 25 download NickTag v1.0 releaseDownload
r37-alpha alpha 9.97 KB Dec 3, 2018 8.0.1 25 download NickTag r37-alpha alphaDownload
r25 alpha 10.97 KB Apr 25, 2014 5.4.7 16 download NickTag r25 alphaDownload
r23 alpha 10.71 KB Oct 31, 2013 5.4.0 61 download NickTag r23 alphaDownload
r21 alpha 10.60 KB Sep 10, 2013 5.4.0 16 download NickTag r21 alphaDownload
r19 alpha 10.56 KB Sep 10, 2013 5.4.0 18 download NickTag r19 alphaDownload
r17 alpha 9.53 KB Sep 2, 2013 5.4.0 18 download NickTag r17 alphaDownload
r14 alpha 39.09 KB Aug 28, 2013 5.3.0 18 download NickTag r14 alphaDownload
r12 alpha 39.05 KB Aug 27, 2013 5.3.0 19 download NickTag r12 alphaDownload
r10 alpha 38.63 KB Aug 26, 2013 5.3.0 20 download NickTag r10 alphaDownload
r8 alpha 35.66 KB Aug 25, 2013 5.3.0 13 download NickTag r8 alphaDownload
r7 alpha 35.05 KB Aug 23, 2013 5.3.0 17 download NickTag r7 alphaDownload
r5 alpha 616 Bytes Aug 23, 2013 5.4.0 37 download NickTag r5 alphaDownload
r4 alpha 34.93 KB Aug 23, 2013 5.3.0 18 download NickTag r4 alphaDownload
r3 alpha 31.82 KB Aug 23, 2013 5.3.0 43 download NickTag r3 alphaDownload
r2 alpha 31.66 KB Aug 23, 2013 5.3.0 22 download NickTag r2 alphaDownload
r0 alpha 29.89 KB Aug 23, 2013 5.3.0 23 download NickTag r0 alphaDownload
!NickTag.zip alpha 30.20 KB Aug 22, 2013 5.3.0 20 download NickTag !NickTag.zip alphaDownload

Description

Share this:

This is a library used by others addons. If you aren't a addon developer, downloading this may have no effect in your game.

NickTag is a library developed for share your "Persona" between guild mates.
Many players have more then one characters and most of then are know by nicknames inside the guild environment.
With this library, addons can request nicknames, avatars and show then instead your character name.

Installing:
Install NickTag as you install any other library, but make sure to load NickTag after AceComm-3.0, AceSerializer-3.0, AceTimer-3.0 and CallbackHandler-1.0.

Cache Setup:
After install, you may want to use cache to store nicktag data received from others guild members.
For this, call YourAddonObject:NickTagSetCache ( MyTable ), were "MyTable" is a table which is any table saved with your "SavedVariablesPerCharacter".
Make sure to use "NickTagSetCache" after your addon load your saved data.

Player Nickname
Create a editbox and use the method YourAddonObject:SetNickname ( text ), NickTag will check the text passed, format and return if is a valid nickname.
In order to keep game smooth, the nickname passed is verified with same filters:
– Nickname can't be large then 12 characters.
– Isn't allowed numbers and others special characters.
– Can't repeat more then 2 times the same characters in a row.
– Can't have more then 2 spaces.
– Nickname is formated to fit title case, for instance, "SussY HArLey" is automatically formated to "Sussy Harley", "frank roger" to "Frank Roger".
– trim.

Player Avatar
NickTag have a built-in frame to choose player avatar: _G.AvatarPickFrame
A short example should be like this:

local AvatarCallBack = function (textureAvatar, textureAvatarTexCoord, textureBackground, textureBackgroundTexCoord, textureBackgroundColor)
	YourAddonObject:SetNicknameBackground (textureBackground, textureBackgroundTexCoord, textureBackgroundColor)
	YourAddonObject:SetNicknameAvatar (textureAvatar, textureAvatarTexCoord)
	_G.AvatarPickFrame.callback = nil
end

_G.AvatarPickFrame.callback = AvatarCallBack
_G.AvatarPickFrame:Show()

Get Nickname and Avatar
Getting a nickname or avatar is quite simple, use the following methods:

YourAddonObject:GetNickname (GUID, default, silent)
YourAddonObject:GetNicknameAvatar (GUID, default, silent)
YourAddonObject:GetNicknameBackground (GUID, defaultPath, defaultTexCoord, defaultColor, silent)

Comments

Add a comment