Remove debuffs from enemy nameplates

Hello,

How do you remove the debuffs above enemy nameplates?
I want to show debuffs using weakauras to make it much easier to read, but I can’t remove the blizzard default ones.

I’ve tried “advanced interface opptions” addon, but there’s only a command for friendly targets there in Cvar list, not for enemy.

I’ve tried goolgeing but pretty much all posts about this link to one of the big UI mods such as ElvUI.

Is there no way to remove debuffs from nameplats without getting a nameplate addon?

Appreciate any help I can get!

Turn this into an addon at https://addon.bool.no

local f = CreateFrame("Frame")
local events = {}

function events:NAME_PLATE_UNIT_ADDED(plate)
	local unitId = plate
	local nameplate = C_NamePlate.GetNamePlateForUnit(unitId)
	local frame = nameplate.UnitFrame
	if not nameplate or frame:IsForbidden() then return end
	frame.BuffFrame:ClearAllPoints()
	frame.BuffFrame:SetAlpha(0)
end

for j, u in pairs(events) do
	f:RegisterEvent(j)
end

f:SetScript("OnEvent", function(self, event, ...) events[event](self, ...) end)
6 Likes

It’s working!

Thank you for taking the time to do all that. I really apreciate it!!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.