mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-03-13 01:19:01 +00:00
Updated config to add workshop maps
This commit is contained in:
@@ -3,9 +3,9 @@ using System.Text.Json.Serialization;
|
|||||||
|
|
||||||
namespace CS2_SimpleAdmin
|
namespace CS2_SimpleAdmin
|
||||||
{
|
{
|
||||||
public class CS2_SimpleAdminConfig : BasePluginConfig
|
public class CS2_SimpleAdminConfig: BasePluginConfig
|
||||||
{
|
{
|
||||||
public override int Version { get; set; } = 5;
|
public override int Version { get; set; } = 6;
|
||||||
|
|
||||||
[JsonPropertyName("DatabaseHost")]
|
[JsonPropertyName("DatabaseHost")]
|
||||||
public string DatabaseHost { get; set; } = "";
|
public string DatabaseHost { get; set; } = "";
|
||||||
@@ -36,5 +36,8 @@ namespace CS2_SimpleAdmin
|
|||||||
|
|
||||||
[JsonPropertyName("DiscordWebhook")]
|
[JsonPropertyName("DiscordWebhook")]
|
||||||
public string DiscordWebhook { get; set; } = "";
|
public string DiscordWebhook { get; set; } = "";
|
||||||
|
|
||||||
|
[JsonPropertyName("WorkshopMaps")]
|
||||||
|
public List<string> WorkshopMaps { get; set; } = new List<string>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user