Update MinValue for all player counts (#269)

This is to address https://github.com/CubeCoders/AMP/issues/803
This commit is contained in:
IceOfWraith 2023-01-02 13:49:55 -06:00 committed by GitHub
parent d421d1b8f6
commit f3d6d584b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
45 changed files with 94 additions and 47 deletions

View File

@ -89,7 +89,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"85", "DefaultValue":"85",
"Suffix":"connections", "Suffix":"connections",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Player Limit", "DisplayName":"Player Limit",

View File

@ -105,7 +105,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"18", "DefaultValue":"18",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Blacklist Mode", "DisplayName":"Blacklist Mode",

View File

@ -102,7 +102,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"8", "DefaultValue":"8",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Game Save Interval", "DisplayName":"Game Save Interval",

View File

@ -165,7 +165,8 @@
"IncludeInCommandLine":true, "IncludeInCommandLine":true,
"DefaultValue":"10", "DefaultValue":"10",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Save Interval", "DisplayName":"Save Interval",

View File

@ -62,7 +62,8 @@
"ParamFieldName":"$.players", "ParamFieldName":"$.players",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"32", "DefaultValue":"32",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Enable Whitelist", "DisplayName":"Enable Whitelist",

View File

@ -65,7 +65,8 @@
"DefaultValue":"4", "DefaultValue":"4",
"Suffix":"players", "Suffix":"players",
"Placeholder":"4", "Placeholder":"4",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Island Count", "DisplayName":"Island Count",

View File

@ -106,7 +106,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"40", "DefaultValue":"40",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Server Password", "DisplayName":"Server Password",

View File

@ -81,7 +81,8 @@
"IncludeInCommandLine":true, "IncludeInCommandLine":true,
"DefaultValue":"100", "DefaultValue":"100",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Connection Mode", "DisplayName":"Connection Mode",

View File

@ -63,7 +63,7 @@
}, },
{ {
"DisplayName": "Max Players", "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", "Category": "Server Settings",
"Keywords": "max players", "Keywords": "max players",
"FieldName": "$MaxUsers", "FieldName": "$MaxUsers",
@ -73,7 +73,9 @@
"IncludeInCommandLine": true, "IncludeInCommandLine": true,
"DefaultValue": "7", "DefaultValue": "7",
"EnumValues": {}, "EnumValues": {},
"suffix": "1-127" "suffix": "players",
"MinValue":"1",
"MaxValue":"127"
}, },
{ {
"DisplayName": "Enable Password", "DisplayName": "Enable Password",

View File

@ -10,7 +10,8 @@
"ParamFieldName": "max_players", "ParamFieldName": "max_players",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "64", "DefaultValue": "64",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Tick Rate", "DisplayName": "Tick Rate",

View File

@ -137,7 +137,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"-1", "DefaultValue":"-1",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"-1"
}, },
{ {
"DisplayName":"Server IP Binding", "DisplayName":"Server IP Binding",

View File

@ -78,7 +78,8 @@
"ParamFieldName": "ServerConfig.Srv_MaxPlayers", "ParamFieldName": "ServerConfig.Srv_MaxPlayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "8", "DefaultValue": "8",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Server Description", "DisplayName": "Server Description",

View File

@ -37,7 +37,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"10", "DefaultValue":"10",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Disable EasyAntiCheat", "DisplayName":"Disable EasyAntiCheat",

View File

@ -51,7 +51,8 @@
"SkipIfEmpty":true, "SkipIfEmpty":true,
"DefaultValue":"20", "DefaultValue":"20",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
},{ },{
"DisplayName":"Map", "DisplayName":"Map",
"Category":"Server Settings", "Category":"Server Settings",

View File

@ -263,7 +263,8 @@
"ParamFieldName": "MaxPlayers", "ParamFieldName": "MaxPlayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "32", "DefaultValue": "32",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Token", "DisplayName": "Token",

View File

@ -77,7 +77,8 @@
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "20", "DefaultValue": "20",
"EnumValues": {}, "EnumValues": {},
"Suffix":"players" "Suffix":"players",
"MinValue":"1"
}, },
{ {
"DisplayName": "Password", "DisplayName": "Password",

View File

@ -120,7 +120,8 @@
"ParamFieldName": "lobbyminplayers", "ParamFieldName": "lobbyminplayers",
"IncludeInCommandLine": true, "IncludeInCommandLine": true,
"InputType": "number", "InputType": "number",
"DefaultValue": "4" "DefaultValue": "4",
"MinValue":"2"
}, },
{ {
"DisplayName": "Lobby hold time", "DisplayName": "Lobby hold time",

View File

@ -135,7 +135,8 @@
"ParamFieldName": "maxplayers", "ParamFieldName": "maxplayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "6", "DefaultValue": "6",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Max Spectators", "DisplayName": "Max Spectators",

View File

@ -49,6 +49,7 @@
"ParamFieldName": "slots", "ParamFieldName": "slots",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "8", "DefaultValue": "8",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
} }
] ]

View File

