promotional bannermobile promotional banner

Addon Restriction Tester

A small in-game utility for browsing, searching, and editing WoW restriction variables to test if your addon will work in various environments
cvareditor-png-png.png

cvareditor-png-png.png

cvarr-png.png

cvarr-png.png

Description

Addon Restriction Tester

Tired of needing a real boss pull just to test whether your pcall guard around SendChatMessage actually works? This addon lets you flip WoW's built-in restriction simulation CVars with checkboxes instead of typing /run C_CVar.SetCVar("addonEncounterRestrictionsForced", 1) every time.

/art opens the restriction panel. /art c opens the CVar browser if you need to poke at something else.

What it does

Six checkboxes, one for each restriction state Blizzard added in 12.0.5:

CVar What flipping it on actually does
addonChatRestrictionsForced InChatMessagingLockdown() returns true; SendAddonMessage gets silently dropped by the server (no Lua error, message just vanishes)
addonCombatRestrictionsForced InCombatLockdown() returns true; secure frame ops fail, cooldown API values become secrets
addonEncounterRestrictionsForced IsEncounterInProgress() returns true; SendChatMessage and other boss-guarded calls are blocked
addonChallengeModeRestrictionsForced Simulates an active M+ timer; SendAddonMessage silently dropped on PARTY/RAID/WHISPER
addonPvPMatchRestrictionsForced PvP match state active; C_PvP match-gated checks return true
addonMapRestrictionsForced Map and instance identity APIs return secret/restricted values

Active restrictions highlight orange so you can see at a glance what's on. Checkboxes stay in sync with the real CVar value. Flip one via the console while the panel is open and it updates immediately. Reset All zeroes everything at once.

Hover any row for a tooltip with more detail on which APIs are affected.

CVar browser

Also includes a searchable browser for ~75 common CVars (Camera, Sound, Chat, UI, Nameplates, Combat, Graphics, Network, Misc). Edit inline, reset to default with one click, look up any arbitrary CVar by name in the bar at the bottom. The CVar Browser button in the restriction panel opens it directly.

Window positions save between sessions.

Commands

/art        restriction panel
/art c      CVar browser
/art s      print all six restriction CVar values to chat

Notes

These CVar names were secret*RestrictionsForced before 12.0.5. Blizzard renamed them. If they get renamed again the tooltips still describe what each one does.

The Addon Restriction Tester Team

profile avatar
  • 4
    Projects
  • 61
    Downloads

Experienced evoker and software developer, who is now getting into making addons I do use AI tools to assist but I use them mainly as helpers, so I would not call my addons as completely vibe coded

More from Savulohikala