Get an Epic Experience with Premium

BG Defender

PvP Login to Add Favorites
  • World of Warcraft
  • 1,737 Monthly Downloads
  • Supports: 6.2.2
  • 216,642 Total Downloads
  • Updated 09/08/2015
  • Created 08/25/2007
  • 366 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: BG Defender 1.6.8

About BG Defender

BG Defender (Based on AB Defender) gives you a little movable window with buttons to announce the number of incoming enemies at the base you're defending in most battlegrounds. There are also buttons to call for help or announce the base you're defending is safe. BG Defender will automatically pop up when entering a battleground and close after you leave.

/bgd - to show/hide window

/bgd help - to show all commands

AB Defender was created by Riel Kil'Jaeden GER EU, based on FaraFrames by Farang.

BG Defender 1.6.8
    Updated TOC for patch 6.2

BG Defender 1.6.7
    Updated TOC for patch 6.0.3

BG Defender 1.6.6
    Support for Silvershard Mines and Deepwind Gorge, only English locale for now.
    Added the Alliance start zone in Twin Peaks, so now BG Defender should load for alliance players too.

BG Defender 1.6.5
    Updated TOC for patch 5.4

BG Defender
    Minor cleanups.
    Doing late initialization of drop down menus. Eight or more menu items might cause taint issues,
    trying to work around it by only initialize them if they are needed.

BG Defender 1.6.4
    Updated the French translation. Thanks to cortan on Curse for the update.
    Updated TOC for patch 5.2

BG Defender 1.6.3
    Updated for patch 5.1
    Added new INSTANCE_CHAT channel and removed the old BATTLEGROUND channel.

BG Defender 1.6.2
    Fix for unable to post announcements even though in a battleground.

BG Defender 1.6.1
    Found the bug that stopped message postings when the locale was changed.

BG Defender 1.6.0
    Added feature to select locale used to format messages. By default it is the current client locale,
    but it is possible to change to one of the known locales from the options menu. Thanks to ninjadall on
    Curse for the suggestion.

    Added French language translations.  Thanks to phxsnt on Curse for the input.

    Update to support 4.3 version :-) Thanks to Roxafina on Curse for the reminder.

BG Defender 1.5.10
    Added contributed Chinese (zhCN and zhTW) language files

BG Defender 1.5.9
    Added keybinding support to bind announcements to specified keys

BG Defender 1.5.8
    Fixed error with Russian language file

BG Defender 1.5.7
    Added Dragonmaw Stronghold as a PvP zone
    Added contributed Russian (ruRU) language file

BG Defender 1.5.6
    Added contributed Spanish (esMX) language file
    Added ability to select Raid Warning for announcements from the options page
    Added button on UI beside the option button to toggle frame being pinned or movable
        m - frame is movable
        p - frame is pinned to current location
        clicking on the m or p toggles the movable state

BG Defender 1.5.5
    Fixed bug not identifying The Battle for Gilneas zone properly

BG Defender 1.5.4
    Fixed bug where correct saved variables were not being saved and reloaded
    Updated German zone names for SOTA, TP and GIL

BG Defender 1.5.3
    Added option to hide 'BGDefender' preface to announcement messages
    Added support for Tol Bard, Battle of Gilneas and Twin Peaks
        Note however German localization is not translated, so zones may not be detected

BG Defender 1.5.2 (Shoogi)
    Added options frame to select announcement channels (/bgd options, or select "o" button on window)
        - note: Blizzard limits how fast messages can be sent to General
        - Allow seperate configuration for Battleground and World PVP Zone channels (Wintergrasp)
        - Saving state of channels for each character
    Improved status output

BG Defender 1.5.1
    Added Wintergrasp support
    Added Raid chatframe for output if in a raid instance (such as WG)
    Fixed initialization to now recognize if you reload or log into the instance instead of zoning in

BG Defender 1.5.0
    Reworked a fair bit of BG Defender (Shoogi)
        - added support for L10N, but would need input on zone names
        - removed changing of messages - a nice but not necessary feature
        - added support for WoW 4.0.1
        - fixed bugs (mousemoves, events, and others)
        - changed status message to be informative and allow debugging

BG Defender 1.4.2
    Added minimal Isle of conquest support (Shoogi @ Wyrmrest Accord)

BG Defender 1.4.1
    Fixed Some Bugs in WSG updated for 3.0.2 patch

BG Defender 1.4
    Changed entry in layoutcache.txt from, RIC5 to BGDefenderFrame
    Toc Update

BG Defender 1.3
    Updated .toc for 2.3.0 patch

BG Defender 1.2
    BG Defender encompasses all the other defender mods into one small package.

    To install just copy the BGDefender folder into your \World of Warctaft\Interface\Addons\ directory.
    You will probably need to deactivate or uninstall WSG,AV,EoS or AB Defender if you have them installed.

    BG Defender localization for the German language completed (Thanks too Kazagore, Tomslayer and BenChavo with translations)


    Shaboo Frostmourne

    P.S. If you would like to see BG Defender localized for another language just post the zone name for each battleground as it appears in WoW on


