1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-19 11:38:35 -05:00

update auto message feed plugin to IPluginV2

This commit is contained in:
RaidMax
2023-02-11 20:44:04 -06:00
parent 7720e5e84f
commit 803624e214
4 changed files with 76 additions and 88 deletions

View File

@ -0,0 +1,17 @@
using SharedLibraryCore.Interfaces;
namespace IW4MAdmin.Plugins.AutoMessageFeed;
public class AutoMessageFeedConfiguration : IBaseConfiguration
{
public bool EnableFeed { get; set; }
public string FeedUrl { get; set; }
public int MaxFeedItems { get; set; }
public IBaseConfiguration Generate()
{
return this;
}
public string Name() => "AutomessageFeedConfiguration";
}