From 99fde6ec52cd601fd67fd6f71c77a569c6e6a4ff Mon Sep 17 00:00:00 2001 From: Dawid Bepierszcz <41084667+daffyyyy@users.noreply.github.com> Date: Wed, 15 Nov 2023 22:35:57 +0100 Subject: [PATCH] Update Config.cs --- Config.cs | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Config.cs b/Config.cs index d190834d..5c146d0c 100644 --- a/Config.cs +++ b/Config.cs @@ -21,9 +21,24 @@ namespace WeaponPaints public string KnifeMenuTitle { get; set; } = "Knife Menu."; } + public class Additional + { + [JsonPropertyName("SkinVisibilityFix")] + public bool SkinVisibilityFix { get; set; } = true; + + [JsonPropertyName("KnifeEnabled")] + public bool KnifeEnabled { get; set; } = true; + + [JsonPropertyName("SkinEnabled")] + public bool SkinEnabled { get; set; } = true; + + [JsonPropertyName("CommandWpEnabled")] + public bool CommandWpEnabled { get; set; } = true; + } + public class WeaponPaintsConfig : BasePluginConfig { - public override int Version { get; set; } = 2; + public override int Version { get; set; } = 3; [JsonPropertyName("DatabaseHost")] public string DatabaseHost { get; set; } = ""; @@ -51,6 +66,9 @@ namespace WeaponPaints [JsonPropertyName("Messages")] public Messages Messages { get; set; } = new Messages(); + + [JsonPropertyName("Additional")] + public Additional Additional { get; set; } = new Additional(); } }