aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Plugin.cs
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-09-02 20:34:32 -0700
committerPinapelz <yukais@pinapelz.com>2024-09-02 20:34:32 -0700
commitfcecdca25688aca015d352602b7daf2610522d97 (patch)
tree952e700ba4b76496140362dbc5bfd077ab12eeac /Malmstone/Plugin.cs
parent5e12dcba54bb04586069eb38d3300ec3c395be1e (diff)
add configuration options for showing different toast types
Diffstat (limited to 'Malmstone/Plugin.cs')
-rw-r--r--Malmstone/Plugin.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/Malmstone/Plugin.cs b/Malmstone/Plugin.cs
index 20c3ad7..4a387ec 100644
--- a/Malmstone/Plugin.cs
+++ b/Malmstone/Plugin.cs
@@ -43,10 +43,18 @@ public sealed class Plugin : IDalamudPlugin
MainWindow = new MainWindow(this);
PvPService = new PvPService();
PvPAddon = new PvPMatchAddon(this);
- PvPAddon.EnableCrystallineConflictPostMatch();
- PvPAddon.EnableRivalWingsPostMatch();
+ if (Configuration.ShowProgressionChatPostCC)
+ PvPAddon.EnableCrystallineConflictPostMatch();
+ if (Configuration.ShowProgressionChatPostRW)
+ PvPAddon.EnableRivalWingsPostMatch();
+ if (Configuration.ShowProgressionChatPostFL)
+ PvPAddon.EnableFrontlinePostMatch();
+ if (Configuration.PostmatchProgressionToastType < 0 || Configuration.PostmatchProgressionToastType > 2)
+ {
+ Configuration.PostmatchProgressionToastType = 0;
+ }
- WindowSystem.AddWindow(ConfigWindow);
+ WindowSystem.AddWindow(ConfigWindow);
WindowSystem.AddWindow(MainWindow);
CommandManager.AddHandler(CommandName, new CommandInfo(OnCommand)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage