From f3d6d584b4c3dac9ab9940ad83fdc700e782cc45 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Mon, 2 Jan 2023 13:49:55 -0600 Subject: [PATCH] Update MinValue for all player counts (#269) This is to address https://github.com/CubeCoders/AMP/issues/803 --- assetto-corsa-compconfig.json | 3 ++- assetto-corsaconfig.json | 3 ++- astroneerconfig.json | 3 ++- avorionconfig.json | 3 ++- broke-protocolconfig.json | 3 ++- carrier-command2config.json | 3 ++- conan-exilesconfig.json | 3 ++- core-keeperconfig.json | 3 ++- craftopiaconfig.json | 6 ++++-- dont-starve-togetherconfig.json | 3 ++- ecoconfig.json | 3 ++- empyrion-galactic-survivalconfig.json | 3 ++- frozen-flameconfig.json | 3 ++- hurtworldconfig.json | 3 ++- insurgencysandstormconfig.json | 3 ++- jc3mpconfig.json | 3 ++- kaboomconfig.json | 3 ++- killing-floor-2config.json | 3 ++- last-oasisconfig.json | 3 ++- longvinterconfig.json | 3 ++- mordhau-config.json | 3 ++- necesseconfig.json | 4 +++- night-of-the-deadconfig.json | 3 ++- pavlov-vrconfig.json | 3 ++- project-zomboidconfig.json | 3 ++- risk-of-rain-2config.json | 3 ++- squad-dedicated-serverconfig.json | 3 ++- starboundconfig.json | 5 +++-- stationeers-legacyconfig.json | 3 ++- stationeersconfig.json | 3 ++- terrariaconfig.json | 3 ++- the-forestconfig.json | 3 ++- theisle-evrimaconfig.json | 3 ++- theisle-legacyconfig.json | 3 ++- tmodloader14config.json | 3 ++- tmodloaderconfig.json | 3 ++- unturnedconfig.json | 3 ++- ut2004config.json | 3 ++- ut99config.json | 3 ++- v-risingconfig.json | 3 ++- velorenconfig.json | 3 ++- vintage-storyconfig.json | 3 ++- wreckfestconfig.json | 3 ++- wurm-unlimitedconfig.json | 3 ++- xonoticconfig.json | 3 ++- 45 files changed, 94 insertions(+), 47 deletions(-) diff --git a/assetto-corsa-compconfig.json b/assetto-corsa-compconfig.json index a604696..f9c6b68 100644 --- a/assetto-corsa-compconfig.json +++ b/assetto-corsa-compconfig.json @@ -89,7 +89,8 @@ "IncludeInCommandLine":false, "DefaultValue":"85", "Suffix":"connections", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Player Limit", diff --git a/assetto-corsaconfig.json b/assetto-corsaconfig.json index 0666ee2..439d70e 100644 --- a/assetto-corsaconfig.json +++ b/assetto-corsaconfig.json @@ -105,7 +105,8 @@ "IncludeInCommandLine":false, "DefaultValue":"18", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Blacklist Mode", diff --git a/astroneerconfig.json b/astroneerconfig.json index bc0e57e..ed9f32a 100644 --- a/astroneerconfig.json +++ b/astroneerconfig.json @@ -102,7 +102,8 @@ "IncludeInCommandLine":false, "DefaultValue":"8", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Game Save Interval", diff --git a/avorionconfig.json b/avorionconfig.json index 5da25d1..3482878 100644 --- a/avorionconfig.json +++ b/avorionconfig.json @@ -165,7 +165,8 @@ "IncludeInCommandLine":true, "DefaultValue":"10", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Save Interval", diff --git a/broke-protocolconfig.json b/broke-protocolconfig.json index 61a74da..46bbc93 100644 --- a/broke-protocolconfig.json +++ b/broke-protocolconfig.json @@ -62,7 +62,8 @@ "ParamFieldName":"$.players", "IncludeInCommandLine":false, "DefaultValue":"32", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Enable Whitelist", diff --git a/carrier-command2config.json b/carrier-command2config.json index 1b889a6..09b5bc4 100644 --- a/carrier-command2config.json +++ b/carrier-command2config.json @@ -65,7 +65,8 @@ "DefaultValue":"4", "Suffix":"players", "Placeholder":"4", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Island Count", diff --git a/conan-exilesconfig.json b/conan-exilesconfig.json index f0fbf69..8ed10ba 100644 --- a/conan-exilesconfig.json +++ b/conan-exilesconfig.json @@ -106,7 +106,8 @@ "IncludeInCommandLine":false, "DefaultValue":"40", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Server Password", diff --git a/core-keeperconfig.json b/core-keeperconfig.json index 1139045..e07f4f0 100644 --- a/core-keeperconfig.json +++ b/core-keeperconfig.json @@ -81,7 +81,8 @@ "IncludeInCommandLine":true, "DefaultValue":"100", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Connection Mode", diff --git a/craftopiaconfig.json b/craftopiaconfig.json index b4c6351..9308274 100644 --- a/craftopiaconfig.json +++ b/craftopiaconfig.json @@ -63,7 +63,7 @@ }, { "DisplayName": "Max Players", - "Description": "Maximum number of player can join into the server.", + "Description": "Maximum number of player can join into the server. (1-127)", "Category": "Server Settings", "Keywords": "max players", "FieldName": "$MaxUsers", @@ -73,7 +73,9 @@ "IncludeInCommandLine": true, "DefaultValue": "7", "EnumValues": {}, - "suffix": "1-127" + "suffix": "players", + "MinValue":"1", + "MaxValue":"127" }, { "DisplayName": "Enable Password", diff --git a/dont-starve-togetherconfig.json b/dont-starve-togetherconfig.json index 50d01b0..e7a23e1 100644 --- a/dont-starve-togetherconfig.json +++ b/dont-starve-togetherconfig.json @@ -10,7 +10,8 @@ "ParamFieldName": "max_players", "IncludeInCommandLine": false, "DefaultValue": "64", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Tick Rate", diff --git a/ecoconfig.json b/ecoconfig.json index 354a192..50f3fa6 100644 --- a/ecoconfig.json +++ b/ecoconfig.json @@ -137,7 +137,8 @@ "IncludeInCommandLine":false, "DefaultValue":"-1", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"-1" }, { "DisplayName":"Server IP Binding", diff --git a/empyrion-galactic-survivalconfig.json b/empyrion-galactic-survivalconfig.json index b6dceaf..07608f5 100644 --- a/empyrion-galactic-survivalconfig.json +++ b/empyrion-galactic-survivalconfig.json @@ -78,7 +78,8 @@ "ParamFieldName": "ServerConfig.Srv_MaxPlayers", "IncludeInCommandLine": false, "DefaultValue": "8", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Server Description", diff --git a/frozen-flameconfig.json b/frozen-flameconfig.json index 7bd8047..c93ca30 100644 --- a/frozen-flameconfig.json +++ b/frozen-flameconfig.json @@ -37,7 +37,8 @@ "IncludeInCommandLine":false, "DefaultValue":"10", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Disable EasyAntiCheat", diff --git a/hurtworldconfig.json b/hurtworldconfig.json index 664e3f6..8d61d15 100755 --- a/hurtworldconfig.json +++ b/hurtworldconfig.json @@ -51,7 +51,8 @@ "SkipIfEmpty":true, "DefaultValue":"20", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" },{ "DisplayName":"Map", "Category":"Server Settings", diff --git a/insurgencysandstormconfig.json b/insurgencysandstormconfig.json index 713694f..c5c91c9 100644 --- a/insurgencysandstormconfig.json +++ b/insurgencysandstormconfig.json @@ -263,7 +263,8 @@ "ParamFieldName": "MaxPlayers", "IncludeInCommandLine": false, "DefaultValue": "32", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Token", diff --git a/jc3mpconfig.json b/jc3mpconfig.json index 4fdda3e..ede1133 100644 --- a/jc3mpconfig.json +++ b/jc3mpconfig.json @@ -77,7 +77,8 @@ "IncludeInCommandLine": false, "DefaultValue": "20", "EnumValues": {}, - "Suffix":"players" + "Suffix":"players", + "MinValue":"1" }, { "DisplayName": "Password", diff --git a/kaboomconfig.json b/kaboomconfig.json index ee2913c..5f1caee 100644 --- a/kaboomconfig.json +++ b/kaboomconfig.json @@ -120,7 +120,8 @@ "ParamFieldName": "lobbyminplayers", "IncludeInCommandLine": true, "InputType": "number", - "DefaultValue": "4" + "DefaultValue": "4", + "MinValue":"2" }, { "DisplayName": "Lobby hold time", diff --git a/killing-floor-2config.json b/killing-floor-2config.json index 0957450..1447900 100644 --- a/killing-floor-2config.json +++ b/killing-floor-2config.json @@ -135,7 +135,8 @@ "ParamFieldName": "maxplayers", "IncludeInCommandLine": false, "DefaultValue": "6", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Max Spectators", diff --git a/last-oasisconfig.json b/last-oasisconfig.json index 03cce4e..2b32cd4 100644 --- a/last-oasisconfig.json +++ b/last-oasisconfig.json @@ -49,6 +49,7 @@ "ParamFieldName": "slots", "IncludeInCommandLine": false, "DefaultValue": "8", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" } ] diff --git a/longvinterconfig.json b/longvinterconfig.json index de87f7e..ed8410f 100644 --- a/longvinterconfig.json +++ b/longvinterconfig.json @@ -62,7 +62,8 @@ "ParamFieldName":"/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c.MaxPlayers", "IncludeInCommandLine":false, "DefaultValue":"32", - "Suffix":"players" + "Suffix":"players", + "MinValue":"1" }, { "DisplayName":"MOTD", diff --git a/mordhau-config.json b/mordhau-config.json index 394a1ca..705c2ed 100644 --- a/mordhau-config.json +++ b/mordhau-config.json @@ -62,7 +62,8 @@ "ParamFieldName": "/Script/Mordhau.MordhauGameSession.MaxSlots", "IncludeInCommandLine": false, "DefaultValue": "16", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Advertise on Steam", diff --git a/necesseconfig.json b/necesseconfig.json index 74bbe67..b54b36c 100644 --- a/necesseconfig.json +++ b/necesseconfig.json @@ -25,7 +25,9 @@ "IncludeInCommandLine": false, "DefaultValue": "20", "EnumValues": {}, - "Suffix":"players" + "Suffix":"players", + "MinValue":"1", + "MaxValue":"250" }, { "DisplayName": "Password", diff --git a/night-of-the-deadconfig.json b/night-of-the-deadconfig.json index 44e9a0b..1625fe9 100644 --- a/night-of-the-deadconfig.json +++ b/night-of-the-deadconfig.json @@ -63,7 +63,8 @@ "IncludeInCommandLine":false, "DefaultValue":"16", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Save Name", diff --git a/pavlov-vrconfig.json b/pavlov-vrconfig.json index f8a4c08..23aefba 100755 --- a/pavlov-vrconfig.json +++ b/pavlov-vrconfig.json @@ -130,7 +130,8 @@ "IncludeInCommandLine": false, "DefaultValue": "10", "Suffix": "players", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Enable Whitelist", diff --git a/project-zomboidconfig.json b/project-zomboidconfig.json index dbf9f93..7f8510a 100755 --- a/project-zomboidconfig.json +++ b/project-zomboidconfig.json @@ -148,7 +148,8 @@ "IncludeInCommandLine":false, "DefaultValue":"32", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Enable Open Server", diff --git a/risk-of-rain-2config.json b/risk-of-rain-2config.json index 0c29ff6..e430c9e 100644 --- a/risk-of-rain-2config.json +++ b/risk-of-rain-2config.json @@ -36,7 +36,8 @@ "ParamFieldName": "sv_maxplayers", "IncludeInCommandLine": false, "DefaultValue": "4", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Steam Heartbeat", diff --git a/squad-dedicated-serverconfig.json b/squad-dedicated-serverconfig.json index b862ded..b881b4e 100644 --- a/squad-dedicated-serverconfig.json +++ b/squad-dedicated-serverconfig.json @@ -34,7 +34,8 @@ "ParamFieldName": "MaxPlayers", "IncludeInCommandLine": false, "DefaultValue": "100", - "Suffix":"players" + "Suffix":"players", + "MinValue":"1" }, { "DisplayName": "LAN Mode", diff --git a/starboundconfig.json b/starboundconfig.json index 38cea7f..48b2d35 100644 --- a/starboundconfig.json +++ b/starboundconfig.json @@ -22,8 +22,9 @@ "IsFlagArgument": false, "ParamFieldName": "maxPlayers", "IncludeInCommandLine": false, - "DefaultValue": "", - "Placeholder": "8" + "DefaultValue": "8", + "Placeholder": "8", + "MinValue":"1" }, { "DisplayName": "Server Port", diff --git a/stationeers-legacyconfig.json b/stationeers-legacyconfig.json index 512072f..bcef3fb 100644 --- a/stationeers-legacyconfig.json +++ b/stationeers-legacyconfig.json @@ -62,7 +62,8 @@ "ParamFieldName": "SERVER.MAXPLAYER", "IncludeInCommandLine": false, "DefaultValue": "20", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Creator", diff --git a/stationeersconfig.json b/stationeersconfig.json index 1e34959..9f61c2c 100644 --- a/stationeersconfig.json +++ b/stationeersconfig.json @@ -92,7 +92,8 @@ "IncludeInCommandLine":true, "SkipIfEmpty":true, "DefaultValue":"10", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Load Mode", diff --git a/terrariaconfig.json b/terrariaconfig.json index ad69d7f..8b8caff 100644 --- a/terrariaconfig.json +++ b/terrariaconfig.json @@ -108,7 +108,8 @@ "suffix": "Users", "InputType": "number", "IncludeInCommandLine": false, - "DefaultValue": 8 + "DefaultValue": "8", + "MinValue":"1" }, { "DisplayName": "Password", diff --git a/the-forestconfig.json b/the-forestconfig.json index 24507e6..36fa916 100644 --- a/the-forestconfig.json +++ b/the-forestconfig.json @@ -82,7 +82,8 @@ "DefaultValue": "4", "Placeholder": "4", "Suffix": "Players", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Server Password", diff --git a/theisle-evrimaconfig.json b/theisle-evrimaconfig.json index 1b34829..80a9a62 100644 --- a/theisle-evrimaconfig.json +++ b/theisle-evrimaconfig.json @@ -90,7 +90,8 @@ "IncludeInCommandLine":false, "DefaultValue":"50", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Player Limit", diff --git a/theisle-legacyconfig.json b/theisle-legacyconfig.json index 916ef22..5ac4e0e 100644 --- a/theisle-legacyconfig.json +++ b/theisle-legacyconfig.json @@ -170,7 +170,8 @@ "IncludeInCommandLine":false, "DefaultValue":"50", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Enable Player Name Tags", diff --git a/tmodloader14config.json b/tmodloader14config.json index fa17d92..ccf8363 100644 --- a/tmodloader14config.json +++ b/tmodloader14config.json @@ -145,7 +145,8 @@ "suffix": "Users", "InputType": "number", "IncludeInCommandLine": false, - "DefaultValue": 8 + "DefaultValue": "8", + "MinValue":"1" }, { "DisplayName": "Password", diff --git a/tmodloaderconfig.json b/tmodloaderconfig.json index f2a0e9d..f904087 100644 --- a/tmodloaderconfig.json +++ b/tmodloaderconfig.json @@ -143,7 +143,8 @@ "suffix": "Users", "InputType": "number", "IncludeInCommandLine": false, - "DefaultValue": 8 + "DefaultValue": "8", + "MinValue":"1" }, { "DisplayName": "Password", diff --git a/unturnedconfig.json b/unturnedconfig.json index 567bdb9..cd2dd53 100644 --- a/unturnedconfig.json +++ b/unturnedconfig.json @@ -147,7 +147,8 @@ "IncludeInCommandLine": false, "DefaultValue": "10", "Suffix": "players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName": "Map", diff --git a/ut2004config.json b/ut2004config.json index 9848ecf..bf68a1c 100644 --- a/ut2004config.json +++ b/ut2004config.json @@ -164,7 +164,8 @@ "IncludeInCommandLine":false, "DefaultValue":"16", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Spectator Limit", diff --git a/ut99config.json b/ut99config.json index 8ba38bd..167ba01 100644 --- a/ut99config.json +++ b/ut99config.json @@ -134,7 +134,8 @@ "IncludeInCommandLine":false, "DefaultValue":"10", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Spectator Limit", diff --git a/v-risingconfig.json b/v-risingconfig.json index 5fa8a47..51f71c1 100644 --- a/v-risingconfig.json +++ b/v-risingconfig.json @@ -123,7 +123,8 @@ "IsFlagArgument": false, "ParamFieldName": "MaxConnectedUsers", "IncludeInCommandLine": false, - "Suffix": "players" + "Suffix": "players", + "MinValue":"1" }, { "DisplayName": "Max Connected Admins", diff --git a/velorenconfig.json b/velorenconfig.json index d86bc9d..2876355 100644 --- a/velorenconfig.json +++ b/velorenconfig.json @@ -50,6 +50,7 @@ "IncludeInCommandLine":false, "DefaultValue":"100", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" } ] diff --git a/vintage-storyconfig.json b/vintage-storyconfig.json index 6088f64..ffa7313 100644 --- a/vintage-storyconfig.json +++ b/vintage-storyconfig.json @@ -80,7 +80,8 @@ "IncludeInCommandLine":false, "DefaultValue":"16", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Enable Whitelist", diff --git a/wreckfestconfig.json b/wreckfestconfig.json index 79469d1..7b5aef2 100644 --- a/wreckfestconfig.json +++ b/wreckfestconfig.json @@ -89,7 +89,8 @@ "IncludeInCommandLine":false, "DefaultValue":"24", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Exclude Quick Match Users", diff --git a/wurm-unlimitedconfig.json b/wurm-unlimitedconfig.json index 251f858..6078756 100644 --- a/wurm-unlimitedconfig.json +++ b/wurm-unlimitedconfig.json @@ -48,7 +48,8 @@ "ParamFieldName": "maxplayers", "IncludeInCommandLine": true, "DefaultValue": "100", - "EnumValues": {} + "EnumValues": {}, + "MinValue":"1" }, { "DisplayName": "Game Mode", diff --git a/xonoticconfig.json b/xonoticconfig.json index 4fd5220..584b28b 100755 --- a/xonoticconfig.json +++ b/xonoticconfig.json @@ -137,7 +137,8 @@ "IncludeInCommandLine":false, "DefaultValue":"8", "Suffix":"players", - "EnumValues":{} + "EnumValues":{}, + "MinValue":"1" }, { "DisplayName":"Game Start Delay",