using System.Text.Json.Serialization; using CounterStrikeSharp.API.Core; namespace GroupVerify; // configs/plugins/GroupVerify/GroupVerify.json, which CSS writes with these defaults on first load. // Only the Steam Web API key lives here, since it's a secret; every other setting is in the // database (gv_settings). Changes need the plugin reloaded: css_plugins reload GroupVerify. public class GroupVerifyConfig : BasePluginConfig { // From https://steamcommunity.com/dev/apikey. Without it, nobody's group membership is // checked, and only what's already in the database counts. [JsonPropertyName("SteamWebApiKey")] public string SteamWebApiKey { get; set; } = ""; }