PhoGuild - Nameplate Circles
WEAKAURA Updated Mar 16th 2017 User Joker Views 44,514 Comments 26 Stars 33
This WA is now broken after Blizzard disabled custom friendly namepates in instances in 7.2

Nameplate code taken from: https://wago.io/4J7chAAOz. Shout out to Reloe for sharing

Bad news everyone. Blizzard is disabling friendly nameplate mods in 7.2: https://us.battle.net/forums/en/wow/topic/20753425442
Reloe and I will probably still continue to make small updates to these WAs, but no more major enhancements.


Updates:
v23 - Star Augur: bug fix
v22 - Star Augur: Star sign visual improvements.
v21 - Spellblade: Now marks tanks. Star Augur: Star Signs (circles are matching, squares are non-matching). Elisande: Conflexive Burst. Gul'dan: Parasitic Wound and Capricious Barrage
v20 - Tichondrius: show players with immunity. Spellblade: now show searing brand to everyone
v17 - Bug fixes
v16 - Bug fixes - Range checking should now work reliably
v14 - Cleaned up colors. Improved spellblade frost debuff
v13 - Added custom nameplate settings in OnInit
v10 - More performance improvements (more efficient range checking). Added Guarm foams. Fixed chronomatic anomaly.
v9 - Added new icons.
v6 - Performance optimization. (fixed fps drop)
v5 - Stable. Added Helya

(Required) Friendly name plates need to be turned on!
Q: I don't know how to turn it on / I'm too lazy to go to Key Bindings and bind a single damn key to it
A: Copy this into the chat to toggle friendly nameplate
/run local v = GetCVar("nameplateShowFriends") SetCVar("nameplateShowFriends",1-v)


(Optional) Optimization for Non-ElvUI addons and the default nameplate UI

There are four custom settings in the OnInit code of this WeakAuras.
On the WeakAuras configuration page -> Action tab -> Click "Expend Text Editor" at the top. Set to true to turn on the settings.
Only set these options if your nameplate addon does not have such functionalities!
  • aura_env.Force_No_FriendlyBars --Hide friendly health bars
  • aura_env.Force_No_Stacking -- Multiple nameplates will overlap instead of getting pushed up
  • aura_env.Force_Friendly_Clickthrough -- Make friendly nameplates non-clickable
  • aura_env.Force_Max_Distance -- Increase nameplate load distance

(Optional) ElvUI optimization

Multiple nameplates will overlap instead of getting pushed up
  • /ec -> NamePlates -> General Options
  • Change "Nameplate Motion Type" to "Overlapping Nameplates"

Hide friendly health bars
  • /ec -> NamePlates -> Healer Frames -> Uncheck Enable
  • /ec -> NamePlates -> Friendly Player Frames -> Uncheck Enable
  • /ec -> NamePlates -> Friendly NPC Frames -> Uncheck Enable
  • /ec -> NamePlates -> General Options -> Uncheck Always show Target Health

Make friendly names non-clickable
  • /ec -> NamePlates -> General Options -> Check "Friendly" under "Click Through" at the bottom

Increase nameplate load distance
  • /ec -> NamePlates -> General Options -> "Load Distance"


The following has been added as new features in ElvUI 10.44. So such hack is no longer needed
Don't show friendly health bar when targeted
  • Open \Interface\AddOns\ElvUI\Modules\nameplates\nameplates.lua
  • Search for
    function mod:SetTargetFrame(frame)
  • Add this line immediately after it
    if frame.UnitType=="FRIENDLY_PLAYER" or frame.UnitType=="FRIENDLY_NPC" or frame.UnitType=="HEALER" then return end

Make friendly names non-clickable
  • Open \Interface\AddOns\ElvUI\Modules\nameplates\nameplates.lua
  • Search for
    local role = UnitGroupRolesAssigned(unit)
  • Add this line immediately after it
    frame:SetSize(1,self.db.clickableHeight)
GuarmHelyaChronomatic AnomalyTrilliaxSpellblade AlurielTichondrius5 more categories