feat: add enable/disable toggle for the plugin and update configuration handling
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user