Rophy's modified Master Control Panel (original author: Saien)
Slash command to show the panel: /rmcp
Have the following additions compared to the original MCP:
- Addon Set support.
- Auto load dependencies.
- Show author and version on tooltip.
- sortable and collapsible categories.
- MCP's functionality to disable Blizzard addons is removed.
- Batch load sets by shift-clicking the sets, batch unload by alt-clicking the sets.
The Addon Set works in the follow way:
- When you select a set and click "Save", the enabled addons are saved in the set.
- When you select a set and click "Load", the addons in the set are enabled, but currently enabled addons not in the set will not be disabled.
- When you select a set and click "Unload", the addons in the set will be disabled.
- When you select a set and click "Rename", a tiny dialog pops up, enter a name to rename that set.
- "Default" Set is the enabled addons when you log in.
- "Class" Set is different between each classes.
Example usage:
Set 1 Common: FuBar, UnitFrames etc
Set 2 Raid: DPS Meter, KTM, oRA2 etc
Set 3 Auction: Auctioneer, Mail mod, Money tracker etc
Set 4 Libraries: Those Ace2 Libraries if you went the unembed way.
Class: Rogue: Poison buyer, Warlock: CountDoom, Druid: Shapeshifter
When soloing: Disable All -> Load Set 1. Load Class-> Reload UI
When raiding: Disable All -> Load Set 1, Load Set 2, Load Class -> Reload UI
When auctioning: Disable All -> Load Set 3 -> Reload UI
Why do I make the sets work that way? Because it's easier to update the sets that way. For example, if sets worked in a way that selecting a set will disable addons not in th set, so when you load a set you have exactly the addons in the set enabled, then in the above example you wil have:
Set 1: FuBar, UnitFrames
Set 2: FuBar, UnitFrames. DPS Meter, KTM, oRA2
Set 3: Auctioneer, Mail mod, Money Tracker
Class: ?
First you have a problem with class sets, since you can only save one class set, you can't have "Common + Class" and "Common + Raid + Class" at the same time.
Second, now say if you want to add a CC counter mod to the Common set, you have to update Set 1, Set 2 and Class Set for each class, where in the first approach you only have to update Set 1.
The cons for first approach is that you have to load multiple sets to enable the exact addons you want, but I don't consider this a big deal compared to the cons with the second approach.
Code:
------------------------------------------------------------------------
r189 | rophy123 | 2007-08-27 08:36:37 +0800 (Mon, 27 Aug 2007) | 4 lines
rMCP:
- Fixed Checkbox for rMCP wasn't being hid.
- TOC 20100.
------------------------------------------------------------------------
r188 | rophy123 | 2007-08-25 20:49:47 +0800 (Sat, 25 Aug 2007) | 2 lines
rMCP:
- You can disable Blizzard addons now, I didn't know why the functionality was disabled in the original MCP but I'll just re-enable it now.
------------------------------------------------------------------------
r187 | rophy123 | 2007-08-25 20:42:37 +0800 (Sat, 25 Aug 2007) | 3 lines
rMCP:
- fixed each Blizzard addon being treated as a category if it's inserted to masterAddonList by addon name.
- category has a checkbox now, which will enable / disable all addons in the category, currently this will not work correctly if there are categories with identical name.
------------------------------------------------------------------------