feat(tabs): seed default tab layout on first run and v10 wipe
Spawn six themed tabs out of the box instead of one General catch-all: General (everything), Free Company (FC chat plus FC announcements and login/logout), Party (Party, CrossParty, Alliance, PvP team plus loot rolls), Beginner (Novice Network only when ShowNoviceNetwork is on), Linkshell (all eight regular and cross-world linkshells together) and Tell Exclusive (TellIncoming/TellOutgoing as a safety-net catch-all in case Auto-Tell-Tabs misses one). Tab names live in HellionStrings (EN/DE). The Tabs settings tab gains a help-text hint above the list recommending one tab per linkshell when the user is in multiple, since a single combined Linkshell tab gets noisy fast for active users.
This commit is contained in:
@@ -152,9 +152,20 @@ public sealed class Plugin : IDalamudPlugin
|
||||
});
|
||||
}
|
||||
|
||||
// Hellion default tab layout for first-run and v10-wipe.
|
||||
// General-catch-all + FC + Party + Linkshell + Tells matches the
|
||||
// channel set the average raider uses; the Beginner tab only
|
||||
// appears when the user has the Novice Network enabled in Audio
|
||||
// & Notifications, otherwise it would just sit empty.
|
||||
if (Config.Tabs.Count == 0)
|
||||
{
|
||||
Config.Tabs.Add(TabsUtil.VanillaGeneral);
|
||||
Config.Tabs.Add(TabsUtil.HellionFreeCompany);
|
||||
Config.Tabs.Add(TabsUtil.HellionParty);
|
||||
if (Config.ShowNoviceNetwork)
|
||||
Config.Tabs.Add(TabsUtil.HellionBeginner);
|
||||
Config.Tabs.Add(TabsUtil.HellionLinkshell);
|
||||
Config.Tabs.Add(TabsUtil.VanillaTellExclusive);
|
||||
}
|
||||
|
||||
LanguageChanged(Interface.UiLanguage);
|
||||
|
||||
Reference in New Issue
Block a user