diff --git a/counter-strike2.kvp b/counter-strike2.kvp index 1386acc..52c699a 100644 --- a/counter-strike2.kvp +++ b/counter-strike2.kvp @@ -5,7 +5,7 @@ Meta.AarchSupport=NotSupported Meta.Arch=x86_64 Meta.Author=Greelan Meta.URL=https://www.counter-strike.net/cs2 -Meta.DisplayImageSource=url:https://cdn.cloudflare.steamstatic.com/steam/apps/730/header.jpg?t=1695947021 +Meta.DisplayImageSource=steam:730 Meta.EndpointURIFormat=steam://connect/{ip}:{GenericModule.App.Ports.$ServerPort} Meta.ConfigManifest=counter-strike2config.json Meta.MetaConfigManifest=counter-strike2metaconfig.json @@ -70,8 +70,8 @@ App.PreStartStages=[] App.ForceUpdate=False App.ForceUpdateReason= App.Compatibility=None -App.SteamUpdateAnonymousLogin=False -App.SteamForceLoginPrompt=True +App.SteamUpdateAnonymousLogin=True +App.SteamForceLoginPrompt=False App.RapidStartup=False App.MonitorChildProcess=False App.DumpFullChildProcessTree=False diff --git a/counter-strike2config.json b/counter-strike2config.json index 7166dbc..db4bf46 100644 --- a/counter-strike2config.json +++ b/counter-strike2config.json @@ -131,6 +131,63 @@ "DefaultValue":"", "EnumValues":{} }, + { + "DisplayName":"Map Group", + "Category":"CS2 Server Settings", + "Description":"Sets the map group to load to enable map rotation. Alternatively specify a Workshop Collection ID which includes the maps required for rotation", + "Keywords":"map,group,mapgroup", + "FieldName":"mapgroup", + "InputType":"text", + "ParamFieldName":"mapgroup", + "IncludeInCommandLine":true, + "SkipIfEmpty":true, + "DefaultValue":"", + "Placeholder":"mg_cs2", + "EnumValues":{} + }, + { + "DisplayName":"Workshop Map ID", + "Category":"CS2 Server Settings", + "Description":"Sets the ID of a [Steam workshop map](https://steamcommunity.com/workshop/browse/?appid=730&browsesort=trend§ion=readytouseitems) to download and load on the server. This will override the Initial Map setting", + "Keywords":"workshop,map,host_workshop_map", + "FieldName":"host_workshop_map", + "InputType":"number", + "ParamFieldName":"host_workshop_map", + "IncludeInCommandLine":true, + "SkipIfEmpty":true, + "DefaultValue":"", + "Placeholder":"3070217773", + "EnumValues":{} + }, + { + "DisplayName":"Workshop Collection ID", + "Category":"CS2 Server Settings", + "Description":"Sets the ID of a [Steam workshop collection](https://steamcommunity.com/workshop/browse/?appid=730&browsesort=trend§ion=collections) to download and load on the server. Specify the initial map to load from that collection under Custom Initial Map", + "Keywords":"workshop,collection,host_workshop_collection", + "FieldName":"host_workshop_collection", + "InputType":"number", + "ParamFieldName":"host_workshop_collection", + "IncludeInCommandLine":true, + "SkipIfEmpty":true, + "DefaultValue":"", + "Placeholder":"3065925629", + "EnumValues":{} + }, + { + "DisplayName":"Allow Other Map By Players", + "Category":"CS2 Server Settings", + "Description":"If set, and when the server is hosting a workshop collection, players will be able to play another workshop map on the server when it is empty and then rotate their map cycle into the server collection", + "Keywords":"workshop,map,allow,other,sv_workshop_allow_other_maps", + "FieldName":"sv_workshop_allow_other_maps", + "InputType":"checkbox", + "ParamFieldName":"sv_workshop_allow_other_maps", + "IncludeInCommandLine":true, + "DefaultValue":"false", + "EnumValues":{ + "False":"false", + "True":"true" + } + }, { "DisplayName":"Player Limit", "Category":"CS2 Server Settings", @@ -225,4 +282,4 @@ "Placeholder":"", "EnumValues":{} } -] \ No newline at end of file +]