PhoGuild - Nameplate Circles
WEAKAURA Updated Feb 24th 2017 User Joker Views 4,083 Comments 3 Stars 20
Nameplate code taken from: https://wago.io/4J7chAAOz. Shout out to Reloe for sharing

Updates:
v5 - Stable. Added Helya
v6 - Performance optimization. (fixed fps drop)
v9 - Added new icons.
v10 - More performance improvements (more efficient range checking). Added Guarm foams. Fixed chronomatic anomaly.
v13 - Added custom nameplate settings in OnInit

(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)
Chronomatic AnomalyTrilliaxSpellblade AlurielTichondriusKrosusHigh Botanist Tel'arnStar Augur EtraeusGrand Magistrix ElisandeGul'danGuarmHelya