pfUI does not remember which addon profile is selected, so compare the enabled addons with the profile list and only reload when they differ. /prp shows which profile matches. Update toc version and README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CmDrvEhmas4KTRiJvdbZhu
1.5 KiB
1.5 KiB
pfUI-RaidProfile
External module for pfUI that automatically switches the Addon Profile (Escape -> AddOns -> Addon Profile) when you join or leave a raid.
- Pick the profile for "in raid" and "outside raid" in
/pfui-> Thirdparty -> Raid Profile, or with/prp raid <profile>and/prp normal <profile>. - The UI reloads once when entering and once when leaving a raid (addons can only be toggled by a reload).
- No reload when the wanted profile is already active: pfUI does not remember which addon profile is selected, so the module compares the currently enabled addons with the profile's list.
- Switching waits 5 seconds and is postponed while in combat or dead / a ghost.
- If the client blocks the automatic reload, a confirmation dialog asks you to reload.
- pfUI and this module are always kept enabled.
Commands
| Command | Effect |
|---|---|
/prp |
Show the settings and which profile matches the enabled addons |
/prp list |
List the addon profiles |
/prp raid <name> |
Profile to use while in a raid |
/prp normal <name> |
Profile to use outside a raid |
/prp toggle |
Turn automatic switching on or off |
/prp now |
Apply the profile for the current state now (no reload if already active) |
/raidprofile works as an alias of /prp.
Changelog
- 2.1: detect the active addon set and skip the reload when it already matches the profile;
/prpshows the matching profile; reload fallback dialog; no switch while dead or a ghost. - 2.0: own saved variables, pfUI config panel, slash commands.