This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

Next version of LibFail updated for Mists of Pandaria. It is still a library that detects failures at certain raid tasks.

In LibFail-MoP fail detection is very similar to how it was in LibFail-2.0. API calls are mostly the same as well with few improovements.

You can find a list of supported fails: here

This is an open repository. Feel free to add to it, and make fixes yourself.


Make sure that LibFail-MoP dependencies are loaded before loading LibFail-MoP

Sample Code

local fail = LibStub("LibFail-MoP")
local failEvents = fail:GetSupportedEvents()
local LF = LibStub("AceLocale-3.0"):GetLocale("LibFail-MoP")

-- ... extra arguments such as spell used to trigger a barrier on Omnotron
local function onFail(failName, playerName, failType, ...)
	-- Get a localized string to be used as a name for the fail event
	local eventName = fail:GetEventName(failName) or ""

	-- Use either your own or one of the commonly used strings to print out the fail
	local failmsg = LF["%s fails at %s (%s)"]

	print( failmsg:format(playerName, failType, eventName) )

for _, event in ipairs(failEvents) do
	fail.RegisterCallback("SampleAddon", event, onFail)

You must login to post a comment. Don't have an account? Register to get one!


Date created
Aug 21, 2012
Last update
Oct 15, 2014
Development stage
  • deDE
  • enUS
  • esES
  • frFR
  • itIT
  • koKR
  • ruRU
  • zhCN
  • zhTW
MIT License
Reverse relationships
Recent files
  • A: r68 for 6.0.2 Oct 15, 2014
  • A: r67 for 5.4.2 Jan 03, 2014
  • A: r66 for 5.4.0 Oct 02, 2013
  • R: 1.11-RELEASE-LFr64 for 5.4.0 Sep 12, 2013
  • A: r64 for 5.4.0 Sep 12, 2013


  • Avatar of Maat
    • Manager
    • Author