feat: add enable/disable toggle for the plugin and update configuration handling

This commit is contained in:
CodeDevMLH
2025-12-28 18:53:25 +01:00
parent fbd77e56fd
commit 737e510a6c
5 changed files with 118 additions and 12 deletions

View File

@@ -12,6 +12,7 @@ public class PluginConfiguration : BasePluginConfiguration
/// </summary>
public PluginConfiguration()
{
IsEnabled = true;
SelectedSeason = "none";
AutomateSeasonSelection = true;
@@ -27,6 +28,11 @@ public class PluginConfiguration : BasePluginConfiguration
Easter = new EasterOptions();
}
/// <summary>
/// Gets or sets a value indicating whether the plugin is enabled.
/// </summary>
public bool IsEnabled { get; set; }
/// <summary>
/// Gets or sets the selected season.
/// </summary>