@ -62,7 +62,8 @@
"ParamFieldName":"/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c.MaxPlayers", "ParamFieldName":"/game/blueprints/server/gi_advancedsessions.gi_advancedsessions_c.MaxPlayers",
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"32", "DefaultValue":"32",
"Suffix":"players" "Suffix":"players",
"MinValue":"1"
}, },
{ {
"DisplayName":"MOTD", "DisplayName":"MOTD",

View File

@ -62,7 +62,8 @@
"ParamFieldName": "/Script/Mordhau.MordhauGameSession.MaxSlots", "ParamFieldName": "/Script/Mordhau.MordhauGameSession.MaxSlots",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "16", "DefaultValue": "16",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Advertise on Steam", "DisplayName": "Advertise on Steam",

View File

@ -25,7 +25,9 @@
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "20", "DefaultValue": "20",
"EnumValues": {}, "EnumValues": {},
"Suffix":"players" "Suffix":"players",
"MinValue":"1",
"MaxValue":"250"
}, },
{ {
"DisplayName": "Password", "DisplayName": "Password",

View File

@ -63,7 +63,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"16", "DefaultValue":"16",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Save Name", "DisplayName":"Save Name",

View File

@ -130,7 +130,8 @@
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "10", "DefaultValue": "10",
"Suffix": "players", "Suffix": "players",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Enable Whitelist", "DisplayName": "Enable Whitelist",

View File

@ -148,7 +148,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"32", "DefaultValue":"32",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Enable Open Server", "DisplayName":"Enable Open Server",

View File

@ -36,7 +36,8 @@
"ParamFieldName": "sv_maxplayers", "ParamFieldName": "sv_maxplayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "4", "DefaultValue": "4",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Steam Heartbeat", "DisplayName": "Steam Heartbeat",

View File

@ -34,7 +34,8 @@
"ParamFieldName": "MaxPlayers", "ParamFieldName": "MaxPlayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "100", "DefaultValue": "100",
"Suffix":"players" "Suffix":"players",
"MinValue":"1"
}, },
{ {
"DisplayName": "LAN Mode", "DisplayName": "LAN Mode",

View File

@ -22,8 +22,9 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "maxPlayers", "ParamFieldName": "maxPlayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "", "DefaultValue": "8",
"Placeholder": "8" "Placeholder": "8",
"MinValue":"1"
}, },
{ {
"DisplayName": "Server Port", "DisplayName": "Server Port",

View File

@ -62,7 +62,8 @@
"ParamFieldName": "SERVER.MAXPLAYER", "ParamFieldName": "SERVER.MAXPLAYER",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "20", "DefaultValue": "20",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Creator", "DisplayName": "Creator",

View File

@ -92,7 +92,8 @@
"IncludeInCommandLine":true, "IncludeInCommandLine":true,
"SkipIfEmpty":true, "SkipIfEmpty":true,
"DefaultValue":"10", "DefaultValue":"10",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Load Mode", "DisplayName":"Load Mode",

View File

@ -108,7 +108,8 @@
"suffix": "Users", "suffix": "Users",
"InputType": "number", "InputType": "number",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": 8 "DefaultValue": "8",
"MinValue":"1"
}, },
{ {
"DisplayName": "Password", "DisplayName": "Password",

View File

@ -82,7 +82,8 @@
"DefaultValue": "4", "DefaultValue": "4",
"Placeholder": "4", "Placeholder": "4",
"Suffix": "Players", "Suffix": "Players",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Server Password", "DisplayName": "Server Password",

View File

@ -90,7 +90,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"50", "DefaultValue":"50",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Player Limit", "DisplayName":"Player Limit",

View File

@ -170,7 +170,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"50", "DefaultValue":"50",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Enable Player Name Tags", "DisplayName":"Enable Player Name Tags",

View File

@ -145,7 +145,8 @@
"suffix": "Users", "suffix": "Users",
"InputType": "number", "InputType": "number",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": 8 "DefaultValue": "8",
"MinValue":"1"
}, },
{ {
"DisplayName": "Password", "DisplayName": "Password",

View File

@ -143,7 +143,8 @@
"suffix": "Users", "suffix": "Users",
"InputType": "number", "InputType": "number",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": 8 "DefaultValue": "8",
"MinValue":"1"
}, },
{ {
"DisplayName": "Password", "DisplayName": "Password",

View File

@ -147,7 +147,8 @@
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "10", "DefaultValue": "10",
"Suffix": "players", "Suffix": "players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName": "Map", "DisplayName": "Map",

View File

@ -164,7 +164,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"16", "DefaultValue":"16",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Spectator Limit", "DisplayName":"Spectator Limit",

View File

@ -134,7 +134,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"10", "DefaultValue":"10",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Spectator Limit", "DisplayName":"Spectator Limit",

View File

@ -123,7 +123,8 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "MaxConnectedUsers", "ParamFieldName": "MaxConnectedUsers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"Suffix": "players" "Suffix": "players",
"MinValue":"1"
}, },
{ {
"DisplayName": "Max Connected Admins", "DisplayName": "Max Connected Admins",

View File

@ -50,6 +50,7 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"100", "DefaultValue":"100",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
} }
] ]

View File

@ -80,7 +80,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"16", "DefaultValue":"16",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Enable Whitelist", "DisplayName":"Enable Whitelist",

View File

@ -89,7 +89,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"24", "DefaultValue":"24",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Exclude Quick Match Users", "DisplayName":"Exclude Quick Match Users",

View File

@ -48,7 +48,8 @@
"ParamFieldName": "maxplayers", "ParamFieldName": "maxplayers",
"IncludeInCommandLine": true, "IncludeInCommandLine": true,
"DefaultValue": "100", "DefaultValue": "100",
"EnumValues": {} "EnumValues": {},
"MinValue":"1"
}, },
{ {
"DisplayName": "Game Mode", "DisplayName": "Game Mode",

View File

@ -137,7 +137,8 @@
"IncludeInCommandLine":false, "IncludeInCommandLine":false,
"DefaultValue":"8", "DefaultValue":"8",
"Suffix":"players", "Suffix":"players",
"EnumValues":{} "EnumValues":{},
"MinValue":"1"
}, },
{ {
"DisplayName":"Game Start Delay", "DisplayName":"Game Start Delay",