diff --git a/SamplePlugin/Configuration.cs b/SamplePlugin/Configuration.cs index 7b27c67..d9a8e30 100644 --- a/SamplePlugin/Configuration.cs +++ b/SamplePlugin/Configuration.cs @@ -17,10 +17,8 @@ namespace CurrencyAlert [NonSerialized] private DalamudPluginInterface? pluginInterface; - public void Initialize(DalamudPluginInterface pluginInterface) + public Configuration() { - this.pluginInterface = pluginInterface; - EnumHelper.Each(currency => { this.AlertEnabled[currency] = true; @@ -29,6 +27,11 @@ namespace CurrencyAlert }); } + public void Initialize(DalamudPluginInterface pluginInterface) + { + this.pluginInterface = pluginInterface; + } + public void Save() { this.pluginInterface!.SavePluginConfig(this); diff --git a/SamplePlugin/CurrencyAlert.csproj b/SamplePlugin/CurrencyAlert.csproj index f78eda1..eb2feaf 100644 --- a/SamplePlugin/CurrencyAlert.csproj +++ b/SamplePlugin/CurrencyAlert.csproj @@ -3,7 +3,7 @@ - 0.2.3.0 + 0.2.4.0 Currency Alert https://github.com/Lharz/xiv-currency-alert diff --git a/SamplePlugin/currencyAlert.json b/SamplePlugin/currencyAlert.json index b5f052f..b38bd10 100644 --- a/SamplePlugin/currencyAlert.json +++ b/SamplePlugin/currencyAlert.json @@ -1,13 +1,15 @@ { "Author": "Lharz", "Name": "Currency Alert", - "Punchline": "Configure alerts thresholds for various currencies.", + "Punchline": "Lets you setup alerts upon reaching certain currencies amount (such as Poetics or PVP marks).", "Description": "/currencyalert: show the configuration panel.", "InternalName": "currencyAlert", "ApplicableVersion": "any", "Tags": [ "plugin", "currency", - "tomestones" + "tomestones", + "utility", + "other" ] }