First Previous Page 3 of 10 Next Last
  • #109

    Hi, just got this

    1689x [ADDON_ACTION_BLOCKED] AddOn "BGDefender" tried to call the protected function "CompactRaidFrame1:Show()".
    !BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
    <in C code>
    FrameXML\CompactUnitFrame.lua:276: in function "CompactUnitFrame_UpdateVisible"
    FrameXML\CompactUnitFrame.lua:234: in function "CompactUnitFrame_UpdateAll"
    FrameXML\CompactUnitFrame.lua:46: in function <FrameXML\CompactUnitFrame.lua:43>


  • #111

    I've got a workaround that might solve that issue, try version and see if that works better. With that version, as long as you don't open the addons options window, you should be fine.

  • #108

    The only enabled addons were:  BGdefender, Bugsack, Buggrabber.

    I get the following after I enter combat in a BG:

    3x [ADDON_ACTION_BLOCKED] AddOn "BGDefender" tried to call the protected function "CompactRaidFrame11:Show()". !BugGrabber-r191-release\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587> <in C code> FrameXML\CompactUnitFrame.lua:279: in function "CompactUnitFrame_UpdateVisible" FrameXML\CompactUnitFrame.lua:237: in function "CompactUnitFrame_UpdateAll" FrameXML\CompactUnitFrame.lua:97: in function <FrameXML\CompactUnitFrame.lua:44>

    Locals: nil

  • #106

    Date: 2013-03-09 13:32:02
    ID: -31
    Error occured in: AddOn: BGDefender
    Count: 1
    Message: Note: AddOn BGDefender attempted to call a protected function (CompactRaidGroup4Member3:SetAttribute()) during combat lockdown.
    [C]: SetAttribute()
    ..\FrameXML\CompactUnitFrame.lua:124: CompactUnitFrame_SetUnit()
    ..\FrameXML\CompactRaidGroup.lua:57: CompactRaidGroup_UpdateUnits()
    ..\FrameXML\CompactRaidGroup.lua:10: CompactRaidGroup_OnEvent()
    [string "*:OnEvent"]:1:
    [string "*:OnEvent"]:1
    Swatter, v4.2.0 (<%codename%>)
    NPCScan, v5.0.0.5
    NPCScanOverlay, v5.0.0.3
    NPCScanOverlayBroker, v1.2.0
    Altoholic, v5.1.001
    Babylonian, v5.1.DEV.332(/embedded)
    BagBrother, v
    Bagnon, v5.2.0
    BagnonConfig, v
    Bartender4, v4.5.8
    BattlegroundTargets, v50200-1
    BGDefender, v1.6.4
    BGSpy, v1.2.6
    BittensSpellFlashDK, v3.5.0
    BittensSpellFlashLibrary, v4.2.1
    CLCRet, v
    Configator, v5.1.DEV.344(/embedded)
    DataStore, v5.1.001
    DataStoreAchievements, v5.1.001
    DataStoreAgenda, v5.1.001
    DataStoreAuctions, v5.1.001
    DataStoreCharacters, v5.1.001
    DataStoreContainers, v5.1.001
    DataStoreCrafts, v5.1.001
    DataStoreCurrencies, v5.1.001
    DataStoreInventory, v5.1.001
    DataStoreMails, v5.1.001
    DataStorePets, v5.1.001
    DataStoreQuests, v5.1.001
    DataStoreReputations, v5.1.001
    DataStoreSpells, v5.1.001
    DataStoreStats, v5.1.001
    DataStoreTalents, v5.1.001
    Gatherer, v4.2.0
    GathererHUD, v4.2.0
    GoH, v5.2.077 Beta
    GoHDeathKnight, v5.2.077 Beta
    GoHHunter, v5.2.047 Beta
    GoHMage, v5.2.029 Beta
    GoHMonk, v5.2.030 Beta
    GoHPaladin, v5.2.042 Beta
    GoHPriest, v5.2.038 Beta
    GoHWarlock, v5.2.029 Beta
    HealBot, v5.1.0.7
    HealersHaveToDie, v2.1.0
    MessageBoard, v
    NugComboBar, v
    NugComboBarGUI, v
    OmniCC, v5.2.1
    PallyPower, vv5.0.7
    Postal, v3.5.1
    PvPness, v1.2
    PVPSound, v3.9.0
    SaySapped, v2012-10-01
    SlideBar, v4.2.0 (<%codename%>)
    SpellFlash, v6.5
    SpellFlashCore, v2.0.2
    TidyPlates, v6.9.0
    TidyPlatesGraphite, v
    TidyPlatesGrey, v
    TidyPlatesNeon, v
    TidyPlatesQuatre, v
    TidyPlatesThreatPlates, v6.008
    TidyPlatesHub, v
    TidyPlatesWidgets, v
    TomTom, vv50200-1.0.2
    BlizRuntimeLib_enUS v5.2.0.50200 <eu>


  • #107

    What were you doing when the error occurred and does it still happen if you disable all other addons?

  • #102

    Great addon, but this version is constantly spamming my UI with errors.

    [ADDON_ACTION_BLOCKED] AddOn "BGDefender" tried to call the protected function "CompactRaidFrame14:Show()".
    FrameXML\CompactUnitFrame.lua:276: in function "CompactUnitFrame_UpdateVisible"
    FrameXML\CompactUnitFrame.lua:234: in function "CompactUnitFrame_UpdateAll"
    FrameXML\CompactUnitFrame.lua:127: in function "CompactUnitFrame_SetUnit"
    Blizzard_CompactRaidFrameContainer.lua:318: in function "CompactRaidFrameContainer_AddUnitFrame"
    Blizzard_CompactRaidFrameContainer.lua:254: in function "CompactRaidFrameContainer_AddPlayers"
    Blizzard_CompactRaidFrameContainer.lua:176: in function "CompactRaidFrameContainer_LayoutFrames"
    Blizzard_CompactRaidFrameContainer.lua:130: in function "CompactRaidFrameContainer_TryUpdate"
    Blizzard_CompactRaidFrameContainer.lua:57: in function "CompactRaidFrameContainer_OnEvent"
    <string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1


  • #104

    I'm sorry but I don't think those errors are related to this addon, it's most likely another addon that's to blame. Try disabling all other addons and see if the problem goes away.

  • #101

    those in which the addon does not work in Eye of the Storm c is simply because the apostrophe is not coded corectement, it must be written like this in Lua :

    L’Œil du cyclone

    so it looks like this :

    BGD_HELP = "Besoin d'aide à $base."
    BGD_SAFE = "$base sécurisée."
    BGD_INC = "$num ennemis en approche à $base."
    BGD_INCPLUS = "Plus de 5 ennemis arrivent à $base."

    BGD_AV = "Vallée d'Alterac"
    BGD_AB = "Bassin Arathi"
    BGD_WSG = "Goulet des Chanteguerres"
    BGD_WSL = "Scierie des Chanteguerres"
    BGD_SWH = "Fort d'Aile-argent" ???
    BGD_EOTS = "L’Œil du cyclone"
    BGD_SOTA = "Rivage des Anciens"
    BGD_IOC = "Île des Conquérants"
    BGD_TP = "Pics-Jumeaux"
    BGD_DMH = "Bastion Gueule-de-dragon"
    BGD_GIL = "La bataille de Gilnéas"

    BGD_WG = "Joug-d'hiver"
    BGD_TB = "Tol Barad"

    BGD_AWAY = "Vous n'êtes pas assez près d'un point à défendre!"
    BGD_OUT = "Vous n’êtes pas dans un Champ de bataille!"

    BGD_GENERAL = "Général"

  • #103

    Thanks for reporting the issue, the French translation is updated in version 1.6.4.

  • #105

    nothing and thank you for the appreciation in the changelog ;)

  • #100

    I've used this addon for years and something has always irked me about it. It's just the way the wording is. For instance, instead of "Lumber Mill Help Needed", just say 'needs help'. Sounds less like an addon. There should be a button for when a node is lost. Also, if it is possible, cross reference the names of the nodes and have the addon change then to LM for example instead of Lumber Mill. It would be perfect.

  • #99

    Every time scanning the AH this error pops up:

    Date: 2012-12-10 11:47:34
    ID: 1
    Error occured in: AddOn: BGDefender
    Count: 6
    Message: Note: AddOn BGDefender attempted to call a protected function (CompactRaidFrame1:Show()) during combat lockdown.
       [C]: Show()
       ..\FrameXML\CompactUnitFrame.lua:276: CompactUnitFrame_UpdateVisible()
       ..\FrameXML\CompactUnitFrame.lua:234: CompactUnitFrame_UpdateAll()

  • #98

    OMG, it's updated.... Laughing

    Thanks very much, it's really good addon.

  • #94

    I updated to the latest version today and in my first BG, I tried to right-click on someone's icon and report them afk. The popup window to ignore or disable BG Defender came up. I clicked ignore, it locked up the game with errors and then disconnected me.

    I logged back in and did the same thing 2 more times to confirm, then once more with BG Defender disabled (no errors occurred).

    Sorry, but until this gets fixed, it's staying disabled.

  • #96

    Yeah, I can't report players AFK either, but it doesn't seem to be connected to this addon. I'm getting an error message indicating PitBull4 to be the culprit.

    After messing around with it a bit and disabling most addons except this one, the error goes away. So as far as I can tell it's not this addon that's causing the problem. 

    Did a bit more digging on this subject and it appears that "ReportPlayerIsPVPAFK" in Blizzards API is flagged as a secure function since patch 5.1. So as soon as something modifies the unit menu in any way, you will get a taint error when trying to report someone.

    Last edited by tehfm on 12/1/2012 1:00:48 PM
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Star Trek Online Wiki Editing Contest