DBM Integration
Timer Functions
Access DBM timer information throughPrivate.ExecEnv.BossMods.DBM.
GetTimer
Finds the next matching timer.Timer message to match
String comparison operator (”==”, “find(‘%s’)”, “match(‘%s’)”)
Spell ID to match
Time extension in seconds
Counter object for occurrence matching
Specific timer ID
DBM timer type (1=Add, 2=AoE, 3=Targeted, etc.)
Exclude cast bars
Check if bar is enabled in DBM settings
Match only pull timers
Match only break timers
Match only regular timers
Timer bar data:
message- Timer texticon- Icon textureduration- Total durationexpirationTime- Expiration timestampspellId- Associated spell IDcount- Occurrence counttimerType- Type (“timer”, “cast”, “pull”, “break”)dbmType- DBM-specific typedbmColor- Color tableisBarEnabled- Whether enabled in DBM
GetAllTimers
Returns all active DBM timers.Map of timer ID to timer data
GetTimerById
Gets a specific timer by ID.The timer ID
Timer bar data or nil
GetStage
Returns the current encounter stage.Current stage number (including 0.5 for intermissions)
Total stage counter (increments by 1 per stage/intermission)
Event Registration
RegisterTimer
Registers for DBM timer events.DBM_TimerStart/DBM_TimerBeginDBM_TimerStopDBM_TimerUpdateDBM_TimerPause/DBM_TimerResume(newer DBM versions)
RegisterMessage
Registers for DBM announcement events.DBM_Announce events.
RegisterStage
Registers for DBM stage change events.DBM_SetStageDBM_PullDBM_KillDBM_Wipe
BigWigs Integration
Timer Functions
Access BigWigs timer information throughPrivate.ExecEnv.BossMods.BigWigs.
GetTimer
Finds the next matching timer.Timer text to match
String comparison operator
Spell ID to match
Time extension
Counter for occurrence matching
Match only cast timers
Match only cooldown timers
Check if bar is enabled
Match only pull timers
Match only break timers
Match only regular timers
Timer bar data:
text- Timer texticon- Icon textureduration- Total durationexpirationTime- Expiration timestampspellId- Associated spell IDcount- Occurrence counttimerType- Type (“timer”, “cast”, “pull”, “break”)cast- Whether it’s a cast timerisCooldown- Whether it’s a cooldownbwBarColor- Bar color tablebwTextColor- Text color tablebwBackgroundColor- Background color tableisBarEnabled- Whether enabled in BigWigs
GetAllTimers
Returns all active BigWigs timers.Map of timer text to timer data
GetTimerById
Gets a specific timer by text.The timer text (used as ID)
Timer bar data or nil
GetStage
Returns the current encounter stage.Current stage number
Event Registration
RegisterTimer
Registers for BigWigs timer events.BigWigs_StartBarBigWigs_TimerBigWigs_TargetTimerBigWigs_CastTimerBigWigs_StartPullBigWigs_StartBreakBigWigs_StopBarBigWigs_PauseBarBigWigs_ResumeBar
RegisterMessage
Registers for BigWigs message events.BigWigs_Message events.
RegisterStage
Registers for BigWigs stage change events.BigWigs_SetStageBigWigs_OnBossWipeBigWigs_OnBossWin
Generic Boss Mod API
Both DBM and BigWigs expose generic methods:GetTimerGeneric
Generic timer query (excludes cast bars).TimerMatchesGeneric
Generic timer matching (excludes cast bars).Examples
DBM Timer Trigger
Stage Tracking
BigWigs Timer Colors
Timer Countdown
Timer Type Reference
DBM Timer Types
1- Add spawn2- AoE damage3- Targeted ability4- Interrupt5- Role (tank/healer specific)6- Phase change7- Important8- User-defined
Timer Categories
- Regular Timer - Standard encounter ability
- Cast Timer - Active spell cast
- Pull Timer - Countdown to pull (spellId: -2)
- Break Timer - Break/intermission countdown (spellId: -1)
Compatibility Notes
DBM Versions
- Latest - Full support (2025.03.12+)
- Compatible - Most features (2025.02.09+)
- Legacy - Limited support
- Unsupported - No integration
dbmSupportStatus for current support level.
BigWigs
RequiresBigWigsLoader addon to be loaded.
See Also
- GenericTrigger System - Event trigger management
- Events - Core event system
- Tables - Data structures